Job Error

Hey guys, not sure why but I’ve been getting this error:

[ERROR] addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:234: ‘)’ expected (to close ‘(’ at line 231) near ‘=’

  1. unknown - addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:0

Heres line 231 to 243

TEAM_DJ = DarkRP.createJob(“DJ”, {
color = Color(59, 42, 58, 255),
model = “models/player/eli.mdl”},
description = [[You play music for other people and take requests for tips. ]],
weapons = {“weapon_arc_atmcard”, “m9k_fists”},
command = “dj”,
max = 2,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,

})

Not sure what seems to be the issue. Thanks!

It’s because you’re closing the table, and then continuing to write to it.

[lua]
TEAM_DJ = DarkRP.createJob(“DJ”, {
color = Color(59, 42, 58, 255),
model = “models/player/eli.mdl”,
description = [[You play music for other people and take requests for tips. ]],
weapons = {“weapon_arc_atmcard”, “m9k_fists”},
command = “dj”,
max = 2,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,

})
[/lua]

This should fix it.