SA-MP Forums Archive
Should this work? (timer) - 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: Should this work? (timer) (/showthread.php?tid=418519)



Should this work? (timer) - Lemonaidz - 25.02.2013

How could i make this work?
i want to put it in a OnPlayerCommandText command
when i use it it will go dark for 1 min or until my Computer time changes
i want it to stay time(24) till i use a command to turn it off manually.

SetWorldTime(24);
if(time > 24 || time < 0 )
return SetWorldTime(time);