29.04.2018, 14:21
Ola, quando eu vou compilar o pawno para de funcionar
Funciona....
Para de Funcionar... Queria saber qual й o erro...
Funciona....
Code:
if(dialogid == menuprof) { if(response == 1) { if(listitem == 0) { ShowPlayerDialog(playerid, Baixa, DIALOG_STYLE_LIST, "{FFFFFF}Profissхes Classe Baixa {00FF00}( Level / Estudo / Salario )", "Mendigo - 0/ 0/ $1300.00\nEmpregada Domйstica - 1/ 0/ $320.00\nPedreiro - 1/ 0/ $750.00\nGari - 2/ 0/ $856.00\nLixeiro - 3/ 0/ $450.00\nTemac - 450/ 0/ $1500.00\nCorreios - 5/ 0/ $1000.00\nEstudante - 0/ 0/ $500.00\nFlanelinha - 0/ 0/ $200.00\nCantor - 8/ 0/ $1450.00\nPoeta - 6/ 0/ $950.00\nVoltar", "OK", "Cancelar"); } if(listitem == 1) { ShowPlayerDialog(playerid, Honestas, DIALOG_STYLE_LIST, "{FFFFFF}Profissхes Classe Mйdia {00FF00}( Level / Estudo / Salario )", "Motorista Particular - 0/ 0/ $300.00\nJornalista - 20/4/$1400.00\nFotуgrafo - 21/8/$1140.00\nReporter - 21/ 10/ $1400.00\nAncora - 24/ 14/ $1400.00\nMeteorologista - 29/ 24/ $1140.00\nMecвnico - 5/ 5/ $1700.00\nRapper - 99/ 10/ $1000.00\nVendedor de Skins - 40/ 2/ $1200.00\nVendedor de Carros - Admin\nFrentista - 35/ 3/ $1000.00\nVoltar", "OK", "Cancelar"); } if(listitem == 2) { ShowPlayerDialog(playerid, Honestas2, DIALOG_STYLE_LIST, "{FFFFFF}Profissхes Classe Alta {00FF00}( Level / Estudo / Salario )", "Taxista - 2/ 4/ $2000.00\nParamйdico - 10/ 10/ $999.00\nAposentado - 500/ 0/ $5000.00\nAdvogado - 30/ 30/ $1000.00\nGuarda Costas - 0/ 0/ $300.00\nCorredor de Rua - 50/ 0/ $500.00\nPromoter - 20/ 15/ $600.00\nBibliotecбrio - 60/ 100/ $650.00\nvice/presidente - 9999/ 40/ $150000.00\nPrefeito - 4999/ 99/ $200000.00\nPresidente - 9990/ 99/ 300000\nVoltar", "OK", "Cancelar"); } if(listitem == 3) { ShowPlayerDialog(playerid, Desonestas, DIALOG_STYLE_LIST, "{FFFFFF}Profissхes Criminosas {00FF00}( Level / Estudo / Salario )", "Traficante de Armas - 40/ 0/ $350.00\nAssasino - 15/ 0/ $800.00\nTerrorista - 60/ 0/ $1700.00\nSequestrador - 90/ 0/ $900.00\nAssasino Profissional - 25/ 0/ N/A\nProstituta - 5/ 0/ $500.00\nAssaltante - 50/ 0/ $500.00\nTraficante - 10/ 0/ $350.00\nMбfia - 1000/ 40/ $15000.00\nYakuza - 3000/ 30/ $52500.00\nVoltar", "OK", "Cancelar"); } if(listitem == 4) { ShowPlayerDialog(playerid, Governo, DIALOG_STYLE_LIST, "{FFFFFF}Funcionбrios Pъblicos {00FF00}( Level / Estudo / Salario )", "Guarda - 60/ 28/ $1200.00\nPolнcia Rodoviбria - 120/ 32/ $1600.00\nPolнcia Militar - 180/ 38/ $1600.00\nPolнcia Civil - 180/ 40/ $2000.00\nPolнcia Federal - 200/ 48/ $2200.00\nDelegado - 400/ 52/ $5000.00\nBope - 220/ 28/ $7000.00\nSWAT - 220/ 28/ $7000.00\nEspiгo - 3000/ 28/ $13000.00\nFBI - 180/ 28/ $5000.00\nInterpol - 350/ 28/ $5000.00\nVoltar", "OK", "Cancelar"); } if(listitem == 5) { ShowPlayerDialog(playerid, industriais, DIALOG_STYLE_LIST, "{FFFFFF}Funcionбrios Industriais {00FF00}( level / Estudo / Salario )", "Maquinista - 200/ 30/ $3000.00\nVoltar", "OK", "Cancelar"); } if(listitem == 6) { ShowPlayerDialog(playerid, organizadores, DIALOG_STYLE_LIST, "{FFFFFF}Organizadores {00FF00}( Level / Estudo / Salario )", "Professor - 5000/ 500/ $40000.00\nEmpregador - 5000/ 500/ $6200.00\nMarines - 3000/ 40/ $12000.00\nDrifter King - 4000/ 40/ $12000.00\nAtirador Elite - 1000 /40/ $8500.00\nNinja - 2000/ 40/ $8000.00\nVoltar", "OK", "Cancelar"); } } }
Code:
if(dialogid == menuprof) { if(response == 1) { if(listitem == 0) { ShowPlayerDialog(playerid, Baixa, DIALOG_STYLE_LIST, "{FFFFFF}Profissхes Classe Baixa {00FF00}( Level / Estudo / Salario )", "Mendigo - 0/ 0/ {1a8622}$1300.00{FFFFFF}\nEmpregada Domйstica - 1/ 0/ {1a8622}$320.00{FFFFFF}\nPedreiro - 1/ 0/ {1a8622}$750.00{FFFFFF}\nGari - 2/ 0/ {1a8622}$856.00{FFFFFF}\nLixeiro - 3/ 0/ {1a8622}$450.00{FFFFFF}\nTemac - 450/ 0/ {1a8622}$1500.00{FFFFFF}\nCorreios - 5/ 0/ {1a8622}$1000.00{FFFFFF}\nEstudante - 0/ 0/ {1a8622}$500.00{FFFFFF}\nFlanelinha - 0/ 0/ {1a8622}$200.00{FFFFFF}\nCantor - 8/ 0/ {1a8622}$1450.00{FFFFFF}\nPoeta - 6/ 0/ {1a8622}$950.00{FFFFFF}\nVoltar", "OK", "Cancelar"); } if(listitem == 1) { ShowPlayerDialog(playerid, Honestas, DIALOG_STYLE_LIST, "{FFFFFF}Profissхes Classe Mйdia {00FF00}( Level / Estudo / Salario )", "Motorista Particular - 0/ 0/ {1a8622}$300.00{FFFFFF}\nJornalista - 20/ 4/ {1a8622}$1400.00{FFFFFF}\nFotуgrafo - 21/8/{1a8622}$1140.00{FFFFFF}\nReporter - 21/ 10/ {1a8622}$1400.00{FFFFFF}\nAncora - 24/ 14/ {1a8622}$1400.00{FFFFFF}\nMeteorologista - 29/ 24/ {1a8622}$1140.00{FFFFFF}\nMecвnico - 5/ 5/ {1a8622}$1700.00{FFFFFF}\nRapper - 99/ 10/ {1a8622}$1000.00{FFFFFF}\nVendedor de Skins - 40/ 2/ {1a8622}$1200.00{FFFFFF}\nVendedor de Carros - Admin\nFrentista - 35/ 3/ {1a8622}$1000.00{FFFFFF}\nVoltar", "OK", "Cancelar"); } if(listitem == 2) { ShowPlayerDialog(playerid, Honestas2, DIALOG_STYLE_LIST, "{FFFFFF}Profissхes Classe Alta {00FF00}( Level / Estudo / Salario )", "Taxista - 2/ 4/ {1a8622}$2000.00{FFFFFF}\nParamйdico - 10/ 10/ {1a8622}$999.00{FFFFFF}\nAposentado - 500/ 0/ {1a8622}$5000.00{FFFFFF}\nAdvogado - 30/ 30/ {1a8622}$1000.00{FFFFFF}\nGuarda Costas - 0/ 0/ {1a8622}$300.00{FFFFFF}\nCorredor de Rua - 50/ 0/ {1a8622}$500.00{FFFFFF}\nPromoter - 20/ 15/ {1a8622}$600.00{FFFFFF}\nBibliotecбrio - 60/ 100/ {1a8622}$650.00{FFFFFF}\nvice presidente - 9999/ 40/ {1a8622}$150000.00{FFFFFF}\nPrefeito - 4999/ 99/ {1a8622}$200000.00{FFFFFF}\nPresidente - 9990/ 99/ {1a8622}300000.00{FFFFFF}\nVoltar", "OK", "Cancelar"); } if(listitem == 3) { ShowPlayerDialog(playerid, Desonestas, DIALOG_STYLE_LIST, "{FFFFFF}Profissхes Criminosas {00FF00}( Level / Estudo / Salario )", "Traficante de Armas - 40/ 0/ {1a8622}{FFFFFF}$350.00\nAssasino - 15/ 0/ {1a8622}$800.00{FFFFFF}\nTerrorista - 60/ 0/ {1a8622}$1700.00{FFFFFF}\nSequestrador - 90/ 0/ {1a8622}$900.00{FFFFFF}\nAssasino Profissional - 25/ 0/ {1a8622}N/A{FFFFFF}\nProstituta - 5/ 0/ {1a8622}$500.00{FFFFFF}$500.00\nAssaltante - 50/ 0/ {1a8622}$500.00{FFFFFF}\nTraficante - 10/ 0/ {1a8622}$350.00{FFFFFF}\nMбfia - 1000/ 40/ {1a8622}$15000.00{FFFFFF}\nYakuza - 3000/ 30/ {1a8622}$52500.00{FFFFFF}\nVoltar", "OK", "Cancelar"); } if(listitem == 4) { ShowPlayerDialog(playerid, Governo, DIALOG_STYLE_LIST, "{FFFFFF}Funcionбrios Pъblicos {00FF00}( Level / Estudo / Salario )", "Guarda - 60/ 28/ {1a8622}$1200.00{FFFFFF}\nPolнcia Rodoviбria - 120/ 32/ {1a8622}$1600.00{FFFFFF}\nPolнcia Militar - 180/ 38/ {1a8622}$1600.00{FFFFFF}\nPolнcia Civil - 180/ 40/ {1a8622}$2000.00{FFFFFF}\nPolнcia Federal - 200/ 48/ {1a8622}$2200.00{FFFFFF}\nDelegado - 400/ 52/ {1a8622}$5000.00{FFFFFF}\nBope - 220/ 28/ {1a8622}$7000.00{FFFFFF}\nSWAT - 220/ 28/ {1a8622}$7000.00{FFFFFF}\nEspiгo - 3000/ 28/ {1a8622}$13000.00{FFFFFF}\nFBI - 180/ 28/ {1a8622}$5000.00{FFFFFF}\nInterpol - 350/ 28/ {1a8622}$5000.00{FFFFFF}\nVoltar", "OK", "Cancelar"); } if(listitem == 5) { ShowPlayerDialog(playerid, industriais, DIALOG_STYLE_LIST, "{FFFFFF}Funcionбrios Industriais {00FF00}( level / Estudo / Salario )", "Maquinista - 200/ 30/ {1a8622}$3000.00{FFFFFF}\nVoltar", "OK", "Cancelar"); } if(listitem == 6) { ShowPlayerDialog(playerid, organizadores, DIALOG_STYLE_LIST, "{FFFFFF}Organizadores {00FF00}( Level / Estudo / Salario )", "Professor - 5000/ 500/ {1a8622}$40000.00{FFFFFF}\nEmpregador - 5000/ 500/ {1a8622}$6200.00{FFFFFF}\nMarines - 3000/ 40/ {1a8622}$12000.00{FFFFFF}\nDrifter King - 4000/ 40/ {1a8622}$12000.00{FFFFFF}\nAtirador Elite - 1000 /40/ {1a8622}$8500.00{FFFFFF}\nNinja - 2000/ 40/ {1a8622}$8000.00{FFFFFF}\nVoltar", "OK", "Cancelar"); } } }