DIALOG_BOX
#1

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...
Reply
#2

jump line with /n
Reply
#3

I made it but it dont work the same error... \n is only for linejump in Game... But it dont work at pawno
Reply
#4

oh soryy \n
Reply
#5

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 ^^
Reply
#6

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
Reply
#7

That means that the line is too long at my pawno... But if i jump one line down than i get the second error...
Reply
#8

can i see the part of yr script
Reply
#9


If i add something more than the error comes...


THX IT WORKS!
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)