DIALOG_BOX - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: DIALOG_BOX (
/showthread.php?tid=125801)
DIALOG_BOX -
Master_FM - 05.02.2010
Hi i have this problem... I wanted to make a box with many informations... It works but if it became longer and longer than i get this error:
error 075: input line too long (after substitutions)
error 037: invalid string (possibly non-terminated string)
What can i do against that?
I made it like
new text[1024];
format(text,....., "My long text"
ShowPlayerDialog.... text
But it says everytime long...
Re: DIALOG_BOX -
jasonnw666 - 05.02.2010
jump line with /n
Re: DIALOG_BOX -
Master_FM - 05.02.2010
I made it but it dont work the same error... \n is only for linejump in Game... But it dont work at pawno
Re: DIALOG_BOX -
jasonnw666 - 05.02.2010
oh soryy \n
Re: DIALOG_BOX -
Master_FM - 05.02.2010
Quote:
Originally Posted by Master_FM
I made it but it dont work the same error... \n is only for linejump in Game... But it dont work at pawno
|
Read please and answer again ^^
Re: DIALOG_BOX -
jasonnw666 - 05.02.2010
can u put lines
error 075: input line too long (after substitutions)
error 037: invalid string (possibly non-terminated string)
and the line before and after
Re: DIALOG_BOX -
Master_FM - 05.02.2010
That means that the line is too long at my pawno... But if i jump one line down than i get the second error...
Re: DIALOG_BOX -
jasonnw666 - 05.02.2010
can i see the part of yr script
Re: DIALOG_BOX -
Master_FM - 05.02.2010
If i add something more than the error comes...
THX IT WORKS!
Re: DIALOG_BOX -
MadeMan - 05.02.2010
You can continue string on next line, like this:
pawn Код:
format(text, sizeof(text), "My long\
long text");
Use a '\' at the end of line.