KILLTIMER
#4

My god use proper variables.....

Код:
new WantedLevelDown[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
      WantedLevelDown[playerid] = SetTimerEx("WantedLevelDown", 120000, 1, "i", playerid);
You'll also want to use about 268200 if you want 5 minutes.

Anyways back to your original question, you could remove the KillTimers and only kill it when they disconnect this will keep checking their wanted level every 5 minutes or you could kill the timer when it reaches 0 then restart it where in the code you give them a wanted level pretty simple.
Reply


Messages In This Thread
KILLTIMER - by dansr - 06.04.2013, 04:13
Re: KILLTIMER - by JaKe Elite - 06.04.2013, 04:16
Re: KILLTIMER - by dansr - 06.04.2013, 04:23
Re: KILLTIMER - by Pottus - 06.04.2013, 05:01
Re: KILLTIMER - by dansr - 06.04.2013, 05:10
Re: KILLTIMER - by Pottus - 06.04.2013, 05:13
Re: KILLTIMER - by dansr - 06.04.2013, 05:14
Re: KILLTIMER - by Pottus - 06.04.2013, 05:16
Re: KILLTIMER - by dansr - 06.04.2013, 05:19

Forum Jump:


Users browsing this thread: 1 Guest(s)