LUA New Line/Formatting?

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"

Just do a new TriggerEvent() for a new line

1 Like

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

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

1 Like

so how would we go about this in server.lua due to the \n or ~n~ isn’t working in it ?