Code:
forward DeceraseWantedLevel(playerid);
public DecreaseWantedLevel(playerid)
{
new level = GetPlayerWantedLevel(playerid);
if(!level)
return;
SetPlayerWantedLevel(playerid, --level);
}
// Somewhere in your script
SetTimerEx("DecreaseWantedLevel", true, 5 * 1000, "d", playerid);
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.