Error within job making (DarkRP)

Hey. I keep getting an error when I load up my DarkRP server and I can’t find out at all what’s causing it. Could someone please help me?

(Latest error was something about } expected on line 273 to close the one from 256 when it was closed on line 274)
(The error always starts below the custom class line, so I screwed up somewhere in there.)
(Some classes were quick-made, which is why they’re smaller. But they appear to work fine when the other custom classes are removed.)


/*--------------------------------------------------------
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
})
 
TEAM_POLICE = AddExtraTeam("Civil Protection", {
        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 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_glock2", "stunstick", "door_ram", "weaponchecker"},
        command = "cp",
        max = 4,
        salary = 65,
        admin = 0,
        vote = true,
        hasLicense = true,
        help = LANGUAGE.cophelp
})
 
TEAM_GANG = AddExtraTeam("Gangster", {
        color = Color(75, 75, 75, 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 gangster generally works for the Mobboss who runs the crime family.
                The Mobboss sets your agenda and you follow it or you might be punished.]],
        weapons = {},
        command = "gangster",
        max = 3,
        salary = 45,
        admin = 0,
        vote = false,
        hasLicense = false
})
 
TEAM_MOB = AddExtraTeam("Mob boss", {
        color = Color(25, 25, 25, 255),
        model = "models/player/gman_high.mdl",
        description = [[The Mobboss is the boss of the criminals in the city.
                With his power he coordinates the gangsters and forms an efficent crime
                organization.
                He has the ability to break into houses by using a lockpick.
                The Mobboss also can unarrest you.]],
        weapons = {"lockpick", "unarrest_stick"},
        command = "mobboss",
        max = 1,
        salary = 60,
        admin = 0,
        vote = false,
        hasLicense = false,
        help = LANGUAGE.bosshelp
})
 
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 = {},
        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_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_deagle2", "stunstick", "door_ram", "weaponchecker"},
        command = "chief",
        max = 1,
        salary = 75,
        admin = 0,
        vote = true,
        hasLicense = true,
        NeedToChangeFrom = TEAM_POLICE,
        help = LANGUAGE.cophelp
})
 
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 = {},
        command = "mayor",
        max = 1,
        salary = 85,
        admin = 0,
        vote = true,
        hasLicense = false,
        help = LANGUAGE.mayorhelp
})
 
TEAM_HOBO = AddExtraTeam("Hobo", {
        color = Color(80, 45, 0, 255),
        model = "models/player/corpse1.mdl",
        description = [[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]],
        weapons = {"weapon_bugbait"},
        command = "hobo",
        max = 5,
        salary = 0,
        admin = 0,
        vote = false,
        hasLicense = false,
        candemote = false
})
 
//ADD CUSTOM TEAMS UNDER THIS LINE:
 
TEAM_BLACK = AddExtraTeam("Blackmarket Dealer", {
        color = Color(0, 0, 0, 0),
        model = "models/player/monk.mdl",
        description = [[Your goal is to deal drugs, lockpicks, and more.
                If you're caught dealing drugs, you can be arrested.
                You make your money from sales.
                Type /buydruglab to get a drug lab.
                See your shipments for more items.]],
        weapons = {},
        command = "blackmarket",
        max = 2,
        salary = 65,
        admin = 0,
        vote = false,
        hasLicense = false,
        candemote = true
})
 
TEAM_CAR = AddExtraTeam("Car Dealer", {
        color = Color(255, 0, 0, 255),
        model = "models/player/monk.mdl",
        description = [[Your job is to sell cars.
                Car dealers are the only people who can sell cars.
                You make your money from selling cars.
                See your shipments to buy cars.]],
        weapons = {},
        command = "cardealer",
        max = 1,
        salary = 65,
        admin = 0,
        vote = false,
        hasLicense = false,
        candemote = true
})
 
TEAM_HITMAN = AddExtraTeam("Hitman", {
        color = Color(153, 51, 51, 255),
        model = "models/player/barney.mdl",
        description = [[You're a contract killer.
                Get special "jobs" to make money.
                People may "magically" disappear.]],
        weapons = {},
        command = "hitman",
        max = 2,
        salary = 65,
        admin = 0,
        vote = false,
        hasLicense = false,
        candemote = true
})
 
TEAM_MILITARY = AddExtraTeam("Military Soldier", {
        color = Color(102, 255, 0, 255),
        model = "models/player/combine_soldier.mdl",
        description = [[Defend your country!
                This is a donator only class.
                Donate to Aftermath Entertainment and receive
                this class/job.]],
        weapons = {"weapon_real_cs_usp", "weapon_real_cs_ak47", "item_ammo_pistol", "item_ammo_rifle"},
        command = "military",
        max = 3,
        salary = 85,
        admin = 0,
        vote = false,
        hasLicense = true,
        candemote = true
        customCheck = function(ply) return ply:GetUserGroup() == "donator" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup() == "developer" end
})
 
TEAM_MSNIPER = AddExtraTeam("Military Sniper", {
        color = Color(0, 255, 255, 255),
        model = "models/player/swat.mdl",
        description = [[Protect your team from afar!
                This is a donator only class.
                Donate to Aftermath Entertainment and recieve
                this class/job.]],
        weapons = {"weapon_mad_scout"},
        command = "msniper",
        max = 2,
        salary = 85,
        admin = 0,
        vote = false,
        hasLicense = true,
        candemote = true
        customCheck = function(ply) return ply:GetUserGroup() == "donator" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup() == "developer" end
})
 
TEAM_MILITIA = AddExtraTeam("Militia", Color(255, 255, 51, 255), "models/player/urban.mdl", [[You hate the government.
        Your goal is to overthrow the government.
        WARNING: milita will be arrested by
        the police if they are sighted in public!]], {"weapon_glock2"}, "militia", 4, 45, 0, false, false, false)
 
TEAM_THERAPIST = AddExtraTeam("Therapist", Color(0, 204, 0, 255), "models/player/gman_high.mdl", [[This job can mean two different things.
That's up to you to decide. :)]], {}, "therapist", 1, 45, 0, false, false, false)
 
TEAM_MLEADER = AddExtraTeam("Militia Leader", Color(0, 102, 51, 255), "models/player/guerilla.mdl", [[Lead the militia against the government!
Remember, you can be arrested if sighted in
public.]], {"weapon_deagle2","unarrest_stick"}, "mleader", 1, 45, 0, true, true, false)
 
TEAM_TERROR = AddExtraTeam("Terrorist", Color(102, 0, 0, 255), "models/player/leet.mdl", [[Destroy for Allah.
Bring death for Allah.
Give yourself up to Allah.
Mmmmm~]], {"weapon_mad_ak47","weapon_mad_p228"}, "terror", 3, 100, 0, false, false, {militia})
 
TEAM_BOMB = AddExtraTeam("Suicide Bomber", {
        color = Color(102, 51, 0, 255),
        model = "models/player/soldier_stripped.mdl",
        description = [[Sacrifice yourself for Allah!
                This is a donator only class.
                Donate to Aftermath Entertainment and recieve
                this class/job.]],
        weapons = {"weapon_mad_p228","weapon_jihadbomb"},
        command = "bomb",
        max = 2,
        salary = 75,
        admin = 0,
        vote = false,
        hasLicense = false,
        candemote = true
        customCheck = function(ply) return ply:GetUserGroup() == "donator" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup() == "developer" end
})
 
TEAM_CHEESE = AddExtraTeam("The Big Cheese", {
        color = Color(255, 0, 135, 255),
        model = "models/player/urban.mdl",
        description = [[After years of training, you now
                lead all the terrorists. Destroy all who
                stand in your way!
                This is a donator only class.
                Donate to Aftermath Entertainment and recieve
                this class/job.]],
        weapons = {"weapon_mad_m249"},
        command = "cheese",
        max = 1,
        salary = 150,
        admin = 0,
        vote = true,
        hasLicense = false,
        candemote = true
        customCheck = function(ply) return ply:GetUserGroup() == "donator" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup() == "developer" end
})
 
TEAM_ARMORED = AddExtraTeam("Armored Unit", {
        color = Color(0, 255, 255, 255),
        model = "models/player/combine_super_soldier.mdl",
        description = [[You have learned all you can from
                the military. Go forth, Armored Unit. Stop the
                terrorism at its source!
                This is a donator only class.
                Donate to Aftermath Entertainment and recieve
                this class/job.]],
        weapons = {"weapon_mad_m249"},
        command = "armored",
        max = 2,
        salary = 85,
        admin = 0,
        vote = true,
        hasLicense = false,
        candemote = true
        customCheck = function(ply) return ply:GetUserGroup() == "donator" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup() == "developer" end
})
 
TEAM_AOD = AddExtraTeam("Admin On Duty", Color(0, 0, 255, 255), "models/player/combine_super_soldier.mdl", [[If you use this,
you are the admin.
You know what to do.
No abuse, no offense.
Do your job and be the best.]], {"weapon_keypadcracker","weapon_mad_admin"}, "aod", 10, 0, 1, false, 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("Government Officials", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
AddDoorGroup("Gundealer only", TEAM_GUN)
AddDoorGroup("Terrorist Hideout", TEAM_TERROR, TEAM_BOMB, TEAM_CHEESE)
AddDoorGroup("Military Installation", TEAM_MILITARY, TEAM_MSNIPER, TEAM_ARMORED)
 
/*
--------------------------------------------------------
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)
GM:AddGroupChat(TEAM_TERROR, TEAM_BOMB, TEAM_CHEESE)
GM:AddGroupChat(TEAM_MILITARY, TEAM_MSNIPER, TEAM_ARMORED)
/*---------------------------------------------------------------------------
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,
}
 
/*---------------------------------------------------------------------------
Enable hitman goodies on this team
---------------------------------------------------------------------------*/
DarkRP.addHitmanTeam(TEAM_MOB, TEAM_HITMAN)

