29.06.2012, 02:48
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
}