PAWNO КОД
Код:
new AntiFlood[MAX_PLAYERS]; public OnPlayerConnect(playerid){ AntiFlood[playerid] = GetTickCount(); return 1; } public OnPlayerText(playerid, text[]){ if(GetTickCount()-AntiFlood[playerid] ;<1000) { Kick(playerid); return 1; } AntiFlood[playerid] = GetTickCount(); return 1; }