Question about timers..
#1

Well, I have this timers:

pawn Код:
SetTimer("AreaUpdate", 2000, 1);
SetTimer("VHPBarUpdate", 1000, 1);
SetTimer("WeatherRefresh", 300000 , 1);
SetTimer("UpdateTime", 1000, 1);
SetTimer("ZonesPay", 600000 , 1);
SetTimer("TimeUpdate", 950, 1);
My question is: I have 3 timers of 1 sec, if I just put all the script in one timer, that would help on performance side?
Thanks
Reply
#2

Quote:
Originally Posted by Fedee!
Посмотреть сообщение
Well, I have this timers:

pawn Код:
SetTimer("AreaUpdate", 2000, 1);
SetTimer("VHPBarUpdate", 1000, 1);
SetTimer("WeatherRefresh", 300000 , 1);
SetTimer("UpdateTime", 1000, 1);
SetTimer("ZonesPay", 600000 , 1);
SetTimer("TimeUpdate", 950, 1);
My question is: I have 3 timers of 1 sec, if I just put all the script in one timer, that would help on performance side?
Thanks
I'd think imo, it would be better just to use those multiple timers. At times, you will need to use more then 1 timer, and not optimize.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)