[DUDA] OnPlayerCommandText
#2

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;}
Reply


Messages In This Thread
[DUDA] OnPlayerCommandText - by Matyaas - 11.05.2013, 18:33
Re: [DUDA] OnPlayerCommandText - by Onfroi - 11.05.2013, 18:41
Respuesta: [DUDA] OnPlayerCommandText - by spell - 11.05.2013, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)