Local & Global timers
#5

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!
Reply


Messages In This Thread
Local & Global timers - by xClown - 14.09.2015, 17:47
Re: Local & Global timers - by xClown - 14.09.2015, 23:57
Re: Local & Global timers - by sanamalik400 - 15.09.2015, 00:01
AW: Local & Global timers - by Kaliber - 15.09.2015, 00:47
Re: Local & Global timers - by Scenario - 15.09.2015, 01:22

Forum Jump:


Users browsing this thread: 1 Guest(s)