SA-MP Forums Archive
SetWorldTime help - 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: SetWorldTime help (/showthread.php?tid=646366)



SetWorldTime help - ,TomY' - 15.12.2017

Hi all. I use in my server SetWorldTime function with clock. As I know, this function set auto weather ( day/night). As I noticed, night starts from ~21-22h. It is possible, to do night weather from ~18h?


Re: SetWorldTime help - NaS - 15.12.2017

You can disable GTA's clock and use a TextDraw instead, then show eg. 22:00 while the world time is 18:00 (offset by 6 hours).

Then later freeze the world time at 0:00 until the textdraw shows 0:00 too (otherwise it will be day by 0:00).