• DARKRP Jobs Error
    2 replies, posted
So I have setup a user group check and I get this error in console [ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 200. The best help I can give you is this: A function is being called right before 'end', but its arguments are not given. Hints: - Did you write 'something:otherthing'? Try changing it to 'something:otherthing()' ------- End of Simplerr error ------- Bit of coding: customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:IsAdmin() end,
:snip: give us the entire job that's causing the problem. :disgust:
That line does not seem to be the cause of the problem. You might be missing a comma somewhere. The only line that does not need to be followed by a comma is the last one in each job. Also make sure that any open { 's are closed in the right places.
Sorry, you need to Log In to post a reply to this thread.