SA-MP Forums Archive
Settimer - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Settimer (/showthread.php?tid=66160)



Settimer - nico005 - 20.02.2009

hi ,

Question: For best stability, choice 1 : in the OnGameModeInit, 5 SetTimer of 1 second with loop( 50 lines each) or, choice 2, 1 SetTimer with loop of 1 second with +250 lines.

thank


Re: Settimer - Grim_ - 20.02.2009

well in my script i have like 9 timers with about 30 lines each. And it shows no affect on the server running.


Re: Settimer - tehcudguy - 20.02.2009

I don't see why you would want to add 5 timers for one function? Doing it in one timer would be better.


Re: Settimer - nico005 - 20.02.2009

just a example. but one settimer with loop all 1 sc with + 500 or 1000 lines. In 1 sc , the server can all to read? It's for that, i says, maybe divide the timer


Re: Settimer - tehcudguy - 20.02.2009

No it isnt good to divide the timer, having it all on one timer is better.


Re: Settimer - Donny_k - 20.02.2009

Read THIS, it's a post ****** made about timers which explains a few things.