03.06.2014, 05:25
How can i make a timer that will reduce a players wanted level every minute ?
Something like
Would this work ? If not , provide me a working code (If you want).
Thanks .
Something like
pawn Код:
public OnPlayerUpdate(playerid);
{
if(GetPlayerWantedLevel(playerid, >=1)
{
SetTimerEx("ReduceWantedLevel", 60000, false, "i", playerid);
}
return 1;
}
forward ReduceWantedLevel(playerid)
Public ReduceWantedLevel(playerid);
{
if(GetPlayerWantedLevel(playerid, >=1)
{
SetPlayerWantedLevel(playerid,-1);
}
return 1;
}
Thanks .