KillTimer
#3

there's quite a few things I'd like to point out there.

Quote:

SetTimerEx("DrugHealth", 5_000, true, "if", playerid, h);

5_000? what's that? lol, shouldn't it be 5000?

second of all:

when you wanna kill a timer, you should define it first, like
pawn Код:
new Timer[ MAX_PLAYERS char ];
Timer{ playerid } = SetTimerEx( ... );

// then in the drughealthdone:
KillTimer( Timer{ playerid } );
Reply


Messages In This Thread
KillTimer - by SnG.Scot_MisCuDI - 15.07.2014, 18:58
Re: KillTimer - by Blast3r - 15.07.2014, 19:00
Re: KillTimer - by Smileys - 15.07.2014, 19:00
Re: KillTimer - by SnG.Scot_MisCuDI - 15.07.2014, 19:14

Forum Jump:


Users browsing this thread: 2 Guest(s)