I see you missed a few commas, I believe this should work. (UNTESTED)
[LUA]/--------------------------------------------------------
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
})

TEAM_POLICE = AddExtraTeam(“Civil Protection”, {
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 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_glock2”, “stunstick”, “door_ram”, “weaponchecker”},
command = “cp”,
max = 4,
salary = 65,
admin = 0,
vote = true,
hasLicense = true,
help = LANGUAGE.cophelp
})

TEAM_GANG = AddExtraTeam(“Gangster”, {
color = Color(75, 75, 75, 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 gangster generally works for the Mobboss who runs the crime family.
The Mobboss sets your agenda and you follow it or you might be punished.]],
weapons = {},
command = “gangster”,
max = 3,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
})

TEAM_MOB = AddExtraTeam(“Mob boss”, {
color = Color(25, 25, 25, 255),
model = “models/player/gman_high.mdl”,
description = [[The Mobboss is the boss of the criminals in the city.
With his power he coordinates the gangsters and forms an efficent crime
organization.
He has the ability to break into houses by using a lockpick.
The Mobboss also can unarrest you.]],
weapons = {“lockpick”, “unarrest_stick”},
command = “mobboss”,
max = 1,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
help = LANGUAGE.bosshelp
})

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 = {},
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_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_deagle2”, “stunstick”, “door_ram”, “weaponchecker”},
command = “chief”,
max = 1,
salary = 75,
admin = 0,
vote = true,
hasLicense = true,
NeedToChangeFrom = TEAM_POLICE,
help = LANGUAGE.cophelp
})

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 = {},
command = “mayor”,
max = 1,
salary = 85,
admin = 0,
vote = true,
hasLicense = false,
help = LANGUAGE.mayorhelp
})

