SA-MP Forums Archive
Night time 21:00 - 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: Night time 21:00 (/showthread.php?tid=287353)



Night time 21:00 - sniperzki - 02.10.2011

Hi how to do that at 21:00 it was night?

Sorry my english : <


Re: Night time 21:00 - HB - 02.10.2011

Use the SA-MP wiki: http://wiki.sa-mp.com -> Search "time".


Respuesta: Night time 21:00 - OPremium - 02.10.2011

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




Re: Night time 21:00 - brett7 - 03.10.2011

pawn Код:
public OnGameModeInit()
{
    SetWorldTime(21);
        return 1;
}
That is if you want it to be that time all the time, if you want to change it every few minutes then the easiest way is search for a time system fs


Re: Night time 21:00 - Tigerkiller - 03.10.2011

make a timer and check if it 21 o clock use gettime