What is that?
#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


Messages In This Thread
What is that? - by rokata555 - 21.11.2011, 13:24
Re: What is that? - by Babul - 21.11.2011, 13:27
Re: What is that? - by Elorreli - 21.11.2011, 13:28
Re: What is that? - by rokata555 - 21.11.2011, 13:29

Forum Jump:


Users browsing this thread: 1 Guest(s)