LUA error involving jobs

Hello, I’ve recently gotten this error and I can’t seem to figure out the problem.

[ERROR] addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:505: ‘}’ expected (to close ‘{’ at line 490) near ‘premiumgundealer’

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

These are the lines for the error.

/////// VIP JOBS /////////
TEAM_ADMINONDUTY = AddExtraTeam(“Admin On Duty”, {
color = Color(255, 0, 0, 255),
VIPOnly = true,
model = {“models/player/combine_super_soldier.mdl”},
description = [[Admin On Duty]],
weapons = {“weapon_fists”, “med_kit”},
command = “adminonduty”,
max = 4,
salary = 1000,
admin = 1,
vote = false,
hasLicense = false,
candemote = true,
mayorCanSetSalary = false,
customCheck = function(ply) return ply:GetNWString(“usergroup”) == “moderator” or ply:IsAdmin() end,
CustomCheckFailMsg = “STAFF JOB ONLY”
})

TEAM_PREMIUMGUNDEALER = AddExtraTeam(“Premium Gun Dealer”, {
color = Color(208, 247, 82, 255),
VIPOnly = true,
model = “models/player/monk.mdl”,
description = [[You’re the best of the best, only you
can sell the most dangerous weapons to people, be careful.
You are NOT aloud to self supply nor raid people.]],
weapons = {“weapon_fists”, “weapon_lordi_wep_m4a1”, “weapon_lordi_wep_deagle”},
command = “premiumgundealer”,
max = 3,
salary = 777,
admin = 0,
vote = false,
hasLicense = false,
candemote = true
premiumgundealer = true
mayorCanSetSalary = false,
})

TEAM_SURGEON = AddExtraTeam(“Surgeon”, {
color = Color(198, 153, 255, 255),
VIPOnly = true,
model = {“models/player/group03m/female_01.mdl”,
“models/player/group03m/female_02.mdl”,
“models/player/group03m/female_03.mdl”,
“models/player/group03m/female_04.mdl”,
“models/player/group03m/female_05.mdl”,
“models/player/group03m/female_06.mdl”,
“models/player/group03m/male_01.mdl”,
“models/player/group03m/male_02.mdl”,
“models/player/group03m/male_03.mdl”,
“models/player/group03m/male_04.mdl”,
“models/player/group03m/male_05.mdl”,
“models/player/group03m/male_06.mdl”,
“models/player/group03m/male_07.mdl”},
description = [[You are a specialist in Heart Transplants and other medical procedures.
Be the surgeon everyone needs and heal people to full health, but remember
your weapons are only for self defense, as you work in the field. raid = no
mug = no]],
weapons = {“weapon_fists”, “weapon_lordi_wep_galil”, “med_kit”},
command = “surgeon”,
max = 3,
salary = 700,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
surgeon = true,
mayorCanSetSalary = false,
})

Use [ lua ] and [ /lua ] to condense your code please.

You’re missing commas after:

candemote = true
premiumgundealer = true

Please read the error and use


 tags in the future.

you missed quite a good bit of commas. Fixed it in the quote above.

And as was mentioned about use [noparse][lua][/lua][/noparse] tags for code

Just saying, you can use noparse tags to render tags. [noparse][lua][/lua][/noparse]

Ah, thank you all