SA-MP Forums Archive
Just one simple question about time - 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: Just one simple question about time (/showthread.php?tid=132879)



Just one simple question about time - DarkPower - 09.03.2010

What number i need to use in timer to be REAL 60MINS
Code:
SetTimer("Paycheck", 360000, true);
i just wanna to ask how to make this timer count 60min (real time)


Re: Just one simple question about time - Fedee! - 09.03.2010

Timer is on miliseconds, so 60 minutes = 3600000 miliseconds.

pawn Code:
SetTimer("Paycheck", 3600000, true);
You were missing a '0' xD


Re: Just one simple question about time - DarkPower - 09.03.2010

Quote:
Originally Posted by Fedee!
Timer is on miliseconds, so 60 minutes = 3600000 miliseconds.

pawn Code:
SetTimer("Paycheck", 3600000, true);
You were missing a '0' xD
That is all i was need thank you alot