Global Timer
#7

Use gettime instead, it's optimized than using timer.

PHP Code:
new time;
CMD:command(playerid)
{
    if(
gettime() <= time) return //
    
time gettime() + /* seconds after you want the command to be accessible */
    
return 1;

Reply


Messages In This Thread
Global Timer - by ElMaestro123 - 18.03.2017, 23:02
Re: Global Timer - by Toroi - 18.03.2017, 23:13
Re: Global Timer - by ElMaestro123 - 19.03.2017, 12:40
Re: Global Timer - by ElMaestro123 - 19.03.2017, 13:23
Re: Global Timer - by Toroi - 19.03.2017, 13:30
Re: Global Timer - by Bolex_ - 19.03.2017, 13:32
Re: Global Timer - by Logic_ - 19.03.2017, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)