24.04.2011, 09:02
Hey everyone, good morning
ok, here's my problem, i've this timer to resetweapons every single second that a player is in a fun zone, and that timer is automaticly disabled when the player goes to dm.
here's the code
I can't see where's the problem, and the Server get's offline when i turn it on.
ok, here's my problem, i've this timer to resetweapons every single second that a player is in a fun zone, and that timer is automaticly disabled when the player goes to dm.
here's the code
Код:
new GunTimer1; forward GunTimer(playerid); public GunTimer(playerid) { ResetPlayerWeapons(playerid); } forward GunTimerOn(playerid); public GunTimerOn(playerid) { GunTimer1 = SetTimerEx("GunTimer", 1000, 1); } forward GunTimerOff(playerid); public GunTimerOff(playerid) { KillTimer(GunTimer1); }