LUA New Line/Formatting?


#1

I’m trying to make a /help command, and I have it all working but how can I make a new line? \n and ~n~ do not work. I’m guessing I need to have something other than this:

TriggerEvent("chatMessage"

#2

Just do a new TriggerEvent() for a new line


#3

Can you give an example? Not familiar with lua and took me ages to get this far…


#4

TriggerEvent(“chatMessage”, “”, {0, 0, 0}, “Line 1”)
TriggerEvent(“chatMessage”, “”, {0, 0, 0}, “Line 2”)
TriggerEvent(“chatMessage”, “”, {0, 0, 0}, “Line 3”)