Problem with jobs

Hello, first, sorry for my english i’m french so i’m not really good.
I explain my problem… i’ve created a job with job.lua (darkrpmodificationmaster) for the chief of cp’s
I wanted people to be in the police before they changed to chief

But the problem is they don’t saw chief if i use this command.
In settings.lua i set it on false :
GM.Config.hideTeamUnbuyable = false

My first try was this :

TEAM_Commissaire = DarkRP.createJob(“Commissaire”, {
color = Color(0, 71, 255, 255),
model = {“models/player/police_agent/commissaire_03.mdl”,“models/player/police_agent/commissaire_06.mdl”},
description = [[Vous êtes le commissaire de la ville. Vous avez des forces de l’ordre sous votre commandement. Travaillez en équipe.]],
weapons = {“m9k_model627”,“arrest_stick”, “unarrest_stick”,“door_ram”,“weapon_cuff_elastic”},
command = “commissaire”,
max = 1,
salary = 50,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = true,
mayor = false,
hobo = false,
cook = false,
NeedToChangeFrom = TEAM_PoliceNationale, (It’s working but no one can see the job if they are not in the police)

})

But nothing change, so i don’t know what to do, i also try that :

TEAM_Commissaire = DarkRP.createJob(“Commissaire”, {
color = Color(0, 71, 255, 255),
model = {“models/player/police_agent/commissaire_03.mdl”,“models/player/police_agent/commissaire_06.mdl”},
description = [[Vous êtes le commissaire de la ville. Vous avez des forces de l’ordre sous votre commandement. Travaillez en équipe.]],
weapons = {“m9k_model627”,“arrest_stick”, “unarrest_stick”,“door_ram”,“weapon_cuff_elastic”},
command = “commissaire”,
max = 1,
salary = 50,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = true,
mayor = false,
hobo = false,
cook = false,
customCheck = function(ply) return ply:getDarkRPVar(“job”) > TEAM_PoliceNationale end,

})

But with this one i have an error lua when i try to change the job… I don’t know

If someone could help me, i’ll be very happy ! Thanks everyone if you read this or if you help me right now.