04.12.2016, 07:55
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; }