07.10.2012, 22:46
Hey all..
Okay so, i use ONE timer in my entire script, and it accounts for everything including saving players scores, money etc.
My timer is: SetTimer("kscore", 180000, true);
It is called every 3 minutes.
My question is, as this timer is under OnGameModeInit, i currently NEVER stop/kill it...Should it be stopped at some point? Is there a way to completely stop it, and restart it - hence reducing excess CPU usage etc.
My server is optimized to its maximum, except for this damn timer..
any help would be much appreciated.
Many thanks,
Trooper
Okay so, i use ONE timer in my entire script, and it accounts for everything including saving players scores, money etc.
My timer is: SetTimer("kscore", 180000, true);
It is called every 3 minutes.
My question is, as this timer is under OnGameModeInit, i currently NEVER stop/kill it...Should it be stopped at some point? Is there a way to completely stop it, and restart it - hence reducing excess CPU usage etc.
My server is optimized to its maximum, except for this damn timer..
any help would be much appreciated.
Many thanks,
Trooper