question about timers.
#1

They are lagging the server?
Reply
#2

Depends.
Reply
#3

If you have a lot of complex stuff in it and if it gets executed too often - yes.

Having a lot of timers isn't good either. I suggest you use UNIX timestamps for cooldowns and such to reduce the number of timers in the script. There are tons of tutorials on UNIX timestamps in these forums.
Reply
#4

Depends on your computer power and the refresh rate of timers (the time in which it repeats itself).
Reply
#5

As Mr_DjolE said, it depends. Using a lot of timers will cause server-lag especially, if they execute at the same time, and you should use timestamps in anything can be replaced the timer. By the way, I've read that it's better to use more timers with less code inside, instead of a timer with too many code inside.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)