Spawn Weapons

For some reason on my server all classes spawn with a arreststick, unarreststick, stunstick, and battering ram. I have no idea why. Does anyone know how to fix that?

In DarkRP>Gamemode, paste your Shared.lua in code tags.


/*--------------------------------------------------------
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,
	candemote = false,
	mayorCanSetSalary = false
})

TEAM_POLICE = AddExtraTeam("Police", {
	color = Color(25, 25, 170, 255),
	model = {"models/player/police.mdl", "models/player/police_fem.mdl"},
	description = [[The protector of every citizen that lives in the city .
		You have the power to arrest criminals and protect innocents.
		Hit a player with your arrest baton to put them in jail
		Bash a player with a stunstick and they may learn to obey
		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 the presence of a criminal.
		OR go to tab and warrant someone by clicking the warrant button]],
	weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"},
	command = "police",
	max = 4,
	salary = 65,
	admin = 0,
	vote = false,
	hasLicense = true,
	help = {
		"Please don't abuse your job",
		"When you arrest someone they are auto transported to jail.",
		"They are auto let out of jail after some time",
		"Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
		"Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
		"Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
		"Type /jailpos to set the jail position"
	}
})

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 illegal firearms to
		the public.
		/Buyshipment <name> to Buy a  weapon shipment
		/Buygunlab to Buy a gunlab that spawns P228 pistols]],
	weapons = {},
	command = "gundealer",
	max = 2,
	salary = 45,
	admin = 0,
	vote = false,
	hasLicense = false,
	mayorCanSetSalary = false
})

TEAM_MEDIC = AddExtraTeam("Medic", {
	color = Color(47, 79, 79, 255),
	model = "models/player/kleiner.mdl",
	description = [[With your medical knowledge,
		you work to restore players to full health.
		Without a medic, people cannot 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,
	medic = true,
	mayorCanSetSalary = false
})

TEAM_CHIEF = AddExtraTeam("Police 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 force to enforce law in the city.
		Hit a player with arrest baton to put them in jail.
		Bash a player with a stunstick and they may learn to
		obey 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 the presence of a criminal.]],
	weapons = {"arrest_stick", "bb_p228_alt", "bb_m3_alt", "stunstick", "door_ram", "weaponchecker"},
	command = "chief",
	max = 1,
	salary = 75,
	admin = 0,
	vote = true,
	hasLicense = true,
	chief = true,
	NeedToChangeFrom = TEAM_POLICE,
	help = {
		"Please don't abuse your job",
		"When you arrest someone they are auto transported to jail.",
		"They are auto let out of jail after some time",
		"Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player if you have seen illegal activity taking place",
		"Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect if you have seen them break the law",
		"Type /unwanted [Nick|SteamID|Status ID] to unwant the suspect"
	}
})

TEAM_MAYOR = AddExtraTeam("Mayor", {
	color = Color(150, 20, 20, 255),
	model = "models/player/breen.mdl",
	description = [[The Mayor of the city creates laws to govern the city.
	If you are the mayor you may create and accept warrants.
	Type /wanted <name>  to warrant a player
	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 = {},
	command = "mayor",
	max = 1,
	salary = 85,
	admin = 0,
	vote = true,
	hasLicense = true,
	mayor = true,
	help = {
		"Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
		"Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect.",
		"Type /unwanted [Nick|SteamID|Status ID] to clear the suspect.",
		"Type /lockdown to initiate a lockdown",
		"Type /unlockdown to end a lockdown",
		"Type /placelaws to place a screen containing the laws.",
		"Type /addlaw and /removelaw to edit the laws."
	}
})

TEAM_HOBO = AddExtraTeam("Hobo", {
	color = Color(80, 45, 0, 255),
	model = "models/player/corpse1.mdl",
	description = [[The lowest member of society. Everybody laughs at you.
		You have no home.
		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]],
	weapons = {"weapon_bugbait"},
	command = "hobo",
	max = 5,
	salary = 1,
	admin = 0,
	vote = false,
	hasLicense = false,
	candemote = false,
	hobo = true,
	mayorCanSetSalary = false
})

//ADD CUSTOM TEAMS UNDER THIS LINE:

TEAM_SWAT = AddExtraTeam("S.W.A.T.", Color(0, 102, 0, 255), "models/player/swat.mdl", [[You are a highly trained officer of the law. You
specialize in breaking down criminals doors and
hauling them off to jail.]], {"bb_mp5_alt","stunstick","arrest_stick","bb_p228_alt"}, "swat", 2, 70, 0, false, false, false)

TEAM_HITMAN = AddExtraTeam("Hitman", Color(51, 0, 51, 255), "models/player/gman_high.mdl", [[You silently end a specified persons existence for
money.]], {"bb_tmp_alt"}, "hitman", 2, 70, 0, false, false, false)

TEAM_THIEF = AddExtraTeam("Thief ", Color(255, 255, 0, 255), "models/player/Phoenix.mdl", [[You break into peoples homes and steal their
belongings for your own personal gain.]], {"lockpick"}, "thief", 102, 204, 0, false, false, false)

TEAM_DRUGDEALER = AddExtraTeam("Dug Dealer", Color(153, 51, 255, 255), "models/player/group01/Male_04.mdl",  [[It all started back in 8th grade when that nigga
down the block introduced you to the devils
lettuce. You became addicted, you couldn't afford
your habit so you searched for for ways to keep
high then one day after breaking into a house in
stead of taking it in the ass from your other
nigga Tyrone for money you decided to sell drugs.]], {}, "drugdealer", 3, 30, 0, false, false, false)

TEAM_BANKER = AddExtraTeam("Banker", Color(255, 102, 0, 255), "models/player/kleiner.mdl", [[You set up shop in the bank and store peoples
valuables for a fee.]], {}, "banker", 2, 85, 0, false, false, false)

TEAM_BLOODS = AddExtraTeam("Bloods Gangster", Color(255, 0, 0, 255), {"models/player/bloodz/slow_1.mdl", "models/player/bloodz/slow_2.mdl"}, [[You live a life of crime and your goal in life is
to wipe out the Crips and take over there turf.
You also tag your turf and conduct illicit
activities.
Rules:
You must warn people to get off your turf with a
10 second text warning and may only kill them if
they do not comply.]], {}, "bloods", 3, 45, 0, false, false, false)

TEAM_BLOODSBOSS = AddExtraTeam("Bloods Boss", Color(255, 0, 0, 255), "models/player/bloodz/slow_3.mdl", [[You are in charge of the Bloods. You live a life
of crime and your goal in life is to wipe out the
Crips and take over there turf. You also tag your
turf and conduct illicit activities.
Rules:
You must warn people to get off your turf with a
10 second text warning and may only kill them if
they do not comply.]], {}, "bloodsboss", 1, 55, 0, false, false, false)

TEAM_CRIPS = AddExtraTeam("Crips Gangster", Color(0, 0, 255, 255), {"models/player/cripz/slow_1.mdl", "models/player/cripz/slow_1.mdl"}, [[You live a life of crime and your goal in life is
to wipe out the Bloods and take over their turf.
You also tag your turf and conduct illicit
activities.
Rules:
You must warn people to get off your turf with a
10 second text warning and may only kill them if
they do not comply.]], {}, "crips", 3, 45, 0, false, false, false)

TEAM_CRIPSBOSS = AddExtraTeam("Crips Boss", Color(0, 0, 255, 255), "models/player/cripz/slow_1.mdl", [[You are in charge of the Crips. You live a life of
crime and your goal in life is to wipe out the
Bloods and take over their turf. You also tag your
turf and conduct illicit activities.
Rules:
You must warn people to get off your turf with a
10 second text warning and may only kill them if
they do not comply.]], {}, "cripsboss", 1, 55, 0, false, false, 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, TEAM_SWAT)

/*
--------------------------------------------------------
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("Bloods agenda", TEAM_BLOODSBOSS, {TEAM_BLOODS})
AddAgenda("Crips agenda", TEAM_CRIPSBOSS, {TEAM_CRIPS})
AddAgenda("Police agenda", TEAM_MAYOR, {TEAM_CHIEF, TEAM_POLICE, TEAM_SWAT})


/*
---------------------------------------------------------------------------
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_BLOODSBOSS, TEAM_BLOODS)
GM:AddGroupChat(TEAM_CRIPSBOSS, TEAM_CRIPS)

/*---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------*/
GM.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
---------------------------------------------------------------------------*/
GM.CivilProtection = {
	[TEAM_POLICE] = true,
	[TEAM_CHIEF] = true,
	[TEAM_MAYOR] = true,
	[TEAM_SWAT] = true,
}

/*---------------------------------------------------------------------------
Enable hitman goodies on this team
---------------------------------------------------------------------------*/
DarkRP.addHitmanTeam(TEAM_HITMAN)

OH wait, I forgot. If your admin on the server, you spawn with those “Admin Tools”.

It appears that is the issue. How can I change that?

darkrp/gamemode/config.lua

at line 11, look for


GM.Config.AdminsCopWeapons

And make it “false”