PDA

View Full Version : Multi Line Dialog Text



thetford
12-07-2006, 05:05 PM
Can somebody help me with some lua code that will allow me to make a multi text line dialog message?

Thanks in advance

Worm
12-07-2006, 09:24 PM
Use \r\n to drop to a new line



Dialog.Message("Your Title", "This\r\nwill\r\nshow\r\nhow\r\nto\r\nadd\r\ncarria ge return\r\nlinebreaks.")

Intrigued
12-07-2006, 09:39 PM
Here's an easier on the eyes approach?


Dialog.Message("Your Title",
[[
My friend of a long time once said,
"You don't have just one shot at it,
so make the second one better than
the first one!"
]])

thetford
12-13-2006, 09:30 PM
thnaks guys, I'll try both!