SA-MP Forums Archive
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=609277)



Timer Problem - Ugaustin - 10.06.2016

why does my timer go okay at first, then it goes very fast. and no update anything..

farmer = SetTimerEx("SetFarmer ", 1000, 1, "d", playerid);


.. goes fast and faster.. from normal to fast and faster.. why??how can I fix?


Re: Timer Problem - Stinged - 10.06.2016

If I understood what you're asking correctly, then this should fix it:
https://sampforum.blast.hk/showthread.php?tid=435525
or
https://sampforum.blast.hk/showthread.php?tid=571505

Timers are bugged, their interval isn't accurate (It's about 20-25% off)


Re: Timer Problem - Ugaustin - 10.06.2016

why is it bugged??why timer got bugged??


Re: Timer Problem - Vince - 10.06.2016

Means you're creating more and more timers without killing off the other ones which will eventually result in dozens of timers, firing one after the other at different intervals.