• Jobs.lua gives lua error, can't find the error
    5 replies, posted
Hi guys, I've been struggling with my Gmod server's jobs.lua file ( darkrp-modification/.../jobs.lua ) I tried to use the lua error checker online, it gave 0 error. The code is written correctly, but I think I've made a little mistake somewhere, just can't seem to find it. I'd really appreciate if someone could help me out, been with this problem for over 3 days now. -- Press here for the code ( PASTEBIN ) --
Post the error?
This would cause errors. DarkRP.createCategory{   name = "Crime",   categorises = "Jobs",   startExpanded  true,   color = Color(255,24,51,111), canSee = function(ply) true end, sortOrder =  } Also, why do you keep replacing the TEAM_GOVERNMENT variable?
Normally I used TEAM_POLICE for the police team, and TEAM_SWAT for the swat team. I tried this but it still didn't work out. @LegendarySoldier
Post the error?
don't create your categories in jobs.lua, create them in categories.lua as for the problem, it was on line 35 and 38. try using https://fptje.github.io/glualint-web/
Sorry, you need to Log In to post a reply to this thread.