[Ajuda] Erro no comando '-'
#3

Quote:
Originally Posted by darkxdll
Посмотреть сообщение
pawn Код:
if(strcmp(cmd,"/geral",true)==0)
    {
        if(pInfo[playerid][AdminLevel1] >= 1)
        {
            if(UsouComando[playerid][3] == 1)
            {
                SendClientMessage(playerid, 0xFF0000AA, "(ERRO) Aguarde 1 minuto para falar com todos novamente!");
                return 1;
            }
            new msg[128];
            strmid(tmp,cmdtext,9,strlen(cmdtext));
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, 0xFF0000AA,"/geral [texto]");
                return 1;
            }
            else
            {
                new pNome[MAX_PLAYER_NAME];
                pNome = GetPlayerName(playerid,pNome,sizeof(pNome));
                format(msg,sizeof(msg),"» O : %s diz: %s", pNome, tmp);
                SendClientMessageToAll(0xE0FFFFAA,msg);
                UsouComando[playerid][3] = 1;
                SetTimerEx("UsouComando1", 60000, false, "i", playerid);
                return 1;
            }
        }
Testa ai '-'.
Deixa quieto D:
Eu esqueci da
pawn Код:
new nome[30];
Mas valeu a intenзгo '-'
Reply


Messages In This Thread
Erro no comando '-' - by Mercurio - 18.07.2012, 21:07
Re: Erro no comando '-' - by darkxdll - 18.07.2012, 21:17
Re: Erro no comando '-' - by Mercurio - 18.07.2012, 21:21
Re: Erro no comando '-' - by darkxdll - 18.07.2012, 21:23
Re: Erro no comando '-' - by Mercurio - 18.07.2012, 21:43

Forum Jump:


Users browsing this thread: 1 Guest(s)