doubt with the timers - 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: doubt with the timers (
/showthread.php?tid=660666)
doubt with the timers -
darkHero - 09.11.2018
It is always necessary to kill the timers even if the repetition is false or only kill them when they are with the repetition activated
I ask it so I do not have to add a variable for each timer that I have to kill.
Re: doubt with the timers -
Nero_3D - 09.11.2018
No, only if you want to stop a running timer
If a timer already finished and isn't repeating the timerid is forever lost
Because timerids always increase and never reset while the server is running
Re: doubt with the timers -
darkHero - 09.11.2018
Thanks, I asked this question because I saw a gamemode that killed the timers although their repetition was false and that caused me doubt.