[HELP] Problem SetTimer - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] Problem SetTimer (
/showthread.php?tid=349059)
[HELP] Problem SetTimer -
[NWD]Jim._.Carrey - 07.06.2012
Hello, I have a serious problem.
My game has 5 OnGameModeInit timer started, but have no function to kill them, but some of them with a certain amount of time online server end up dying alone without function to kills them, what can it be? How can I find a way not to kill the timer started by OnGameModeInit.
I'm 2 weeks trying to solve this problem and so far nothing if anyone knows a way to do away with this I will be thankful.
Respuesta: [HELP] Problem SetTimer -
[NWD]Jim._.Carrey - 07.06.2012
Someome? =\
Re: [HELP] Problem SetTimer -
Littlehelper - 07.06.2012
On 'OnGameModeExit' callback,
use KillTimer(YourTimerName);
EDIT: i think i mis-read what you wanted.
use SetTimer(timerid,time,1);
if you set 1, it means it will repeat the timer.
I think thats what you said right?
Respuesta: [HELP] Problem SetTimer -
[NWD]Jim._.Carrey - 07.06.2012
You did not understand my problem = \
Re: [HELP] Problem SetTimer -
mati233 - 07.06.2012
Can you post the code of the timers that are stopping?
Respuesta: [HELP] Problem SetTimer -
[NWD]Jim._.Carrey - 08.06.2012
Nгo hб nada errado em pъblico, tenho certeza, й algo que fazer o timer da iniciada pelo GM para morrer, eu quero uma soluзгo para nгo matar o temporizador iniciaod pela GM.