SA-MP Forums Archive
slowely make it night - 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: slowely make it night (/showthread.php?tid=351024)



slowely make it night - lewismichaelbbc - 14.06.2012

How can I make a command which will slowely makes it night time, meaning it gets darker and darker every second instead of instantly setting it as night time?

Thanks


Re: slowely make it night - Vince - 14.06.2012

SetPlayerTime for each player, but make sure to properly sync it. If a player dies or respawns his time is forwarded 6 hours, just like in single player.