SA-MP Forums Archive
[Ajuda] Porquк desses erros? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Porquк desses erros? (/showthread.php?tid=375805)



Porquк desses erros? - Rijin - 08.09.2012

pawn Код:
error 075: input line too long (after substitutions)
error 037: invalid string (possibly non-terminated string)
error 017: undefined symbol "ID"
error 017: undefined symbol "1"
fatal error 107: too many error messages on one line
pawn Код:
error 075: input line too long (after substitutions)

Linha:

    if(strcmp("/criarid", cmdtext, true, 10) == 0) {
pawn Код:
error 037: invalid string (possibly non-terminated string)
error 017: undefined symbol "ID"
error 017: undefined symbol "1"
fatal error 107: too many error messages on one line

Linha:

    ShowPlayerDialog(playerid, Criar_ID, DIALOG_STYLE_LIST, "Criar ID", "ID 1 \nID 2 \nID 3 \nID 4 \nID 5 \nID 6 \nID 7 \nID 8 \nID 9 \nID 10", "Criar", "Cancelar");
Aqui no caso do ID 1 \nID 2 e etc, eu coloquei aqui sу assim pra nгo ficar grande, mais eu uso atй \nID 45.


Re: Porquк desses erros? - BreakDriFT - 08.09.2012

Linha grande de mais..

use strcat.