• Lua Error
    2 replies, posted
Hello, people on my server have been getting lua errors and so have I. The lua error is below, has anyone ever seen this? If so can you help me fix it please. The gamemode on my server is deathrun. [ERROR] LuaCmd:1: invalid escape sequence near '"Beyond Names/' 1. unknown - LuaCmd:0
you cant use / in a string. It is an escape character for putting other characters inside of a string... for example: "say /"hello/"" wouldn't end the string and you would have a string that displays the following: [QUOTE]say "hello"[/QUOTE] Just use a \ instead if you want a slash in your text.
[QUOTE=SeveredSkull;40188605]you cant use / in a string. It is an escape character for putting other characters inside of a string... for example: "say /"hello/"" wouldn't end the string and you would have a string that displays the following: Just use a \ instead if you want a slash in your text.[/QUOTE] It's the opposite, actually. \ is the escape character. / is perfectly normal.
Sorry, you need to Log In to post a reply to this thread.