what are the timers counted in :O :/
#1

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);
Reply
#2

That timer makes it go off every 312 millisecond.

The SA-MP timers are in milliseconds,so add some zeros to it.
Reply
#3

Код:
SetTimer("BusToTrain",312, 1);
312 is Time Change, i think 50000 its mins

Код:
SetTimer("BusToTrain",50000, 1);
Reply
#4

oh thanks i thought they were counted in seconds lol hehe
Reply
#5

theres a millisecond converter flying around the forum somewhere but basicly 1000 = 1 second
Reply
#6

This is also basic timers in 0.2, I tough you knew this MLK. You have been scripting longer than me
Reply
#7

Timers is not a new thing to 0.3, learn scripting first before trying to do anything.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)