• Lua Problem
    1 replies, posted
Every time I launch the server I get this error in the console. Does anybody know how to fix it? I should also clarify that the part saying what is responsible is wrong. It has nothing to do with that file. [CODE]There is 1 Lua problem! Please check your console for more information! [ERROR] A runtime error has occurred in "RunString" on line 109. The best help I can give you is this: Warning! DarkRPVar 'description' wasn't registered! Please contact the author of the DarkRP Addon to fix this. Until this is fixed you don't need to worry about anything. Everything will keep working. It's just that registering DarkRPVars would make DarkRP faster. Hints: - No hints, sorry. The responsibility for the error above lies with (the authors of) one (or more) of these files: 1. RunString on line 109 2. addons/pillpack/lua/includes/modules/momo/compat.lua on line 30 ------- End of Simplerr error ------- [/CODE]
Just gonna point this out, this forum isn't for DarkRP stuff, they have their own forums. But... You need to have the description in the right order and like this: [code] TEAM_NAME = DarkRP.createJob("DARKRP JOB NAME", { color = Color(0, 56, 255, 255), model = {"model.mdl"}, description = [[Description]], weapons = {"weapon_smg1"}, command = "command", max = 0, salary = 0, admin = 0, vote = false, candemote = false, customCheck = function(ply) return ply:IsAdmin() or ply:IsSuperAdmin() end, category = "CATEGORY", sortOrder = 2, }) [/code] [B]Edit:[/B] [URL="http://forum.darkrp.com/forums/darkrp-modding-questions-help.5/"]DarkRP Forums - Modding Questions & Help [/URL]
Sorry, you need to Log In to post a reply to this thread.