cmd timer
#2

You have to learn about timers. Consider the wiki.
PHP код:
CMD:cmdname(playeridparams[])
{
    
SetTimerEx("CommandTimer"Time0"i"playerid); //Run a timer. When the command executes
    
return 1;
}
forward CommandTimer(playerid);
public 
CommandTimer(playerid)
{
   
//The things you want to do.

Reply


Messages In This Thread
cmd timer - by CheckItOut - 20.07.2017, 07:49
Re: cmd timer - by coool - 20.07.2017, 07:55
Re: cmd timer - by FailerZ - 20.07.2017, 08:12
Re: cmd timer - by CheckItOut - 20.07.2017, 08:29
Re: cmd timer - by FailerZ - 20.07.2017, 08:46
Re: cmd timer - by CheckItOut - 20.07.2017, 08:47
Re: cmd timer - by FailerZ - 20.07.2017, 08:50

Forum Jump:


Users browsing this thread: 1 Guest(s)