TEAM_HOBO = AddExtraTeam(“Hobo”, {
color = Color(80, 45, 0, 255),
model = “models/player/corpse1.mdl”,
description = [[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]],
weapons = {“weapon_bugbait”},
command = “hobo”,
max = 5,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false
})

//ADD CUSTOM TEAMS UNDER THIS LINE:

TEAM_BLACK = AddExtraTeam(“Blackmarket Dealer”, {
color = Color(0, 0, 0, 0),
model = “models/player/monk.mdl”,
description = [[Your goal is to deal drugs, lockpicks, and more.
If you’re caught dealing drugs, you can be arrested.
You make your money from sales.
Type /buydruglab to get a drug lab.
See your shipments for more items.]],
weapons = {},
command = “blackmarket”,
max = 2,
salary = 65,
admin = 0,
vote = false,
hasLicense = false,
candemote = true
})

TEAM_CAR = AddExtraTeam(“Car Dealer”, {
color = Color(255, 0, 0, 255),
model = “models/player/monk.mdl”,
description = [[Your job is to sell cars.
Car dealers are the only people who can sell cars.
You make your money from selling cars.
See your shipments to buy cars.]],
weapons = {},
command = “cardealer”,
max = 1,
salary = 65,
admin = 0,
vote = false,
hasLicense = false,
candemote = true
})

TEAM_HITMAN = AddExtraTeam(“Hitman”, {
color = Color(153, 51, 51, 255),
model = “models/player/barney.mdl”,
description = [[You’re a contract killer.
Get special “jobs” to make money.
People may “magically” disappear.]],
weapons = {},
command = “hitman”,
max = 2,
salary = 65,
admin = 0,
vote = false,
hasLicense = false,
candemote = true
})

TEAM_MILITARY = AddExtraTeam(“Military Soldier”, {
color = Color(102, 255, 0, 255),
model = “models/player/combine_soldier.mdl”,
description = [[Defend your country!
This is a donator only class.
Donate to Aftermath Entertainment and receive
this class/job.]],
weapons = {“weapon_real_cs_usp”, “weapon_real_cs_ak47”, “item_ammo_pistol”, “item_ammo_rifle”},
command = “military”,
max = 3,
salary = 85,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
customCheck = function(ply) return ply:GetUserGroup() == “donator” or ply:GetUserGroup() == “superadmin” or ply:GetUserGroup() == “developer” end
})

