30.06.2013, 18:32
Use TogglePlayerClock, but keep the time stored in variable. I suggest you use the timerfix inc/plugin (fixes2 by ******), otherwise you'll be behind by like 10 seconds every minute. This is what I do on my server:
Week starts at 6AM monday. On a one second timer, the time progresses by 1 second (and minutes/hours/days too). When a player spawns, set their time to the one stored in the server.
On my server, the weather changes every 4 hours, and when it changes, every player's time is synced with the server. If you set their weather then a minute later set their time, the weather will change instantly. If you don't want interpolated weather, don't use TogglePlayerClock.
Week starts at 6AM monday. On a one second timer, the time progresses by 1 second (and minutes/hours/days too). When a player spawns, set their time to the one stored in the server.
On my server, the weather changes every 4 hours, and when it changes, every player's time is synced with the server. If you set their weather then a minute later set their time, the weather will change instantly. If you don't want interpolated weather, don't use TogglePlayerClock.