SA-MP Forums Archive
more text in dialog? - 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)
+--- Thread: more text in dialog? (/showthread.php?tid=569518)



more text in dialog? - Tuntun - 31.03.2015

Is there any example how can i make more lines in a same dialog? like this:

1
1
1
1
1
1
1
1
1
1
1
1

1
1
1


Re: more text in dialog? - EiresJason - 31.03.2015

Yeah, you can use '\n' to go onto a new line.

Like this.

pawn Код:
"Hi\nMy\nName\nIs\nEiresJason."
Output:
Код:
Hi
My
Name
Is
EiresJason.



Re: more text in dialog? - BroZeus - 31.03.2015

Umm use \n character. It gives newline.
Example
Код:
1\n1\n1\n1\n
EDIT: too late some one already posted :/