SA-MP Forums Archive
Quick dialog question... - 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: Quick dialog question... (/showthread.php?tid=214708)



Quick dialog question... - Outcast - 21.01.2011

How can I make a new line in a dialog box (message box style) ?


Re: Quick dialog question... - Vince - 21.01.2011

Use \n.


Re: Quick dialog question... - Outcast - 22.01.2011

Thanks, it works. I was using /n instead of \n lol


Re: Quick dialog question... - SmugglesJr - 22.01.2011

I usally do \n\r


Re: Quick dialog question... - Sybren - 22.01.2011

Using \r is not necessary as far as I know. It used to tell old typewriters to move the railcarriage to left after beginning a new line. Else, you would get something like
Line 1
<whitespace>Line2
Nowadays this is mostly done automatically, so using \r is no longer needed (although its usage is still possible).