OnTimer Script

Legend

New member
Messages
375
Points
0
Age
30
Location
Heaven ♥
Github
Legend95
Emulator
Can someone teach me how OnTimer script works? im confused on how to use it.

thanks and have a nice day~

 
On a text-based explanation, these labels get executed when te timer reaches the amount of ticks specified in label. For example OnTimer1000: label will get executed when the timer reaches 1000 ticks and so on. Ticks are expresed in milliseconds, which you may remember from school they are 1/1000th of seconds, so basically 1000 ticks is a second.

 
ticks are expressed in milliseconds, so, OnTimer1000 = 1 second, OnTimer60000 = 1minute and OnTimer120000 = 1hour... is that what you mean sir? btw, thanks for replying

 
Last edited by a moderator:
120000 ticks are 120000/1000 = 120 seconds, which is 2 minutes. A whole hour is 1000*60*60 = 3600000 milliseconds and the same number of ticks.

 
ahh, i got it! thanks bro
default_smile.png

It really helped me a lot.

 
Back
Top