[Ajuda] Erro na hora de copilar. helpme
#7

Tem algo errado nгo estou achando..

Se der erro tire o comando e a dialog

e tenta compilar

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) {

    if(strcmp("/profissoes", cmdtext, true, 10) == 0) {
   
        new aname[ 21 ];
        GetPlayerName(playerid, aname, 21 );
        format(file, sizeof(file), P_CONTAS, aname);

        if(PlayerToPoint(1.0, playerid, 362.4499,173.8849,1008.3828)){
       
            ShowMenuForPlayer(PR0FISS0ES, playerid);
            TogglePlayerControllable(playerid, 0);
            SendClientMessage(playerid, 0x6500CAAA, "~~~~~~~~~~~~~~~~~~~~~~~ Profissхes ~~~~~~~~~~~~~~~~~~~~~~~");
            format(string, sizeof(string), "» Bem vindo(a) %s, em nossa central de profissхes" , aname);
            SendClientMessage(playerid, 0xFFFFFFFF, string);
            SendClientMessage(playerid, 0xFFFFFFFF, "» Selecione uma profissгo e aguarde, seu curriculum serб analisado!");
            SendClientMessage(playerid, 0x6500CAAA, "~~~~~~~~~~~~~~~~~~~~~~~ Profissхes ~~~~~~~~~~~~~~~~~~~~~~~");
        }
        else return SendClientMessage(playerid, Vermelho,"(ERRO) Vocк nгo estб em uma 'Central de profissхes'.");
    }
    return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {

    switch ( dialogid ) {
   
        case prof: {
       
            if ( response ) {
           
                ShowPlayerDialog(playerid, Trabalho_da_Classe_Media_Baixa, DIALOG_STYLE_LIST , "Trabalho da Classe Media Baixa(level/Estudo)", "Guarda ~g~[24/20]\nJornalista ~g~[20/25]\nReporter ~g~[20/25]\nFotografo ~g~[23/30]", "OK", "Cancelar");
                ShowPlayerDialog(playerid, Trabalho_da_Classe_Media, DIALOG_STYLE_LIST , "Trabalho da Classe Media Baixa(level/Estudo)", "Caminhoneiro ~g~[10/40]\nAdvogado ~g~[30/200]\nMotoqueiro ~g~[15/10]\nOperario ~g~[30/70]", "OK", "Cancelar");
                ShowPlayerDialog(playerid, Trabalho_da_Classe_Media_Alta, DIALOG_STYLE_LIST , "Trabalhos da Classe Media Alta(level/Estudo)", "DJ ~g~[25/5]\nPadre ~g~[15/100]\nMendingo ~g~[0/0]\nEmpregada ~g~[0/0]", "OK", "Cancelar");
                ShowPlayerDialog(playerid, Profissхes_Criminosas, DIALOG_STYLE_LIST , "Profissхes Criminosas(level/Estudo)", "Traficante ~g~[10/0]\nAssasino ~g~[10/0]\nTerrorista ~g~[20/0]\nSequestrador ~g~[12/0]", "OK", "Cancelar");
            }
            else SendClientMessage(playerid, COLOR_GREEN, "Nгo fique sem um emprego.\n Escolha um e seja ganhei seu dinheiro");
        }
        return true ;
    }
    return 0;
}
Reply


Messages In This Thread
Erro na hora de copilar. helpme - by costadd - 04.10.2013, 23:25
Respuesta: Erro na hora de copilar. helpme - by costadd - 05.10.2013, 14:31
Re: Erro na hora de copilar. helpme - by smiiir - 05.10.2013, 14:35
Respuesta: Erro na hora de copilar. helpme - by costadd - 05.10.2013, 14:40
Re: Erro na hora de copilar. helpme - by smiiir - 05.10.2013, 14:45
Respuesta: Erro na hora de copilar. helpme - by costadd - 05.10.2013, 14:54
Re: Erro na hora de copilar. helpme - by smiiir - 05.10.2013, 14:59
Respuesta: Erro na hora de copilar. helpme - by costadd - 05.10.2013, 15:05
Respuesta: Erro na hora de copilar. helpme - by costadd - 05.10.2013, 15:09
Respuesta: Erro na hora de copilar. helpme - by ViniKuliveguisky - 05.10.2013, 16:32

Forum Jump:


Users browsing this thread: 2 Guest(s)