18.07.2018, 13:13
this is a timer that runs every 35 seconds, try it.
the code was not tested, try it.
PHP код:
task OneMinuteTimer[35000]()
{
new hours,minutes,seconds;
gettime(hours,minutes,seconds);
switch(hours)
{
case 0:
{
switch(minutes)
{
case 0:
case 30:
}
}
case 1:
{
switch(minutes)
{
case 0:
case 30:
}
}
case 2:
case 3:
case 4:
case 5:
case 6:
}
return 1;
}