Quote:
Originally Posted by axxelac
idk if you could do this :
pawn Код:
new hasatimer[MAX_PLAYERS]; new timer; forward timer(playerid, wanted);
public OnPlayerUpdate { new wanted; wanted = GetPlayerWantedLevel(playerid); if(wanted >= 3) { timer = SetTimerEx("timer", 10000, true, "ud", playerid, wantedlevel); } else if(wanted == 0 && hasatimer[playerid] == 1) { KillTimer(timer); } }
public timer(playerid, wantedlevel) { hasatimer[playerid] = 1; ///Your Loose Wanted }
|
isnt putting it under OnPlayerUpdate not necessary (MP2)