Time Cycle??
#1

How would I make it so the server cycles from day to night, like in Singleplayer? P.S. Sorry for the numerous threads!!!
Reply
#2

https://sampwiki.blast.hk/wiki/TogglePlayerClock

Maybe this work.
Reply
#3

Show/Hide the in-game clock (top right corner) for a specific player. Not what I wanted, but thanks. How would I make it so the SERVER has a time cycle?
Reply
#4

Use timer to make one.
Reply
#5

Is there any easier way?
Reply
#6

https://sampforum.blast.hk/showthread.php?tid=273751
Reply
#7

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.
Reply
#8

I use TogglePlayerClock but the time is going crazy! its going up like 10 minutes every second!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)