When I open the console in my server and I type this:
1
lua print('hello')
Everything is fine but when I try this:
1
lua print('hello world')
I've got this error:
ERROR: Unknown command 'world')' (lua print('hello world'))
So I've managed to find this solution:
1
lua print('hello..string.char(32)..'world')
Then I wanted to implement this in a custom function which is called from a timer:
1
2
3
4
5
6
7
2
3
4
5
6
7
function infoMessage(id, message) 	msg2(id, string.char(169).."255255255[INFO]: "..message); end local releaseString = "Someone"..string.char(32).."has"; timer(JAIL_DURATION * 1000, "parse", 'lua infoMessage('..id..',"'..releaseString..'")');
And I still got the previous error
1
ERROR: Unknown command 'has")' (lua infoMessage(2,"Someone has"))
Thanks for your answers