Darkrp no classes

Recently i have started coding my darkrp server and now i have made some new classes and when i start the server, they’re not there.
I do not know what i did wrong, so i was wondering if anyone could help me fix it.
This is how my shared.lua looks like, before i changed it it worked. But now i changed alot and it dosent work anymore.


/*--------------------------------------------------------
Default teams. If you make a team above the citizen team, people will spawn with that team!
--------------------------------------------------------*/
TEAM_CITIZEN = AddExtraTeam("Citizen", {
	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 = [[The Citizen is the most basic level of society you can hold
		besides being a hobo.
		You have no specific role in city life.]],
	weapons = {},
	command = "citizen",
	max = 0,
	salary = 45,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_POLICE = AddExtraTeam("Civil Protection", {
	color = Color(25, 25, 170, 255),
	model = "models/player/police.mdl",
	description = [[The protector of every citizen that lives in the city .
		You have the power to arrest criminals and protect innocents.
		Hit them with your arrest baton to put them in jail
		Bash them with a stunstick and they might learn better than to disobey
		the law.
		The Battering Ram can break down the door of a criminal with a warrant
		for his/her arrest.
		The Battering Ram can also unfreeze frozen props(if enabled).
		Type /wanted <name> to alert the public to this criminal
		OR go to tab and warrant someone by clicking the warrant button]],
	weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_usp", "stunstick", "weapon_mad_m3", "door_ram", "weaponchecker", "taser"},
	command = "cp",
	max = 4,
	salary = 65,
	admin = 0,
	vote = true,
	hasLicense = true
})

TEAM_GANG = AddExtraTeam("Third-street saint", {
	color = Color(153, 51, 255, 255),
	model = {
		"models/player/Group03/Female_01.mdl",
		"models/player/Group03/Female_02.mdl",
		"models/player/Group03/Female_03.mdl",
		"models/player/Group03/Female_04.mdl",
		"models/player/Group03/Female_06.mdl",
		"models/player/group03/male_01.mdl",
		"models/player/Group03/Male_02.mdl",
		"models/player/Group03/male_03.mdl",
		"models/player/Group03/Male_04.mdl",
		"models/player/Group03/Male_05.mdl",
		"models/player/Group03/Male_06.mdl",
		"models/player/Group03/Male_07.mdl",
		"models/player/Group03/Male_08.mdl",
		"models/player/Group03/Male_09.mdl"},
	description = [[The lowest person of crime.
		A third-street saint generally works for the leader of the Saints who runs the crime family.
		The leader of the Saints sets your agenda and you follow it or you might be punished.]],
	weapons = {"weapon_fists"},
	command = "saint",
	max = 5,
	salary = 45,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_Saintsmob = AddExtraTeam("Leader of the third-street Saints", {
	color = Color(153, 51, 255, 255),
	model = "models/player/gman_high.mdl",
	description = [[The leader of the third-street saints.		With his power he coordinates the saints and forms an efficent crime
		organization.
		He has the ability to break into houses by using a lockpick.
		The Mobboss also can unarrest you.
If he or any of the other saints see any Syndicate members, they will be
 shot on sight.]],
	weapons = {"weapon_fists", "lockpick", "unarrest_stick", "weapon_mad_dual"},
	command = "Saintsboss",
	max = 1,
	salary = 60,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_Syndicatemob = AddExtraTeam("Syndicate leader", {
	color = Color(255, 0, 0, 255),
	model = "models/player/gman_high.mdl",
	description = [[The leader of the Syndicate.
		With his power he coordinates the Syndicate and forms an efficent crime
		organization.
		He has the ability to break into houses by using a lockpick.
		The Mobboss also can unarrest you.
If he or any of the other Syndicate members see any Saints 
members,
 they will be shot on sight.]],
	weapons = {"lockpick", "unarrest_stick", "weapon_mad_57"},
	command = "Syndicateboss",
	max = 1,
	salary = 60,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_Syndicate = AddExtraTeam("Syndicate member", {
	color = Color(255, 0, 0, 255),
	model = {
		"models/player/Group03/Female_01.mdl",
		"models/player/Group03/Female_02.mdl",
		"models/player/Group03/Female_03.mdl",
		"models/player/Group03/Female_04.mdl",
		"models/player/Group03/Female_06.mdl",
		"models/player/group03/male_01.mdl",
		"models/player/Group03/Male_02.mdl",
		"models/player/Group03/male_03.mdl",
		"models/player/Group03/Male_04.mdl",
		"models/player/Group03/Male_05.mdl",
		"models/player/Group03/Male_06.mdl",
		"models/player/Group03/Male_07.mdl",
		"models/player/Group03/Male_08.mdl",
		"models/player/Group03/Male_09.mdl"},
	description = [[The lowest person of crime.
		A Syndicate member generally works for the leader of the Syndicate who runs the crime family.
		The leader of the Syndicate sets your agenda and you follow it or you might be punished.]],
	weapons = {"weapon_fists"},
	command = "Syndicate",
	max = 5,
	salary = 45,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_GUN = AddExtraTeam("Gun Dealer", {
	color = Color(255, 140, 0, 255),
	model = "models/player/monk.mdl",
	description = [[A gun dealer is the only person who can sell guns to other
		people.
		However, make sure you aren't caught selling guns that are illegal to
		the public.
		/Buyshipment <name> to Buy a  weapon shipment
		/Buygunlab to Buy a gunlab that spawns P228 pistols]],
	weapons = {"weapon_fists"},
	command = "gundealer",
	max = 2,
	salary = 45,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_MEDIC = AddExtraTeam("Medic", {
	color = Color(47, 79, 79, 255),
	model = "models/player/kleiner.mdl",
	description = [[With your medical knowledge,
		you heal players to proper
		health.
		Without a medic, people can not be healed.
		Left click with the Medical Kit to heal other players.
		Right click with the Medical Kit to heal yourself.]],
	weapons = {"med_kit"},
	command = "medic",
	max = 3,
	salary = 45,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_COOK = AddExtraTeam("Cook", {
	color = Color(238, 99, 99, 255),
	model = "models/player/mossman.mdl",
	description = [[As a cook, it is your responsibility to feed the other members
		of your city.
		You can spawn a microwave and sell the food you make:
		/Buymicrowave]],
	weapons = {},
	command = "cook",
	max = 2,
	salary = 45,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_CHIEF = AddExtraTeam("Civil Protection Chief", {
	color = Color(20, 20, 255, 255),
	model = "models/player/combine_soldier_prisonguard.mdl",
	description = [[The Chief is the leader of the Civil Protection unit.
		Coordinate the police forces to bring law to the city
		Hit them with arrest baton to put them in jail
		Bash them with a stunstick and they might learn better than to
		disobey the law.
		The Battering Ram can break down the door of a criminal with a
		warrant for his/her arrest.
		Type /wanted <name> to alert the public to this criminal
		Type /jailpos to set the Jail Position]],
	weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_deagle", "stunstick", "door_ram", "weaponchecker", "taser", "weapon_mad_xm1014"},
	command = "chief",
	max = 1,
	salary = 75,
	admin = 0,
	vote = false,
	hasLicense = true,
	NeedToChangeFrom = TEAM_POLICE
})

TEAM_MAYOR = AddExtraTeam("Mayor", {
	color = Color(150, 20, 20, 255),
	model = "models/player/breen.mdl",
	description = [[The Mayor of the city creates laws to serve the greater good
	of the people.
	If you are the mayor you may create and accept warrants.
	Type /wanted <name>  to warrant a player
	Type /jailpos to set the Jail Position
	Type /lockdown initiate a lockdown of the city.
	Everyone must be inside during a lockdown.
	The cops patrol the area
	/unlockdown to end a lockdown]],
	weapons = {"weapon_mad_357"},
	command = "mayor",
	max = 1,
	salary = 85,
	admin = 0,
	vote = true,
	hasLicense = false
})

TEAM_HOBO = AddExtraTeam("Hobo", {
	color = Color(80, 45, 0, 255),
	model = "models/player/corpse1.mdl",
	description = [[You're homeless.
	Beg for your food and money
	Sing for everyone who passes to get money
	Make your own wooden home somewhere in a corner or
	outside someone else's door.
You may also have hobo fights and people can bet on who is going to win.]],
	weapons = {"weapon_bugbait", "weapon_fists"},
	command = "hobo",
	max = 5,
	salary = 0,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_THIEF = AddExtraTeam("Thief", {
	color = Color(110, 15, 60, 255),
	model = "models/player/arctic.mdl",
	description = [[Raid peoples houses for money, guns,
	weapons, cash cards and even more! Hire people to
	help you raid some houses]],
	weapons = {"lockpick", "weapon_mad_p228", "weapon_fists"},
	command = "Thief",
	max = 2,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_HITMAN = AddExtraTeam("Hitman", {
	color = Color(160, 80, 70, 255),
	model = "models/player/guerilla.mdl",
	description = [[Get payed to take some people out, but
	be careful not to get caught by the police. Dont RDM
	as well!]],
	weapons = {"weapon_mad_awp", "weapon_fists"},
	command = "hitman",
	max = 1,
	salary = 0,
	admin = 0,
	vote = true,
	hasLicense = false
})

TEAM_GUARD = AddExtraTeam("Guard", {
	color = Color(180, 90, 75, 255),
	model = "models/player/odessa.mdl",
	description = [[Guard peoples homes, guard them and
	even get people to guard you! The best place to guard
	are gun stores and printer storage places.]],
	weapons = {"weapon_mad_mac10", "weapon_fists"},
	command = "guard",
	max = 2,
	salary = 40,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_MARKET = AddExtraTeam("Black Market", {
	color = Color(150, 20, 10, 255),
	model = "models/player/eli.mdl",
	description = [[Sell illegal stuff to everyone.]],
	weapons = {},
	command = "market",
	max = 2,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_ADMIN = AddExtraTeam("Admin on Duty", {
	color = Color(130, 60, 20, 255),
	model = "models/player/combine_super_soldier.mdl",
	description = [[Your an admin, help the server out
	as much as you can!]],
	weapons = {},
	command = "admin",
	max = 10,
	salary = 100,
	admin = 1,
	vote = false,
	hasLicense = false
})

TEAM_SUPER = AddExtraTeam("Super Admin on Duty", {
	color = Color(0, 0, 0, 0),
	model = "models\jessev92\player\misc\creepr.mdl",
	description = [[You are the superadmin, leader of all
	other admins. Make sure there are no abusers and that the
	server stays fun and safe.]],
	weapons = {"unarrest_stick", "arrest_stick"},
	command = "superadmin",
	max = 10,
	salary = 200,
	admin = 2,
	vote = false,
	hasLicense = false
}) 

TEAM_DRUG = AddExtraTeam("Drug Dealer", {
	color = Color(10, 140, 110, 255),
	model = "models\jessev92\player\misc\creepr.mdl",
	description = [[Sell drugs to people, buy a druglab
	and stash drugs in your apartmant / store!
	
	/buydruglab to buy a drug lab.]],
	weapons = {"weapon_fists"},
	command = "drug",
	max = 1,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_DANCER = AddExtraTeam("Dirty Dancer", {
	color = Color(25, 85, 110, 255),
	model = "models/player/alyx.mdl",
	description = [[Dance for men and get paid good
	cash. Maybe open up for own store and dance
	in the spotlight!
	
	PS: For a spotlight ask an online admin.]],
	weapons = {"weapon_fists"},
	command = "dancer",
	max = 3,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_LEADER = AddExtraTeam("S.W.A.T. Leader", {
	color = Color(0, 153, 0, 255),
	model = "models/player/urban.mdl",
	description = [[Lead the SWAT team and make sure
	there are no Traitors.]],
	weapons = {"weapon_mad_deagle", "stunstick", "door_ram", "weaponchecker", "weapon_real_cs_mp5a5", "weapon_real_cs_m4a1"},
	command = "leader",
	max = 1,
	salary = 90,
	admin = 0,
	vote = true,
	hasLicense = true
})

TEAM_SWAT = AddExtraTeam("S.W.A.T.", {
	color = Color(0, 153, 0, 255),
	model = "models/player/urban.mdl",
	description = [[Take out unwanted people with your sniper,
	however. If you kill someone it must be orders from the
	SWAT Leader!]],
	weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_deagle", "stunstick", "door_ram", "weaponchecker", "weapon_real_cs_m4a1"},
	command = "swat",
	max = 4,
	salary = 70,
	admin = 0,
	vote = true,
	hasLicense = true
})

TEAM_JUDGE = AddExtraTeam("Judge", {
	color = Color(25, 25, 25, 255),
	model = "models/player/combine_super_soldier.mdl",
	description = [[You are the Judges of the City. Your
	role is more important than any others, its to protect
	everyone with lethal force and cars if needed.]],
	weapons = {"ls_sniper", "weapon_fists"},
	command = "judge",
	max = 5,
	salary = 90,
	admin = 1,
	vote = true,
	hasLicense = true
})

TEAM_BANKER = AddExtraTeam("Banker", {
	color = Color(100, 100, 100, 255),
	model = "models/player/kleiner.mdl",
	description = [[Take peoples money and hold interest.]],
	weapons = {"weapon_fists"},
	command = "banker",
	max = 2,
	salary = 50,
	admin = 0,
	vote = false,
	hasLicense = false
})

TEAM_KING = AddExtraTeam("Hobo King", {
	color = Color(200, 150, 200, 255),
	model = "models/player/Charple01.mdl",
	description = [[Lead the Hobos.]],
	weapons = {"weapon_fists"},
	command = "king",
	max = 1,
	salary = 0,
	admin = 0,
	vote = false,
	hasLicense = false
})









//ADD CUSTOM TEAMS UNDER THIS LINE:
TEAM_ENTERTAINER = AddExtraTeam("Entertainer", Color(204, 0, 255, 255), "models/player/daftpunk/daft_gold.mdl", [[The entertainer.
He entertains the people of the town, sings, and
plays music.
He is allowed to do crime and drugs, because he\'s
famous.
If you do arrest him he will quickly get out
because of his contacts.]], {"gmod_tool","pocket","weapon_stunstick","unarrest_stick", "keys", "weapon_nyangun"}, "entertainer", 1, 1337, 1, true, false, false)
})

TEAM_SWATSNIPER = AddExtraTeam("S.W.A.T Sniper", Color(0, 153, 0, 255), "models/player/urban.mdl", [[The sniper.
He takes out unwanted people from a distance.
Always listen to the S.W.A.T Leader or be demoted
for failrp.]], {"gmod_tool","keys","pocket","weapon_mad_awp","weapon_mad_deagle","door_ram","stunstick","weaponchecker"}, "swatsniper", 1, 80, 0, true, true, false)










/*
--------------------------------------------------------
HOW TO MAKE A DOOR GROUP
--------------------------------------------------------
AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.)

WARNING: THE DOOR GROUPS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!


The default door groups, can also be used as examples:
*/
AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
AddDoorGroup("Gundealer only", TEAM_GUN)


/*
--------------------------------------------------------
HOW TO MAKE AN AGENDA
--------------------------------------------------------
AddAgenda(Title of the agenda, Manager (who edits it), Listeners (the ones who just see and follow the agenda))

WARNING: THE AGENDAS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!

The default agenda's, can also be used as examples:
*/
AddAgenda("Gangster's agenda", TEAM_MOB, {TEAM_GANG})
AddAgenda("Police agenda", TEAM_MAYOR, {TEAM_CHIEF, TEAM_POLICE})


/*
---------------------------------------------------------------------------
HOW TO MAKE A GROUP CHAT
---------------------------------------------------------------------------
Pick one!
GAMEMODE:AddGroupChat(List of team variables separated by comma)

or

GAMEMODE:AddGroupChat(a function with ply as argument that returns whether a random player is in one chat group)
This one is for people who know how to script Lua.

*/
GM:AddGroupChat(function(ply) return ply:IsCP() end)
GM:AddGroupChat(TEAM_MOB, TEAM_GANG)

bump

Try this.


/*--------------------------------------------------------
Default teams. If you make a team above the citizen team, people will spawn with that team!
--------------------------------------------------------*/
TEAM_CITIZEN = AddExtraTeam("Citizen", {
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 = [[The Citizen is the most basic level of society you can hold
besides being a hobo.
You have no specific role in city life.]],
weapons = {},
command = "citizen",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_POLICE = AddExtraTeam("Civil Protection", {
color = Color(25, 25, 170, 255),
model = "models/player/police.mdl",
description = [[The protector of every citizen that lives in the city .
You have the power to arrest criminals and protect innocents.
Hit them with your arrest baton to put them in jail
Bash them with a stunstick and they might learn better than to disobey
the law.
The Battering Ram can break down the door of a criminal with a warrant
for his/her arrest.
The Battering Ram can also unfreeze frozen props(if enabled).
Type /wanted <name> to alert the public to this criminal
OR go to tab and warrant someone by clicking the warrant button]],
weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_usp", "stunstick", "weapon_mad_m3", "door_ram", "weaponchecker", "taser"},
command = "cp",
max = 4,
salary = 65,
admin = 0,
vote = true,
hasLicense = true
})

TEAM_GANG = AddExtraTeam("Third-street saint", {
color = Color(153, 51, 255, 255),
model = {
"models/player/Group03/Female_01.mdl",
"models/player/Group03/Female_02.mdl",
"models/player/Group03/Female_03.mdl",
"models/player/Group03/Female_04.mdl",
"models/player/Group03/Female_06.mdl",
"models/player/group03/male_01.mdl",
"models/player/Group03/Male_02.mdl",
"models/player/Group03/male_03.mdl",
"models/player/Group03/Male_04.mdl",
"models/player/Group03/Male_05.mdl",
"models/player/Group03/Male_06.mdl",
"models/player/Group03/Male_07.mdl",
"models/player/Group03/Male_08.mdl",
"models/player/Group03/Male_09.mdl"},
description = [[The lowest person of crime.
A third-street saint generally works for the leader of the Saints who runs the crime family.
The leader of the Saints sets your agenda and you follow it or you might be punished.]],
weapons = {"weapon_fists"},
command = "saint",
max = 5,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_SAINTSMOB = AddExtraTeam("Leader of the third-street Saints", {
color = Color(153, 51, 255, 255),
model = "models/player/gman_high.mdl",
description = [[The leader of the third-street saints.	 With his power he coordinates the saints and forms an efficent crime
organization.
He has the ability to break into houses by using a lockpick.
The Mobboss also can unarrest you.
If he or any of the other saints see any Syndicate members, they will be
shot on sight.]],
weapons = {"weapon_fists", "lockpick", "unarrest_stick", "weapon_mad_dual"},
command = "Saintsboss",
max = 1,
salary = 60,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_SYNDICATEMOB = AddExtraTeam("Syndicate leader", {
color = Color(255, 0, 0, 255),
model = "models/player/gman_high.mdl",
description = [[The leader of the Syndicate.
With his power he coordinates the Syndicate and forms an efficent crime
organization.
He has the ability to break into houses by using a lockpick.
The Mobboss also can unarrest you.
If he or any of the other Syndicate members see any Saints 
members,
they will be shot on sight.]],
weapons = {"lockpick", "unarrest_stick", "weapon_mad_57"},
command = "Syndicateboss",
max = 1,
salary = 60,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_SYNDICATE = AddExtraTeam("Syndicate member", {
color = Color(255, 0, 0, 255),
model = {
"models/player/Group03/Female_01.mdl",
"models/player/Group03/Female_02.mdl",
"models/player/Group03/Female_03.mdl",
"models/player/Group03/Female_04.mdl",
"models/player/Group03/Female_06.mdl",
"models/player/group03/male_01.mdl",
"models/player/Group03/Male_02.mdl",
"models/player/Group03/male_03.mdl",
"models/player/Group03/Male_04.mdl",
"models/player/Group03/Male_05.mdl",
"models/player/Group03/Male_06.mdl",
"models/player/Group03/Male_07.mdl",
"models/player/Group03/Male_08.mdl",
"models/player/Group03/Male_09.mdl"},
description = [[The lowest person of crime.
A Syndicate member generally works for the leader of the Syndicate who runs the crime family.
The leader of the Syndicate sets your agenda and you follow it or you might be punished.]],
weapons = {"weapon_fists"},
command = "Syndicate",
max = 5,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_GUN = AddExtraTeam("Gun Dealer", {
color = Color(255, 140, 0, 255),
model = "models/player/monk.mdl",
description = [[A gun dealer is the only person who can sell guns to other
people.
However, make sure you aren't caught selling guns that are illegal to
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols]],
weapons = {"weapon_fists"},
command = "gundealer",
max = 2,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_MEDIC = AddExtraTeam("Medic", {
color = Color(47, 79, 79, 255),
model = "models/player/kleiner.mdl",
description = [[With your medical knowledge,
you heal players to proper
health.
Without a medic, people can not be healed.
Left click with the Medical Kit to heal other players.
Right click with the Medical Kit to heal yourself.]],
weapons = {"med_kit"},
command = "medic",
max = 3,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_COOK = AddExtraTeam("Cook", {
color = Color(238, 99, 99, 255),
model = "models/player/mossman.mdl",
description = [[As a cook, it is your responsibility to feed the other members
of your city.
You can spawn a microwave and sell the food you make:
/Buymicrowave]],
weapons = {},
command = "cook",
max = 2,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_CHIEF = AddExtraTeam("Civil Protection Chief", {
color = Color(20, 20, 255, 255),
model = "models/player/combine_soldier_prisonguard.mdl",
description = [[The Chief is the leader of the Civil Protection unit.
Coordinate the police forces to bring law to the city
Hit them with arrest baton to put them in jail
Bash them with a stunstick and they might learn better than to
disobey the law.
The Battering Ram can break down the door of a criminal with a
warrant for his/her arrest.
Type /wanted <name> to alert the public to this criminal
Type /jailpos to set the Jail Position]],
weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_deagle", "stunstick", "door_ram", "weaponchecker", "taser", "weapon_mad_xm1014"},
command = "chief",
max = 1,
salary = 75,
admin = 0,
vote = false,
hasLicense = true,
NeedToChangeFrom = TEAM_POLICE
})

TEAM_MAYOR = AddExtraTeam("Mayor", {
color = Color(150, 20, 20, 255),
model = "models/player/breen.mdl",
description = [[The Mayor of the city creates laws to serve the greater good
of the people.
If you are the mayor you may create and accept warrants.
Type /wanted <name> to warrant a player
Type /jailpos to set the Jail Position
Type /lockdown initiate a lockdown of the city.
Everyone must be inside during a lockdown.
The cops patrol the area
/unlockdown to end a lockdown]],
weapons = {"weapon_mad_357"},
command = "mayor",
max = 1,
salary = 85,
admin = 0,
vote = true,
hasLicense = false
})

TEAM_HOBO = AddExtraTeam("Hobo", {
color = Color(80, 45, 0, 255),
model = "models/player/corpse1.mdl",
description = [[You're homeless.
Beg for your food and money
Sing for everyone who passes to get money
Make your own wooden home somewhere in a corner or
outside someone else's door.
You may also have hobo fights and people can bet on who is going to win.]],
weapons = {"weapon_bugbait", "weapon_fists"},
command = "hobo",
max = 5,
salary = 0,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_THIEF = AddExtraTeam("Thief", {
color = Color(110, 15, 60, 255),
model = "models/player/arctic.mdl",
description = [[Raid peoples houses for money, guns,
weapons, cash cards and even more! Hire people to
help you raid some houses]],
weapons = {"lockpick", "weapon_mad_p228", "weapon_fists"},
command = "Thief",
max = 2,
salary = 50,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_HITMAN = AddExtraTeam("Hitman", {
color = Color(160, 80, 70, 255),
model = "models/player/guerilla.mdl",
description = [[Get payed to take some people out, but
be careful not to get caught by the police. Dont RDM
as well!]],
weapons = {"weapon_mad_awp", "weapon_fists"},
command = "hitman",
max = 1,
salary = 0,
admin = 0,
vote = true,
hasLicense = false
})

TEAM_GUARD = AddExtraTeam("Guard", {
color = Color(180, 90, 75, 255),
model = "models/player/odessa.mdl",
description = [[Guard peoples homes, guard them and
even get people to guard you! The best place to guard
are gun stores and printer storage places.]],
weapons = {"weapon_mad_mac10", "weapon_fists"},
command = "guard",
max = 2,
salary = 40,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_MARKET = AddExtraTeam("Black Market", {
color = Color(150, 20, 10, 255),
model = "models/player/eli.mdl",
description = [[Sell illegal stuff to everyone.]],
weapons = {},
command = "market",
max = 2,
salary = 50,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_ADMIN = AddExtraTeam("Admin on Duty", {
color = Color(130, 60, 20, 255),
model = "models/player/combine_super_soldier.mdl",
description = [[Your an admin, help the server out
as much as you can!]],
weapons = {},
command = "admin",
max = 10,
salary = 100,
admin = 1,
vote = false,
hasLicense = false
})

TEAM_SUPER = AddExtraTeam("Super Admin on Duty", {
color = Color(0, 0, 0, 0),
model = "models\jessev92\player\misc\creepr.mdl",
description = [[You are the superadmin, leader of all
other admins. Make sure there are no abusers and that the
server stays fun and safe.]],
weapons = {"unarrest_stick", "arrest_stick"},
command = "superadmin",
max = 10,
salary = 200,
admin = 2,
vote = false,
hasLicense = false
}) 

TEAM_DRUG = AddExtraTeam("Drug Dealer", {
color = Color(10, 140, 110, 255),
model = "models\jessev92\player\misc\creepr.mdl",
description = [[Sell drugs to people, buy a druglab
and stash drugs in your apartmant / store! /buydruglab to buy a drug lab.]],
weapons = {"weapon_fists"},
command = "drug",
max = 1,
salary = 50,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_DANCER = AddExtraTeam("Dirty Dancer", {
color = Color(25, 85, 110, 255),
model = "models/player/alyx.mdl",
description = [[Dance for men and get paid good
cash. Maybe open up for own store and dance
in the spotlight!

PS: For a spotlight ask an online admin.]],
weapons = {"weapon_fists"},
command = "dancer",
max = 3,
salary = 50,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_LEADER = AddExtraTeam("S.W.A.T. Leader", {
color = Color(0, 153, 0, 255),
model = "models/player/urban.mdl",
description = [[Lead the SWAT team and make sure
there are no Traitors.]],
weapons = {"weapon_mad_deagle", "stunstick", "door_ram", "weaponchecker", "weapon_real_cs_mp5a5", "weapon_real_cs_m4a1"},
command = "leader",
max = 1,
salary = 90,
admin = 0,
vote = true,
hasLicense = true
})

TEAM_SWAT = AddExtraTeam("S.W.A.T.", {
color = Color(0, 153, 0, 255),
model = "models/player/urban.mdl",
description = [[Take out unwanted people with your sniper,
however. If you kill someone it must be orders from the
SWAT Leader!]],
weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_deagle", "stunstick", "door_ram", "weaponchecker", "weapon_real_cs_m4a1"},
command = "swat",
max = 4,
salary = 70,
admin = 0,
vote = true,
hasLicense = true
})

TEAM_JUDGE = AddExtraTeam("Judge", {
color = Color(25, 25, 25, 255),
model = "models/player/combine_super_soldier.mdl",
description = [[You are the Judges of the City. Your
role is more important than any others, its to protect
everyone with lethal force and cars if needed.]],
weapons = {"ls_sniper", "weapon_fists"},
command = "judge",
max = 5,
salary = 90,
admin = 1,
vote = true,
hasLicense = true
})

TEAM_BANKER = AddExtraTeam("Banker", {
color = Color(100, 100, 100, 255),
model = "models/player/kleiner.mdl",
description = [[Take peoples money and hold interest.]],
weapons = {"weapon_fists"},
command = "banker",
max = 2,
salary = 50,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_KING = AddExtraTeam("Hobo King", {
color = Color(200, 150, 200, 255),
model = "models/player/Charple01.mdl",
description = [[Lead the Hobos.]],
weapons = {"weapon_fists"},
command = "king",
max = 1,
salary = 0,
admin = 0,
vote = false,
hasLicense = false
})









//ADD CUSTOM TEAMS UNDER THIS LINE:
TEAM_ENTERTAINER = AddExtraTeam("Entertainer", {
color = Color(204, 0, 255, 255),
model = "models/player/daftpunk/daft_gold.mdl",
description = [[The entertainer.
He entertains the people of the town, sings, and
plays music.
He is allowed to do crime and drugs, because he\'s
famous.
If you do arrest him he will quickly get out
because of his contacts.]],
weapons = {"gmod_tool","pocket","weapon_stunstick","unarrest _stick", "keys", "weapon_nyangun"},
command = "entertainer",
max = 1,
salary = 1337,
admin = 1,
vote = true,
hasLicense = false
})

TEAM_SWATSNIPER = AddExtraTeam("S.W.A.T Sniper",
color = Color(0, 153, 0, 255),
model = "models/player/urban.mdl",
description = [[The sniper.
He takes out unwanted people from a distance.
Always listen to the S.W.A.T Leader or be demoted
for failrp.]],
weapons = {"gmod_tool","keys","pocket","weapon_mad_awp","wea pon_mad_deagle","door_ram","stunstick","weaponchec ker"},
command = "swatsniper",
max = 1,
salary = 80,
admin = 0,
vote = true,
hasLicense = true,
 })

Didnt work :l
Another problem is that everyone can buy guns, even citizens

Why don’t you show the lua errors that it’s reporting?

Also this belongs here; http://forum.facepunch.com/showthread.php?t=1249475

I dont see any lua errors, there’s just nothing in the jobs tab

bump

We CANNOT help you if you don’t provide the necessary information.

Find the error in your console, and report back. As for the guns being available to everyone,
this is an issue in your “addentities.lua”.

Also, this post doesn’t belong here.
Bump “Koz” ==> http://forum.facepunch.com/showthread.php?t=1249475