06.06.2016, 10:22
Quote:
I don't particularly want to have a timer that's running a function every second in all honesty, it's only going to slow things down.
|
Only other alternative i can think of is OnPlayerUpdate (which will be worse performance-wise than using a timer).
Timer duration depends on level of accuracy you need.
You could make a system that checks every 5 min or so, then when it gets to within 5 min start a 1 second timer (not worth the effort). I wouldn't bother though because calling gettime() once per second will be completely unnoticeable.