SA-MP Forums Archive
How to make the default time 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make the default time night? (/showthread.php?tid=230023)



How to make the default time night? - Koomike - 22.02.2011

I want to make it so it's always night time. I know you have to search setworldtime, but Ik there is something else.
Can you tell me all the things I have to serach and what numbers I have to put to make it night time? Thanks


Re: How to make the default time night? - marinov - 22.02.2011

like, think of a 24:00 kind of clock, remove the ':' and put that on the time u want it to be

pawn Код:
setworldtime(2400);
would set the time to midnight


Re: How to make the default time night? - Koomike - 22.02.2011

Yea thx that worked. Also, do you know how to make the server use your modded cars?


Re: How to make the default time night? - marinov - 22.02.2011

you can't