SA-MP Forums Archive
Time cycle and weather cycle - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Time cycle and weather cycle (/showthread.php?tid=515788)



Time cycle and weather cycle - GeekSiMo - 27.05.2014

How to make time cycle and weather cycle likd singleplayer


Re: Time cycle and weather cycle - Abagail - 28.05.2014

You'd need to script it into your game-mode. For instance, you can call a timer to change it every 10 minutes based on the server's time. For more information,
https://sampwiki.blast.hk/wiki/SetPlayerTime
https://sampwiki.blast.hk/wiki/SetWorldTime,
https://sampwiki.blast.hk/wiki/SetPlayerWeather,
https://sampwiki.blast.hk/wiki/SetWeather
https://sampwiki.blast.hk/wiki/GetPlayerTime


The SA-MP wiki is your friend... Good luck.