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: Timers (
/showthread.php?tid=572624)
Timers -
AroseKhanNiazi - 30.04.2015
My per second timer gets to per milli second randomly..
Re: Timers -
Ghazal - 30.04.2015
I dont get what do you mean but, SetTimer should be like: SetTimer(funcname[], interval, repeating);
interval = milliseconds
Re: Timers -
AroseKhanNiazi - 30.04.2015
As i set the timer of of 1sec i.e = 1000 milliseconds it works fine for some time after that it gets bugged and start getting executed after each millisecond
Re: Timers -
Banana_Ghost - 30.04.2015
This sounds more like the timer is being started over and over again.
Re: Timers -
sammp - 30.04.2015
Sounds more like the timer is in a loop^
Re: Timers -
AroseKhanNiazi - 26.05.2015
timer has many loops inside the function but it's not inside a loop when it is started.