KillTimerEx
#8

Quote:
Originally Posted by ivex
View Post
yes it is so you do like this

new timer[MAX_PLAYERS];

timer[playerid] = SetTimerEx("fnc", 2000, true, "i", playerid);

KillTimer(timer[playerid]);

that will kill timer for just specific ID !
Yeah I thought of that,
but hey, I just thought of something else (Yes I always seem to find solutions to my problems when I ask for It..)

It's made like this;

pawn Code:
forward Timer(playerid);

SetTimerEx("Timer",milliseconds,0,"i",playerid);
So would KillTimer(Timer(playerid)); stop it for that player only?
It compiles fine so, I just wondered.
Reply


Messages In This Thread
KillTimerEx - by Mike Garber - 08.08.2010, 20:15
Re: KillTimerEx - by (.Aztec); - 08.08.2010, 20:17
Re: KillTimerEx - by Mike Garber - 08.08.2010, 20:19
Re: KillTimerEx - by (.Aztec); - 08.08.2010, 20:21
Re: KillTimerEx - by ivex - 08.08.2010, 20:22
Re: KillTimerEx - by Mike Garber - 08.08.2010, 20:23
Re: KillTimerEx - by JaTochNietDan - 08.08.2010, 20:25
Re: KillTimerEx - by Mike Garber - 08.08.2010, 20:26
Re: KillTimerEx - by [XST]O_x - 08.08.2010, 20:37
Re: KillTimerEx - by JaTochNietDan - 08.08.2010, 20:42

Forum Jump:


Users browsing this thread: 1 Guest(s)