when to use SetTimer, SetTimerEx and KillTimer
#2

Look them up on wiki.

Basically, SetTimerEx is SetTimer with parameters, if you want to send random messages to everybody etc. then SetTimer is enough, but when you want a timer to be only for 1 person, you use SetTimerEx. KillTimer is used to kill a timer, like stop it working.

Like:
pawn Код:
new timerid123 = SetTimer("SendRandomMessage", 1000*30*7, true);
KillTimer(timerid123);
Reply


Messages In This Thread
when to use SetTimer, SetTimerEx and KillTimer - by NewbieScripter - 26.08.2012, 19:26
Re: when to use SetTimer, SetTimerEx and KillTimer - by Dan. - 26.08.2012, 19:28
Re: when to use SetTimer, SetTimerEx and KillTimer - by TaLhA XIV - 26.08.2012, 19:29
Re: when to use SetTimer, SetTimerEx and KillTimer - by NewbieScripter - 26.08.2012, 19:30

Forum Jump:


Users browsing this thread: 1 Guest(s)