Why don't my Door Groups work? (DarkRP)

So I am using the default door group (Cops and mayor only) but when i go to the cop or mayor classes, they are unable to open the door. Yes, I have set the door to that group and I have SCOURED my Shared.lua to see whats wrong but I have NO idea! Can someone take a look at it for me? (Sorry about the long LUA, idk how to get that scroll box in the post ^_^)

/--------------------------------------------------------
Default teams. If you make a team above the citizen team, people will spawn with that team!
--------------------------------------------------------
/
TEAM_CITIZEN = AddExtraTeam(“Citizen”, Color(20, 150, 20, 255), {
“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/Female_07.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”},
[[The Citizen is the most basic level of society you can hold
besides being a hobo.
You have no specific role in city life.]], {“med_kit”, “hl2_combo_fists”}, “citizen”, 0, 45, 0, false, false)

TEAM_COMBINE = AddExtraTeam(“Combine Soldier”, Color(25, 25, 170, 255), “models/player/combine_soldier.mdl”, [[
The Combine follow the Dictator’s orders.
They rule the streets and make sure everyone
is obeying the laws
break into citizens homes to checkup on them.]], {“med_kit”, “weapon_mad_spas”, “hl2_combo_fists”, “door_ram”, “weapon_stunstick”, “unarrest_stick”, “arrest_stick”, “riotshield”}, “combinesoldier”, 2, 60, 0, true, true)

TEAM_POLICE = AddExtraTeam(“Combine”, Color(25, 25, 170, 255), “models/player/police.mdl”, [[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]], {“hl2_combo_fists”, “arrest_stick”, “unarrest_stick”, “weapon_pistol”, “weapon_stunstick”, “door_ram”, “med_kit”, “riotshield”}, “combine”, 5, 65, 0, true, true)

TEAM_CPDEALER = AddExtraTeam(“CP Dealer”, Color(25, 25, 170, 255), “models/player/combine_soldier_prisonguard.mdl”, [[
The CP Dealer supplies weapons
for the Combine.
If the CP Dealer is caught
selling to the Resistance or Citizens
He will most likely be killed on the spot.]], {“med_kit”, “hl2_combo_fists”}, “cpdealer”, 1, 70, 0, true, true)

TEAM_CHIEF = AddExtraTeam(“Combine Super Soldier”, Color(20, 20, 255, 255), “models/player/combine_super_soldier.mdl”, [[The Super Soldier is the leader of the Civil Protection unit.
Coordinate the Combine forces to bring law to the city
Take direct orders from the Dictator
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]], {“hl2_combo_fists”, “arrest_stick”, “unarrest_stick”, “weapon_mad_ar2”, “weapon_stunstick”, “door_ram”, “med_kit”, “weapon_mad_charge”, “riotshield”}, “super”, 1, 80, 0, false, true)

TEAM_MAYOR = AddExtraTeam(“Mayor”, Color(150, 20, 20, 255), “models/player/breen.mdl”, [[The Mayor of the city creates laws to serve the greater good
of the people.
Lead the Combine forces and rule your city.
If you are the Mayor you may create and accept warrants.
When making laws, create a Law Board outside and use buttons to label your laws,
this will make it easier for citizens to obey your rules.
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]], {“med_kit”, “hl2_combo_fists”, “taser”}, “mayor”, 1, 85, 0, true, false/, {TEAM_CHIEF, TEAM_POLICE}/)
/*

HOW TO MAKE AN EXTRA CLASS!!!

You can make extra classes here. Set everything up here and the rest will be done for you! no more editing 100 files without knowing what you’re doing!!!
Ok here’s how:

To make an extra class do this:
AddExtraTeam( “<NAME OF THE CLASS>”, Color(<red>, <Green>, <blue>, 255), “<Player model>” , [[<the description(it can have enters)>]], { “<first extra weapon>”,"<second extra weapon>", etc…}, “<chat command to become it(WITHOUT THE /!)>”, <maximum amount of this team> <the salary he gets>, 0/1/2 = public /admin only / superadmin only, <1/0/true/false Do you have to vote to become it>, true/false DOES THIS TEAM HAVE A GUN LICENSE?, TEAM: Which team you need to be to become this team)

The real example is here: it’s the Hobo: */

–VAR without /!!! The name the color(what you see in tab) the player model The description
TEAM_HOBO = AddExtraTeam(“Hobo”, Color(80, 45, 0, 255), “models/player/corpse1.mdl”, [[The lowest member of society. All people see you laugh.
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]], {“weapon_bugbait”, “hl2_combo_fists”}, “hobo”, 5, 0, 0, false)
//No extra weapons say /hobo to become hobo Maximum hobo’s = 5 his salary = 0 because hobo’s don’t earn money. 0 = everyone can become hobo , false = you don’t have to vote to become hobo
// MAKE SURE THAT THERE IS NO / IN THE TEAM NAME OR IN THE TEAM COMMAND:
// TEAM_/DUDE IS WROOOOOONG !!!
// HAVING “/dude” IN THE COMMAND FIELD IS WROOOOOOOONG!!!
//ADD TEAMS UNDER THIS LINE:
AddAgenda(“Ruffian’s agenda”, TEAM_RUFFIANLEADER, {TEAM_RUFFIAN})
AddAgenda(“Police agenda”, TEAM_MAYOR, {TEAM_CHIEF, TEAM_POLICE, TEAM_COMBINE})

/*

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_COMBINE)
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})

Please use LUA tags. Like this: [lua]
Anyways, it should work everything looks right, so I have no idea.

damn :frowning:

are u using the darkRP svn?