[Ajuda] Dialog da erro
#1

Estou tendo erro com essa dialog de profissao, simplesmente da erros que eu nгo consigo identificar

Quote:

(21584) : warning 225: unreachable code
(21584) : warning 217: loose indentation
(21584) : error 014: invalid statement; not in switch
(21584) : warning 215: expression has no effect
(21584) : error 001: expected token: ";", but found ":"
(21584) : error 029: invalid expression, assumed zero
(21584) : fatal error 107: too many error messages on one line

Funзгo
Quote:

case 1:
{
ShowPlayerDialog(playerid, D_PROFS, DIALOG_STYLE_LIST, "Empregos", "{FFFF00}1- {F1C259}Serviзos Particulares\n{FFFF00}2- {FFFFFF}Transportes Pъblico\n{FFFF00}3- {FFFFFF}Transportes\n{FFFF00}{FFFF00}4- {4390C3}Seguranзa Pъblica\n{FFFF00}5- {FFBDD7}Servidores Pъblicos\n{FFFF00}6- {F1DD0F}Governamentais\n{FFFF00}7- {F41A00}Desonestos\n{FFFF00}8- {FFFFFF}Honestos\n{FA1A00}9- {FFFFFF}Forзas Armadas", "Ver", "Sair");
return 1;
}

Reply
#2

Quote:

(21584) : warning 225: unreachable code = retornou mais de uma vez.
(21584) : warning 217: loose indentation = mб identaзгo
(21584) : error 014: invalid statement; not in switch
(21584) : warning 215: expression has no effect
(21584) : error 001: expected token: ";", but found ":" = faltou um ';' no final do cуdigo
(21584) : error 029: invalid expression, assumed zero
(21584) : fatal error 107: too many error messages on one line

****
Reply
#3

Bugou '--'
Reply
#4

pawn Код:
case 1:
{
ShowPlayerDialog(playerid, D_PROFS, DIALOG_STYLE_LIST, "Empregos", "{FFFF00}1- {F1C259}Serviзos Particulares\n{FFFF00}2- {FFFFFF}Transportes Pъblico\n{FFFF00}3- {FFFFFF}Transportes\n{FFFF00}{FFFF00}4- {4390C3}Seguranзa Pъblica\n{FFFF00}5- {FFBDD7}Servidores Pъblicos\n{FFFF00}6- {F1DD0F}Governamentais\n{FFFF00}7- {F41A00}Desonestos\n{FFFF00}8- {FFFFFF}Honestos\n{FA1A00}9- {FFFFFF}Forзas Armadas", "Ver", "Sair");
}
tente assim e evite usar case em dialog eu acho melhor listitem mais uma dica https://sampwiki.blast.hk/wiki/Errors_List
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)