Timer.
#4

Larger timer values will become inaccurate.

If you are using a filterscript to do your game time, then you could call the lotto functions from the filterscript. That'd then make it synced to the right time.

Otherwise, smaller timers, using gettime and checking how long in total they've been running could be a better plan.


I've always been a fan of a 1 second tick timer, that simply does smaller things. You could run a 1 minute one, or for more 'accuracy' you could do a 15 second one to track the segments, 4 hours in gametime being 4 minutes, and then needing to track the other 20 hours (20 minutes) to restart the drawing.

https://sampwiki.blast.hk/wiki/Gettime
Reply


Messages In This Thread
Timer. - by Man43 - 21.04.2017, 17:34
Re: Timer. - by [G]am3r - 21.04.2017, 17:49
Re: Timer. - by Man43 - 21.04.2017, 18:04
Re: Timer. - by Sew_Sumi - 21.04.2017, 18:19
Re: Timer. - by Vince - 21.04.2017, 18:58

Forum Jump:


Users browsing this thread: 1 Guest(s)