[Ajuda]Comando errado
#1

Meu comando funciona, mais toda vez que eu uso ele, aparece:
Quote:

SERVE:Unknown command.

Comando:

pawn Код:
if(!strcmp(cmd1, "/convidar", true))
        {
        new plid, Level2;
        if(org[playerid][Lider] == 0)
        {
            SendClientMessage(playerid, 0xFC4430AA, "Vocк nгo й lider de nenhuma organizaзгo!");
            return 0;
        }
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid, 0xFF6F28AA, "Uso correto: /convidar [ID] [org]");
            return 0;
        }
        plid = strval(tmp);
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp))
        {
            SendClientMessage(playerid, 0xFF6F28AA, "Uso correto: /convidar [ID] [org]");
            return 0;
        }
       
        if(org[plid][Membro] !=0)
        {
            SendClientMessage(playerid, 0xFF6F28AA, "Esse jogador jб pertence б alguma organizaзгo!");
            return 0;
        }
       
        Level2 = strval(tmp);
        format(stryng, 170, "O lнder %s estб lhe convidando\npara fazer parte da organizaзгo %s.\nVocк deseja participar?", nome,organizacao(playerid));
        ShowPlayerDialog(plid, Convite, 0, "Convite", stryng, "Sim","Nгo");
        SetPVarInt(plid, "Org1", Level2);
        SetPVarInt(plid, "Playerorigem", playerid);
        return 1;
    }
O que tem de errado com ele?
Reply


Messages In This Thread
[Ajuda]Comando errado - by rafa3dify - 07.10.2011, 05:23
Re: Comando errado - by Jason` - 07.10.2011, 06:00
Re: Comando errado - by Josma_cmd - 07.10.2011, 07:17
Re: Comando errado - by WLSF - 07.10.2011, 13:22

Forum Jump:


Users browsing this thread: 2 Guest(s)