Timers
#5

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
pawn Код:
// Top of GM

new TimerKilling;

// Timer

TimerKilling = SetTimerEx(....);

// OnGameModeExit

KillTimer(TimerKilling);
To kill the timer, you have to define a variable.
He's asking why not how!

@ Question: Yes, I think it gets killed already on exit. So you don't have to kill it OnGameModeExit (That's how all my codes go, I never had to kill a timer on exit).
Reply


Messages In This Thread
Timers - by CoDeZ - 06.07.2012, 15:31
Re: Timers - by .FuneraL. - 06.07.2012, 15:34
Re: Timers - by CoDeZ - 06.07.2012, 15:39
Re: Timers - by .FuneraL. - 06.07.2012, 15:40
Re: Timers - by [KHK]Khalid - 06.07.2012, 15:40
Re: Timers - by LaGrande - 06.07.2012, 16:01

Forum Jump:


Users browsing this thread: 2 Guest(s)