TEAM_MSNIPER = AddExtraTeam(“Military Sniper”, {
color = Color(0, 255, 255, 255),
model = “models/player/swat.mdl”,
description = [[Protect your team from afar!
This is a donator only class.
Donate to Aftermath Entertainment and recieve
this class/job.]],
weapons = {“weapon_mad_scout”},
command = “msniper”,
max = 2,
salary = 85,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
customCheck = function(ply) return ply:GetUserGroup() == “donator” or ply:GetUserGroup() == “superadmin” or ply:GetUserGroup() == “developer” end
})

TEAM_MILITIA = AddExtraTeam(“Militia”, Color(255, 255, 51, 255), “models/player/urban.mdl”, [[You hate the government.
Your goal is to overthrow the government.
WARNING: milita will be arrested by
the police if they are sighted in public!]], {“weapon_glock2”}, “militia”, 4, 45, 0, false, false, false)

TEAM_THERAPIST = AddExtraTeam(“Therapist”, Color(0, 204, 0, 255), “models/player/gman_high.mdl”, [[This job can mean two different things.
That’s up to you to decide. :)]], {}, “therapist”, 1, 45, 0, false, false, false)

TEAM_MLEADER = AddExtraTeam(“Militia Leader”, Color(0, 102, 51, 255), “models/player/guerilla.mdl”, [[Lead the militia against the government!
Remember, you can be arrested if sighted in
public.]], {“weapon_deagle2”,“unarrest_stick”}, “mleader”, 1, 45, 0, true, true, false)

TEAM_TERROR = AddExtraTeam(“Terrorist”, Color(102, 0, 0, 255), “models/player/leet.mdl”, [[Destroy for Allah.
Bring death for Allah.
Give yourself up to Allah.
Mmmmm~]], {“weapon_mad_ak47”,“weapon_mad_p228”}, “terror”, 3, 100, 0, false, false, {militia})

TEAM_BOMB = AddExtraTeam(“Suicide Bomber”, {
color = Color(102, 51, 0, 255),
model = “models/player/soldier_stripped.mdl”,
description = [[Sacrifice yourself for Allah!
This is a donator only class.
Donate to Aftermath Entertainment and recieve
this class/job.]],
weapons = {“weapon_mad_p228”,“weapon_jihadbomb”},
command = “bomb”,
max = 2,
salary = 75,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
customCheck = function(ply) return ply:GetUserGroup() == “donator” or ply:GetUserGroup() == “superadmin” or ply:GetUserGroup() == “developer” end
})

TEAM_CHEESE = AddExtraTeam(“The Big Cheese”, {
color = Color(255, 0, 135, 255),
model = “models/player/urban.mdl”,
description = [[After years of training, you now
lead all the terrorists. Destroy all who
stand in your way!
This is a donator only class.
Donate to Aftermath Entertainment and recieve
this class/job.]],
weapons = {“weapon_mad_m249”},
command = “cheese”,
max = 1,
salary = 150,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
customCheck = function(ply) return ply:GetUserGroup() == “donator” or ply:GetUserGroup() == “superadmin” or ply:GetUserGroup() == “developer” end
})

TEAM_ARMORED = AddExtraTeam(“Armored Unit”, {
color = Color(0, 255, 255, 255),
model = “models/player/combine_super_soldier.mdl”,
description = [[You have learned all you can from
the military. Go forth, Armored Unit. Stop the
terrorism at its source!
This is a donator only class.
Donate to Aftermath Entertainment and recieve
this class/job.]],
weapons = {“weapon_mad_m249”},
command = “armored”,
max = 2,
salary = 85,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
customCheck = function(ply) return ply:GetUserGroup() == “donator” or ply:GetUserGroup() == “superadmin” or ply:GetUserGroup() == “developer” end
})

TEAM_AOD = AddExtraTeam(“Admin On Duty”, Color(0, 0, 255, 255), “models/player/combine_super_soldier.mdl”, [[If you use this,
you are the admin.
You know what to do.
No abuse, no offense.
Do your job and be the best.]], {“weapon_keypadcracker”,“weapon_mad_admin”}, “aod”, 10, 0, 1, false, 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(“Government Officials”, TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
AddDoorGroup(“Gundealer only”, TEAM_GUN)
AddDoorGroup(“Terrorist Hideout”, TEAM_TERROR, TEAM_BOMB, TEAM_CHEESE)
AddDoorGroup(“Military Installation”, TEAM_MILITARY, TEAM_MSNIPER, TEAM_ARMORED)

/*

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)
GM:AddGroupChat(TEAM_TERROR, TEAM_BOMB, TEAM_CHEESE)
GM:AddGroupChat(TEAM_MILITARY, TEAM_MSNIPER, TEAM_ARMORED)
/
---------------------------------------------------------------------------
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,
}

/---------------------------------------------------------------------------
Enable hitman goodies on this team
---------------------------------------------------------------------------
/
DarkRP.addHitmanTeam(TEAM_MOB, TEAM_HITMAN)[/LUA]