what are the timers counted in :O :/ - 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: what are the timers counted in :O :/ (
/showthread.php?tid=95324)
what are the timers counted in :O :/ -
[mad]MLK - 03.09.2009
well i wanted the timer to go off every 5 mins 12 seconds but it just kept going off everysecond! this is my timer:
Код:
SetTimer("BusToTrain",312, 1);
Re: what are the timers counted in :O :/ -
Karlip - 03.09.2009
That timer makes it go off every 312 millisecond.
The SA-MP timers are in milliseconds,so add some zeros to it.
Re: what are the timers counted in :O :/ -
Imran.Abbas - 03.09.2009
Код:
SetTimer("BusToTrain",312, 1);
312 is Time Change, i think 50000 its mins
Код:
SetTimer("BusToTrain",50000, 1);
Re: what are the timers counted in :O :/ -
[mad]MLK - 03.09.2009
oh thanks
i thought they were counted in seconds lol hehe
Re: what are the timers counted in :O :/ -
V1ceC1ty - 03.09.2009
theres a millisecond converter flying around the forum somewhere but basicly 1000 = 1 second
Re: what are the timers counted in :O :/ -
Sayaron - 03.09.2009
This is also basic timers in 0.2, I tough you knew this MLK. You have been scripting longer than me
Re: what are the timers counted in :O :/ -
dugi - 03.09.2009
Timers is not a new thing to 0.3, learn scripting first before trying to do anything.