[Ajuda] Erro na public !
#7

pawn Код:
if(strcmp(cmd, "/190", true) == 0)
{
    if(IsPlayerConnected(playerid)) {
        if(gPlayerLogged[playerid] == 0) {

            SendClientMessage(playerid, COLOR_GREY, "Vocк nгo estб logado!");
            return 1;
        }
        GetPlayerName(playerid, sendername, sizeof(sendername));
        new length = strlen(cmdtext);
        while ((idx < length) && (cmdtext[idx] <= ' ')) {

            idx++;
        }
        new offset = idx;
        new result[100];
        while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) {

            result[idx - offset] = cmdtext[idx];
            idx++;
        }
        result[idx - offset] = EOS;
        if(!strlen(result)) {

            SendClientMessage(playerid, COLOR_GRAD2, "USE: /190 [Denuncia]");
            return 1;
        }
        format(string, sizeof(string), "==> Denuncia de %s(%d): %s <==", sendername, playerid, (result));
        ABroadCastPolicia(0xFFFF66FF,string,1);
        SendClientMessage(playerid, COLOR_YELLOW, "Sua Denuncia Foi Enviado Aos Policias !");
    }
    return 1; //<<-- erro nesse linha
}
Aquele warning significa ma identaзгo no code '-'
Reply


Messages In This Thread
Erro na public ! - by Carlos_barbosa - 18.08.2012, 00:16
Re: Erro na public ! - by darkxdll - 18.08.2012, 00:20
Re: Erro na public ! - by FeelLikeASir_ - 18.08.2012, 00:21
Re: Erro na public ! - by Bruno Alves - 18.08.2012, 00:28
Re: Erro na public ! - by Carlos_barbosa - 18.08.2012, 00:30
Re: Erro na public ! - by Carlos_barbosa - 18.08.2012, 00:36
Re: Erro na public ! - by Bruno Alves - 18.08.2012, 00:38
Re: Erro na public ! - by Carlos_barbosa - 18.08.2012, 00:40
Re: Erro na public ! - by Abravanel - 18.08.2012, 00:40
Re: Erro na public ! - by Bruno Alves - 18.08.2012, 00:43

Forum Jump:


Users browsing this thread: 1 Guest(s)