SetTimer vs SetTimerEx
#7

Quote:
Originally Posted by cessil
Посмотреть сообщение
you gotta think how many functions are going off per player and what they are, I'm sure it'd be fine to have one timer and loop but if you have heaps of functions inside then you should use a timer per player
More timers cause more lag, even if the functons they call don't retain that much code. I remember in 0.2x I locked up my server when I had 24 timers running simeltanously to move objects, when I was with serverFFS also - before they turned to shit.

I'd recommend option 1, I always use it.
Reply


Messages In This Thread
SetTimer vs SetTimerEx - by Scottas - 05.06.2011, 22:12
Re: SetTimer vs SetTimerEx - by Gamer_Z - 05.06.2011, 22:34
Re: SetTimer vs SetTimerEx - by linuxthefish - 05.06.2011, 22:41
Re: SetTimer vs SetTimerEx - by Scottas - 06.06.2011, 04:29
Re: SetTimer vs SetTimerEx - by Donya - 06.06.2011, 04:32
Re: SetTimer vs SetTimerEx - by cessil - 06.06.2011, 04:59
Re: SetTimer vs SetTimerEx - by Calgon - 06.06.2011, 07:28
Re: SetTimer vs SetTimerEx - by cessil - 06.06.2011, 09:32
Re: SetTimer vs SetTimerEx - by Scottas - 06.06.2011, 14:23
Re: SetTimer vs SetTimerEx - by Calgon - 06.06.2011, 15:42

Forum Jump:


Users browsing this thread: 1 Guest(s)