14.06.2013, 01:56
pawn Код:
new AntFlood[MAX_PLAYERS];
public OnPlayerCommandReceived(playerid, cmdtext[]){
if(AntFlood[playerid] > GetTickCount()) return SendClientMessage(playerid, -1, "Espere 5 segundos para digitar comando novamente."), 0;
AntFlood[playerid] = GetTickCount() + 5000;
return true;
}