Question 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: Question Timer (
/showthread.php?tid=533421)
Question Timer -
Akcent_Voltaj - 24.08.2014
can someone tell me what does this timer mean:
PHP код:
SetTimer("Trivia",1000 * 60 * 50,1);
1000 = ?
60 = ?
50 = ?
1 = true I think!
how can I make it so it appears in 15 minutes..?? 15 then another 15 min.
Re: Question Timer -
AiRaLoKa - 24.08.2014
1000 is 1 second
60 time 1000 (1 second) is 1 minute
50 time 60000 (1 minute) is 50 minute
if you want to make it into 15 minutes, just change the "50" into "15"
Re: Question Timer -
Sharpadox - 24.08.2014
its just a a multi-cation of digits:
1000 * 60 * 50 * 1 = 3000000ms
3000000ms = 50min