Posts: 22
Threads: 9
Joined: Aug 2015
Reputation:
0
I wonder,
When use a global timer, and when use a local timer?
What's a local timer? What's a global timer?
Posts: 171
Threads: 33
Joined: Sep 2015
Reputation:
0
..maybe no good scripters online now..i m also waiting for help :P
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
Just remember that if you run too many timers, it's going to cause some optimization problems. Don't have a global timer that runs every 5 seconds and does a MAX_PLAYERS or MAX_VEHICLES loop. And if for some stupid reason you ARE doing that- use y_iterate (foreach) and y_timers. I use y_timers on my own mode and while switching to that as opposed to SetTimer() may be daunting at first- don't fret; it's a lot better!