10.08.2011, 23:13
Coloquei Seu Codigo Deu Erros
PHP код:
new IsFlooding[MAX_PLAYERS]; #define IsPlayerFlooding(%0) IsFlooding[%0] > gettime()public OnPlayerText(playerid, text[]){ if(IsPlayerFlooding(playerid) && !IsPlayerAdmin(playerid)) { SendClientMessage(playerid, 0xFF0000FF, "* You can only send a message once every two seconds."); return 0; } else { IsFlooding[playerid] = gettime()+2; return 1; } return 0;}