[Ajuda] Profissao
#9

Quote:
Originally Posted by demonneni
Посмотреть сообщение
Quando for identificar os erros nгo identifique dentro da caixa [ pawn] [ / pawn].

O seu erro foi a sintaxe incorreta:


pawn Код:
if (strcmp("/carregar", cmdtext, true, 10) == 0) {
    if(!Emprego[playerid])
        return SendClientMessage(playerid,0x007FFFAA,"Vocк Nгo E Um Caminhoneiro");

    if(Emprego[playerid] == Caminhoneiro)    
        if(IsPlayerInRangeOfPoint(playerid,20.0,2196.7859,-2257.1980,13.1534)) {
            SendClientMessage(playerid,COL_RED,"Vocк Carregou Seu Caminhao Com Sucesso!");
            SendClientMessage(playerid,COL_RED,"Para Descarregar Va Ate A Marca Vermelha Em LV");
            return 1;
        }
        else
            SendClientMessage(playerid,COL_RED,"Vocк Nгo Esta No Carregamento Dos Caminhoneiros");

    return 1;
}
Brigadгo +rep

@Edit

Quote:
Originally Posted by humildadeforever
Посмотреть сообщение
pawn Код:
if(Emprego[playerid] != Caminhoneiro) return SendClientMessage(playerid,0x007FFFAA,"Vocк nгo й um caminhoneiro");

OBS: Nгo Deixa Seu GM Com a Escrita Assim Nгo, Й Horrнvel.
ok,Obrigado pelo Conselho
Reply


Messages In This Thread
Profissao - by Douglas651 - 17.02.2014, 21:08
Re: Profissao - by demonneni - 17.02.2014, 21:09
Re: Profissao - by Douglas651 - 17.02.2014, 21:12
Re: Profissao - by Douglas651 - 17.02.2014, 21:22
Re: Profissao - by demonneni - 17.02.2014, 21:25
Re: Profissao - by Douglas651 - 17.02.2014, 21:30
Re: Profissao - by demonneni - 17.02.2014, 21:31
Re: Profissao - by humildadeforever - 17.02.2014, 21:33
Re: Profissao - by Douglas651 - 17.02.2014, 21:35

Forum Jump:


Users browsing this thread: 1 Guest(s)