10.07.2011, 16:58
PHP Code:
new Flood[MAX_PLAYERS];
public OnPlayerCommandText(playerid,cmdtext[]) {
if(Flood[playerid] > gettime) return SendClientMessage(playerid,-1,"Sem flood");
Flood[playerid] = gettime() + 5;
return true;
}