A Question !
#2

At the top

Код:
new CommandWait[MAX_PLAYERS];
Код:
CMD:test(playerid, params[])
{
    if(CommandWait[playerid] > gettime())return SendClientMessage(playerid, -1,"Wait before using this command again!");
    {
        SendClientMessage(playerid, -1,"abcxyz");
        CommandWait[playerid] = gettime()+60; //1 Minute
	}
    return 1;
}
Reply


Messages In This Thread
A Question ! - by TYDS - 04.12.2016, 07:51
Re: A Question ! - by Bolex_ - 04.12.2016, 07:55
Re: A Question ! - by TYDS - 04.12.2016, 08:00
Re: A Question ! - by StrikerZ - 04.12.2016, 11:08

Forum Jump:


Users browsing this thread: 1 Guest(s)