SA-MP Forums Archive
2 timers vs 1 (small) timer - 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: 2 timers vs 1 (small) timer (/showthread.php?tid=392750)



2 timers vs 1 (small) timer - Ghemon - 15.11.2012

Every timer in the server causes lag, but i want to know if is better do a timer with all code or two timers

16 natives, 3 stock functions. 66 lines of code. (With foreach)

I have decited to add all to one timer because the code of the first time is very small (just label update) so i added money refresh in the timer.. I want to know the better way to do this. Thanks


Re: 2 timers vs 1 (small) timer - HuSs3n - 15.11.2012

this might help you
https://sampforum.blast.hk/showthread.php?tid=61322