What is that?
#1

How minutes is that ?

Код:
SetTimer("TipBot", 720000, 1);
How i can to change it every one minute?
Sorry for my bad english
Reply
#2

1000 ms (timers use milliseconds) equals 1 second. so 720000=720 seconds, thats 12 minutes.
you may write it like this:
Код:
SetTimer("TipBot", 12*60*1000, 1);
or, as you want, as a 1-minute timer:
Код:
SetTimer("TipBot", 60*1000, 1);
dont worry about the ugly looking values, the compiler pre-compiles them, since the they are constants
Reply
#3

Quote:
Originally Posted by rokata555
Посмотреть сообщение
How minutes is that ?

Код:
SetTimer("TipBot", 720000, 1);
How i can to change it every one minute?
Sorry for my bad english
http://lmgtfy.com/?q=convert+milliseconds+to+minutes
Reply
#4

Thanks so Much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)