SA-MP Forums Archive
An hour. - 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: An hour. (/showthread.php?tid=420076)



An hour. - audriuxxx - 03.03.2013

Hi,

I want to do my script will work when 1 hour more is passed.

Like now is 12:00 and then code work, then 13:00 code work and ..


Re: An hour. - Misiur - 03.03.2013

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

If minute is 0 and second is 0, and hour is diffrent than last hour, call the script. Or simply timer every 3600000 ms