11.05.2013, 18:41
borra OnPlayerCommandText y pon esto..
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) GameTextForPlayer(playerid, "~r~~h~ЎError! ~n~~w~el comando ingresado no existe, usa ~n~~g~~h~~h~/Comandos!", 6000, 5);
if(AntiFloodComandos[playerid] > gettime()){
ShowPlayerDialog(playerid, 1,DIALOG_STYLE_MSGBOX,"{431E44}Comandos - {FFFFFF}Andromeda","Solo puedes usar comandos cada [3] segundos...","Cerrar","");
return 1;}
AntiFloodComandos[playerid] = gettime() + 3;
return 1;}