erreur jobs serveur: server error jobs gmod lua problem

FRENCH

Bonjour jai un probleme avec les jobs de mon serveur gmod jai creer des jobs dans darkrpmodification-master\lua\darkrp_customthings et jobs.lua et quand je vais dans gmod sa me dit sa

There is 1 Lua problem!
Please check your console for more information!
[ERROR] Lua is unable to understand file “darkrp_customthings/jobs.lua” because its author made a mistake around line number 133.
The best help I can give you is this:

There is an opening ‘{’ bracket at line 94, but this bracket is never closed or not closed in time. It was expected to be closed before the ‘GAMEMODE’ at line 133.

Hints:

  • Did you forget a comma?
  • All open brackets ({, (, [) must have a matching closing bracket. Are you sure it’s there? - Brackets must be opened and closed in the right order. This will work: ({}), but this won’t: ({)}. ------- End of Simplerr error -------
    merci de maider svp :smile:

ENGLISH Hello I have a problem with my jobs gmod server i create jobs in darkrpmodification-master \ lua \ darkrp_customthings and jobs.lua and when I go into his gmod told his

There is 1 Lua problem!
Please check your console for more information!
[ERROR] Lua is unable to understand file “darkrp_customthings/jobs.lua” because its author made a mistake around line number 133.
The best help I can give you is this:

There is an opening ‘{’ bracket at line 94, but this bracket is never closed or not closed in time. It was expected to be closed before the ‘GAMEMODE’ at line 133.

Hints:

  • Did you forget a comma?
  • All open brackets ({, (, [) must have a matching closing bracket. Are you sure it’s there? - Brackets must be opened and closed in the right order. This will work: ({}), but this won’t: ({)}. ------- End of Simplerr error -------
    thank you help me please :smile:

Isn’t this obvious enought for you if you can read english?

In french for you, that woulds mean:

this is my jobs.lua can you help me for the problem i am a beginner in the scripting and thanks for the other reply

---------------------------------------------------------------------------]]
TEAM_CITIZEN = DarkRP.createJob(“Citoyen”, {
color = Color(20, 150, 20, 255),
model = {
“models/player/Group01/Female_01.mdl”,
“models/player/Group01/Female_02.mdl”,
“models/player/Group01/Female_03.mdl”,
“models/player/Group01/Female_04.mdl”,
“models/player/Group01/Female_06.mdl”,
“models/player/group01/male_01.mdl”,
“models/player/Group01/Male_02.mdl”,
“models/player/Group01/male_03.mdl”,
“models/player/Group01/Male_04.mdl”,
“models/player/Group01/Male_05.mdl”,
“models/player/Group01/Male_06.mdl”,
“models/player/Group01/Male_07.mdl”,
“models/player/Group01/Male_08.mdl”,
“models/player/Group01/Male_09.mdl”
},
description = [[En tant que citoyen vous devez avoir un RP passif.]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”},
command = “citizen”,
max = 0,
salary = GAMEMODE.Config.normalsalary,
admin = 0,
vote = false,
hasLicense = false,
candemote = false
})

TEAM_POLICE = DarkRP.createJob(“Policer”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/portal/f_police.mdl”,
“models/player/portal/f_police2.mdl”,
“models/player/portal/f_police3.mdl”,
“models/player/portal/f_police4.mdl”,
“models/player/portal/f_police5.mdl”,
“models/player/portal/f_police6.mdl”,
},
description = [[Policier]],
weapons = {“fas2_p226”, “fas2_g3”}, “weapon_fists”, “weapon_arc_atmcard”, “pocket”,
command = “police”,
max = 8,
salary = 80,
admin = 0,
vote = true,
hasLicense = true,
})

TEAM_Hack = DarkRP.createJob(“Hacker”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/anonymous_hacktivist.mdl”,
},
description = [[Hacker],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_arc_atmhack”, “keypad_cracker”},
command = “hacker”,
max = 3,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Mayor = DarkRP.createJob(“Maire”, {
color = Color(20, 150, 20, 255),
model = {
“models/Obama/Obama.mdl”,
},
description = [[Vous Etes le Maire]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”},
command = “Mayo”,
max = 1,
salary = 150,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
})

TEAM_Thief = DarkRP.createJob(“Voleur”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/anonymous_hacktivist.mdl”,
},
description = [[Voleur],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “lockpick”, “keypad_cracker”, “deathdisturbance_pickpocket”},
command = “voleur”,
max = 3,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Gun = DarkRP.createJob(“Vendeur d’armes”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/arnold_schwarzenegger.mdl”,
},
description = [[Voleur],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “fas2_deagle”},
command = “vendeur darmes”,
max = 3,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
})

–[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_CITIZEN

–[[---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_MAYOR] = true,
}

–[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)

Looks at:


description = [[Hacker],


description = [[Voleur],

You forgot to put a additional “]” at the end of these.

Thanks you so much men :goodjob:

hello men I have a another problem

TEAM_Meth = DarkRP.createJob(“Fabriquant De Meth”, {
color = Color(25, 25, 170, 255),
model = {
“models/Agent_47/agent_47.mdl”,
},
description = [[Fabriquant De Meth]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”,
command = “Meth”,
max = 4,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Mafia = DarkRP.createJob(“Mafieux”, {
color = Color(25, 25, 170, 255),
model = {
“models/fearless/mafia02.mdl”,
“models/fearless/mafia03.mdl”,
“models/fearless/mafia04.mdl”,
“models/fearless/mafia05.mdl”,
“models/fearless/mafia06.mdl”,
“models/fearless/mafia07.mdl”,
“models/fearless/mafia08.mdl”,
“models/fearless/mafia09.mdl”,
},
description = [[Mafieux]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “fas2_p226”,
command = “Mafia”,
max = 4,
salary = 65,
admin = 0,
vote = false,
hasLicense = false,
})

You’re missing a } on this part: [lua]weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “fas2_p226”, [/lua]

I do not understand sorry can you write with error correcting please thank you

Here.


weapons = {"weapon_fists", "weapon_arc_atmcard", "pocket", "fas2_p226"},

If you are going to copy this, don’t forget to add the comma ( , ) at the end as this is in a table.

Also, when pasting code remember to include code tags so that it looks nice.

its not working and also do you speak french my jobs.lua and the error are below

There is 1 Lua problem!
Please check your console for more information!
[ERROR] Lua is unable to understand file “darkrp_customthings/jobs.lua” because its author made a mistake around line number 93.
The best help I can give you is this:

There is an opening ‘{’ bracket at line 80, but this bracket is never closed or not closed in time. It was expected to be closed before the ‘)’ at line 93.

Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it’s there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won’t: ({)}.

------- End of Simplerr error -------

jobs.lua

TEAM_POLICE = DarkRP.createJob(“Policer”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/portal/f_police.mdl”,
“models/player/portal/f_police2.mdl”,
“models/player/portal/f_police3.mdl”,
“models/player/portal/f_police4.mdl”,
“models/player/portal/f_police5.mdl”,
“models/player/portal/f_police6.mdl”,
},
description = [[Policier]],
weapons = {“fas2_p226”, “fas2_g3”}, “weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_police”},
command = “police”,
max = 8,
salary = 80,
admin = 0,
vote = true,
hasLicense = true,
})

TEAM_Hack = DarkRP.createJob(“Hacker”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/anonymous_hacktivist.mdl”,
},
description = [[Hacker]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_arc_atmhack”, “keypad_cracker”},
command = “hacker”,
max = 3,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Mayor = DarkRP.createJob(“Maire”, {
color = Color(20, 150, 20, 255),
model = {
“models/Obama/Obama.mdl”,
},
description = [[Vous Etes le Maire]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”},
command = “Mayo”,
max = 1,
salary = 150,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
})

TEAM_Thief = DarkRP.createJob(“Voleur”, {
color = Color(25, 25, 170, 255),
model = {
“models/code_gs/robber/robberplayer.mdl”,
},
description = [[Voleur]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “lockpick”, “keypad_cracker”, “deathdisturbance_pickpocket”},
command = “voleur”,
max = 4,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Meth = DarkRP.createJob(“Fabriquant De Meth”, {
color = Color(25, 25, 170, 255),
model = {
“models/Agent_47/agent_47.mdl”,
},
description = [[Fabriquant De Meth]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”},
command = “Meth”,
max = 4,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Mafia = DarkRP.createJob(“Mafieux”, {
color = Color(25, 25, 170, 255),
model = {
“models/fearless/mafia02.mdl”,
“models/fearless/mafia03.mdl”,
“models/fearless/mafia04.mdl”,
“models/fearless/mafia05.mdl”,
“models/fearless/mafia06.mdl”,
“models/fearless/mafia07.mdl”,
“models/fearless/mafia08.mdl”,
“models/fearless/mafia09.mdl”,
},
description = [[Mafieux]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “fas2_p226”},
command = “Mafia”,
max = 4,
salary = 65,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Bloodz = DarkRP.createJob(“Bloodz”, {
color = Color(25, 25, 170, 255),
model = {
“models\player\slow\jknies\bloodz/slow_1.mdl”,
“models\player\slow\jknies\bloodz/slow_2.mdl”,
},
description = [[Bloodz vous etes enemi avec les Cripz et les Ms13]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”},
command = “bloodz”,
max = 3,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Cripz = DarkRP.createJob(“Cripz”, {
color = Color(25, 25, 170, 255),
model = {
“models\player\slow\jknies\cripz/slow_1.mdl”,
“models\player\slow\jknies\cripz/slow_2.mdl”,
},
description = [[Cripz vous etes enemi avec les Blood et les Ms13]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”},
command = “cripz”,
max = 3,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Ms13 = DarkRP.createJob(“Ms13”, {
color = Color(25, 25, 170, 255),
model = {
“models/ms13/slow_1.mdl”,
“models/ms13/slow_2.mdl”,
},
description = [[Ms13 vous etes enemi avec les Blood et les Cripz]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”},
command = “ms13”,
max = 3,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Chief = DarkRP.createJob(“Commissaire”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/uk_police/uk_police_01.mdl”,
},
description = [[Le commisaire coordonne les policiers, il dirige le commissariat et c’est lui qui dirige les operations. Respectez le sous peine d’etre virez de la police.]],
weapons = {“keypad_cracker”, “weapon_stungun”, “weapon_fists”, “arrest_stick”, “unarrest_stick”, “fas2_deagle”, “stunstick”, “door_ram”, “weaponchecker”, “fas2_mp5a5”, “pocket”,“weapon_arc_atmcard”, “weapon_cuff_elastic”},
command = “commissaire”,
max = 1,
salary = 115,
admin = 0,
vote = false,
hasLicense = false,
NeedToChangeFrom = TEAM_POLICE,
})

TEAM_BANK = DarkRP.createJob(“Banquier”, {
color = Color(255, 215, 0, 255),
model = “models/player/gman_high.mdl”,
“models/player/kleiner.mdl”,
},
description = [[Occupez vous des printers de vos clients.]],
weapons = {“weapon_fists”,“weapon_arc_atmcard”,“pocket”},
command = “bank”,
max = 2,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,

})

TEAM_ChefM13 = DarkRP.createJob(“Chef des Ms13”, {
color = Color(25, 25, 170, 255),
model = {
“models/ms13/slow_3.mdl”,
},
description = [[Il Dirige Les Ms13]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”, “fas2_ragingbull”},
command = “MsChief”,
max = 1,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
NeedToChangeFrom = TEAM_Ms13,
})

TEAM_Chefripz = DarkRP.createJob(“Chef des Cripz”, {
color = Color(25, 25, 170, 255),
model = {
“models\player\slow\jknies\cripz/slow_3.mdl”,
},
description = [[Il Dirige Les Cripz]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”, “fas2_ragingbull”},
command = “CrChief”,
max = 1,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
NeedToChangeFrom = TEAM_Cripz,
})

TEAM_ChefBloodz = DarkRP.createJob(“Chef des Bloodz”, {
color = Color(25, 25, 170, 255),
model = {
“models\player\slow\jknies\bloodz/slow_3.mdl”,
},
description = [[Il Dirige Les Bloodz]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”, “fas2_ragingbull”},
command = “BlChief”,
max = 1,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
NeedToChangeFrom = TEAM_Bloodz,
})

TEAM_MafChief = DarkRP.createJob(“Parrain De La Mafia”, {
color = Color(25, 25, 170, 255),
model = {
“models/vito.mdl”,
},
description = [[Il Dirige La Mafia]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”, “fas2_ragingbull”, “fas2_ks23”, “fas2_ifak”, “fas2_dv2”, “fas2_glock20”},
command = “MaChief”,
max = 1,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
NeedToChangeFrom = TEAM_Mafia,
})

Use lua tags, but on the first job you posted you have:

[lua]
weapons = {“fas2_p226”, “fas2_g3”}, “weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_police”},
[/lua]

Where it should be

[lua]
weapons = {“fas2_p226”, “fas2_g3”, “weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_police”},
[/lua]

Thank you all :quotes: :goodjob: :smile:

Hello all the time I fix a problem are another appears that most jobs I created its good or not and when I want to change jobs brand control and it does not change jobs
here is my jobs.lua again :speechless:

TEAM_POLICE = DarkRP.createJob(“Policer”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/portal/f_police.mdl”,
“models/player/portal/f_police2.mdl”,
“models/player/portal/f_police3.mdl”,
“models/player/portal/f_police4.mdl”,
“models/player/portal/f_police5.mdl”,
“models/player/portal/f_police6.mdl”,
},
description = [[Policier]],
weapons = {“fas2_p226”, “fas2_g3”, “weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_police”},
command = “police”,
max = 8,
salary = 80,
admin = 0,
vote = true,
hasLicense = true,
})

TEAM_Hack = DarkRP.createJob(“Hacker”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/anonymous_hacktivist.mdl”,
},
description = [[Hacker]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_arc_atmhack”, “keypad_cracker”},
command = “hacker”,
max = 3,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Mayor = DarkRP.createJob(“Maire”, {
color = Color(20, 150, 20, 255),
model = {
“models/Obama/Obama.mdl”,
},
description = [[Vous Etes le Maire]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”},
command = “Mayo”,
max = 1,
salary = 150,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
})

TEAM_Thief = DarkRP.createJob(“Voleur”, {
color = Color(25, 25, 170, 255),
model = {
“models/code_gs/robber/robberplayer.mdl”,
},
description = [[Voleur]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “lockpick”, “keypad_cracker”, “deathdisturbance_pickpocket”},
command = “voleur”,
max = 4,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Meth = DarkRP.createJob(“Fabriquant De Meth”, {
color = Color(25, 25, 170, 255),
model = {
“models/Agent_47/agent_47.mdl”,
},
description = [[Fabriquant De Meth]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”},
command = “Meth”,
max = 4,
salary = 35,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Mafia = DarkRP.createJob(“Mafieux”, {
color = Color(25, 25, 170, 255),
model = {
“models/fearless/mafia02.mdl”,
“models/fearless/mafia03.mdl”,
“models/fearless/mafia04.mdl”,
“models/fearless/mafia05.mdl”,
“models/fearless/mafia06.mdl”,
“models/fearless/mafia07.mdl”,
“models/fearless/mafia08.mdl”,
“models/fearless/mafia09.mdl”,
},
description = [[Mafieux]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “fas2_p226”},
command = “Mafia”,
max = 4,
salary = 65,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Bloodz = DarkRP.createJob(“Bloodz”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/bloodz/slow_1.mdl”,
“models/player/bloodz/slow_2.mdl”,
},
description = [[Bloodz vous etes ennnemi avec les Cripz et les Ms13]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”},
command = “bloodz”,
max = 3,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Cripz = DarkRP.createJob(“Cripz”, {
color = Color(25, 25, 170, 255),
model = {
"models/player/cripz/slow_1.mdl ",
"models/player/cripz/slow_2.mdl ",
},
description = [[Cripz vous etes ennemi avec les Blood et les Ms13]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”},
command = “cripz”,
max = 3,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Ms13 = DarkRP.createJob(“Ms13”, {
color = Color(25, 25, 170, 255),
model = {
“models/ms13/slow_1.mdl”,
“models/ms13/slow_2.mdl”,
},
description = [[Ms13 vous etes ennemi avec les Blood et les Cripz]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”},
command = “ms13”,
max = 3,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
})

TEAM_Chief = DarkRP.createJob(“Commissaire”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/uk_police/uk_police_01.mdl”,
},
description = [[Le commisaire coordonne les policiers, il dirige le commissariat et c’est lui qui dirige les operations. Respectez le sous peine d’etre virez de la police.]],
weapons = {“keypad_cracker”, “weapon_stungun”, “weapon_fists”, “arrest_stick”, “unarrest_stick”, “fas2_deagle”, “stunstick”, “door_ram”, “weaponchecker”, “fas2_mp5a5”, “pocket”,“weapon_arc_atmcard”, “weapon_cuff_elastic”},
command = “commissaire”,
max = 1,
salary = 115,
admin = 0,
vote = false,
hasLicense = false,
NeedToChangeFrom = TEAM_POLICE,
})

TEAM_ChefM13 = DarkRP.createJob(“Chef des Ms13”, {
color = Color(25, 25, 170, 255),
model = {
“models/ms13/slow_3.mdl”,
},
description = [[Il Dirige Les Ms13]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”, “fas2_ragingbull”},
command = “MsChief”,
max = 1,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
NeedToChangeFrom = TEAM_Ms13,
})

TEAM_Chefripz = DarkRP.createJob(“Chef des Cripz”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/cripz/slow_3.mdl”,
},
description = [[Il Dirige Les Cripz]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”, “fas2_ragingbull”},
command = “CrChief”,
max = 1,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
NeedToChangeFrom = TEAM_Cripz,
})

TEAM_ChefBloodz = DarkRP.createJob(“Chef des Bloodz”, {
color = Color(25, 25, 170, 255),
model = {
“models/player/bloodz/slow_3.mdl”,
},
description = [[Il Dirige Les Bloodz]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”, “fas2_ragingbull”},
command = “BlChief”,
max = 1,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
NeedToChangeFrom = TEAM_Bloodz,
})

TEAM_MafChief = DarkRP.createJob(“Parrain De La Mafia”, {
color = Color(25, 25, 170, 255),
model = {
“models/vito.mdl”,
},
description = [[Il Dirige La Mafia]],
weapons = {“weapon_fists”, “weapon_arc_atmcard”, “pocket”, “weapon_cuff_standard”, “fas2_ragingbull”, “fas2_ks23”, “fas2_ifak”, “fas2_dv2”, “fas2_glock20”},
command = “MaChief”,
max = 1,
salary = 90,
admin = 0,
vote = false,
hasLicense = false,
NeedToChangeFrom = TEAM_Mafia,
})

thanks for the help

Any errors? Also, use code tags. And generally, TEAM enums should be all caps for coding practice.