Timers are not killing!
#4

You need to store the timer into an array. The way it is now, it's storing the timer for every player in one variable so that's the reason for your problems.

pawn Код:
new killwepdep[MAX_PLAYERS]; //Top of script

KillTimer(killwepdep[playerid]); //Kill only the player's timer

killwepdep[playerid] = SetTimerEx("WepDep", 300000, false,"i",playerid);//Store the player's timer in the array.
Reply


Messages In This Thread
Timers are not killing! - by cloudysky - 11.07.2011, 23:16
Re: Timers are not killing! - by Scenario - 11.07.2011, 23:24
Re: Timers are not killing! - by cloudysky - 11.07.2011, 23:25
Re: Timers are not killing! - by PotH3Ad - 11.07.2011, 23:30
Re: Timers are not killing! - by cloudysky - 11.07.2011, 23:46
Re: Timers are not killing! - by PotH3Ad - 11.07.2011, 23:48

Forum Jump:


Users browsing this thread: 1 Guest(s)