longer day and night
#6

With the time cycle of standard samp, is that unless you use SetWorldTime (Which sets the time for the server to one time all the time), the time will run at the same rate as single player which is every 60 seconds, will be a day/night cycle.

However with this, the time of day will be different per player (desynced) and some will see day, some will see night.

This script simply uses the script to track the time, via a timer, which will then end up setting the time per player to the right time, for the time that is appropriate.

Possible issues are that if the timer runs for a long time that it will stop, or that it will get inaccurate.
Reply


Messages In This Thread
longer day and night - by DutchBoy - 08.03.2017, 06:24
Re: longer day and night - by Sew_Sumi - 08.03.2017, 06:59
Re: longer day and night - by DutchBoy - 08.03.2017, 07:40
Re: longer day and night - by JessThompson - 08.03.2017, 07:52
Re: longer day and night - by DutchBoy - 08.03.2017, 07:58
Re: longer day and night - by Sew_Sumi - 08.03.2017, 09:44

Forum Jump:


Users browsing this thread: 1 Guest(s)