Timer Problem - 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: Timer Problem (
/showthread.php?tid=660378)
Timer Problem -
lacosta175 - 01.11.2018
Hello there,
How can i do this i dont understand it
"Timer ID variables should be initialized to -1 when they can to minimise the chance of accidentally killing timer ID 0 by mistake (or use timer ID 0 up at the start of OnGameModeInit)."
Re: Timer Problem -
TheToretto - 01.11.2018
When you
Assign to it a negative value such as -1, just to avoid killing another timer with that same ID.
Re: Timer Problem -
lacosta175 - 01.11.2018
Can you give a example