SA-MP Forums Archive
Always 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: Always night (/showthread.php?tid=109488)



Always night - shoru - 20.11.2009

is there a code in pawno to be always night?


Re: Always night - ExoSanty - 20.11.2009

if you set it and there is nothing in the script that randomizes it, then it should stay night...

SetWorldTime(houryouwant)


Re: Always night - Ironboy500 - 20.11.2009

Put following under ONGameModeInit();

Код:
SetWorldTime(0);



Re: Always night - shoru - 20.11.2009

i put it under and its says error symbol already taken


Re: Always night - ExoSanty - 21.11.2009

Quote:
Originally Posted by shoru
i put it under and its says error symbol already taken
then you probably use it elsewhere... maybe in a filterscript?
you placed it in the OnGameModeInit ?


Re: Always night - ExoSanty - 24.11.2009

i just realized: gl_realtime is probably loaded as filterscript?