Making Custom Police Cops CP

So I have the following custom police teams, TEAM_COP TEAM_COP1 TEAM_COP2 TEAM_COP3 those are all my police teams.

Above my jobs.lua I have this code:

GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_COP] = true,
[TEAM_COP1] = true,
[TEAM_COP2] = true,
[TEAM_COP3] = true,
}

I get an error telling me the teams don’t exist, could I please get some support I went on google all over and couldn’t find anything, I tried putting team=chief on each job I wanted to be able to warrant but that still didn’t work.

Post the actual error here.

If it tells you the teams dont exist, youve obviously either not created the teams, or made an error when creating them.
Post your jobs.lua file including the file which has this code here.

Example of job:
TEAM_POLICE = DarkRP.createJob(“Police”, {
color = Color(4,12,131, 255),
model = {“models/player/nypd/male_02.mdl”, “models/player/nypd/male_04.mdl”, “models/player/nypd/male_05.mdl”, “models/player/nypd/male_06.mdl”, “models/player/nypd/male_07.mdl”, “models/player/nypd/male_08.mdl”, “models/player/nypd/male_09.mdl”},
description = [[To serve and protect and enforce the mayors laws/will.]],
weapons = {“m9k_hk45”, “weapon_rad15”, “weapon_stungun”, “arrest_stick”, “unarrest_stick”, “door_ram”, “weaponchecker”, “stunstick”, “weapon_cuff_plastic”},
command = “police”,
max = 4,
salary = 75,
admin = 0,
vote = true,
hasLicense = true,
category = “The Goodies”,
PlayerSpawn = function(ply) ply:SetArmor(20) end,
})

example list:

GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_PDCHIEF] = true,
[TEAM_PRISON_GUARD] = true,
[TEAM_SWAT] = true,
[TEAM_SWATS] = true,
[TEAM_SWATL] = true,
[TEAM_SWATM] = true,
[TEAM_SFL] = true,
[TEAM_SFJ] = true,
[TEAM_SFO] = true,
[TEAM_SFS] = true,
[TEAM_MAYOR] = true,
[TEAM_MAYORBG] = true,
}

You still haven’t posted the error you are getting…

Im not the OP i was just giving him an example of a job and a list.