• Some weird error that neither my friend or I can fix.
    3 replies, posted
I'm no Lua master but my friend kind of needs help with this Lua error. You might know him by the name [url=http://facepunch.com/member.php?u=383701]Jack[/url]. He worked on the Aftermath gamemode and ran the server but has now lost most of his coding expertise over time. [url]https://dl.dropboxusercontent.com/u/73775541/chat.lua[/url] the link to the code. The error is: [code][ERROR] addons/darkrpmodification-master/lua/darkrp_language/chatcommands.lua:132: '}' expected (to close '{' at line 25) near '<eof>' 1. unknown - addons/darkrpmodification-master/lua/darkrp_language/chatcommands.lua:0 [/code]
[Code] ["zombiemax"] = "Set the maximum amount of zombies that can be in a level.", [/Code] Should be [Code] ["zombiemax"] = "Set the maximum amount of zombies that can be in a level." } [/Code]
[QUOTE=Fluffy Taters;43838985][Code] ["zombiemax"] = "Set the maximum amount of zombies that can be in a level.", [/Code] Should be [Code] ["zombiemax"] = "Set the maximum amount of zombies that can be in a level." } [/Code][/QUOTE] Exactly what I was going to say, you have the Curly Brace in the wrong spot. If you can't find where is at. [url]https://www.dropbox.com/s/ed3jen4x0h19bth/chat.txt[/url]
Thanks, we got it fixed.
Sorry, you need to Log In to post a reply to this thread.