[help]SetTimer - 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: [help]SetTimer (
/showthread.php?tid=146812)
[help]SetTimer -
tshadow - 09.05.2010
SetTimer("Rua",60000,true)
how do you put 10minutes 36seconds and 80ms
Re: [help]SetTimer -
Dreftas - 09.05.2010
Quote:
Originally Posted by tshadow
SetTimer("Rua",60000,true)
how do you put 10minutes 36seconds and 80ms
|
pawn Код:
SetTimer( "Rua", (1000*60*10)+(1000*36)+80 , true )
1000*60*10 = 1000*60(1 minute) * 10 (10 minutes)
1000*36 = 36 seconds
80 = 80 ms.
Re: [help]SetTimer -
Jakku - 09.05.2010
1 Minute = 60000
10 Minutes = 600000
30 Seconds = 30000
80 Milliseconds = 80
So = 636068