[CODE]/*--------------------------------------------------------
Default teams. If you make a team above the citizen team, people will spawn with that team!
--------------------------------------------------------*/
TEAM_CITIZEN = AddExtraTeam("Spectator", {
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/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"
},
description = [[You are not involved in any of the mobs or the civil protections
business and just lawy back and watch havok.]],
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_glock2", "stunstick", "door_ram",
"weaponchecker"},
command = "cp",
max = 4,
salary = 65,
admin = 0,
vote = false,
hasLicense = true
})
//Created using DeaDeye's Classmaker
TEAM_THIEF = AddExtraTeam("Thief", {
Color = Color(255, 0, 0, 255),
model = "models/player/phoenix.mdl",
description = [[Your are not involved with the mob or civil protection. You raid
with a group or alone.]],
weapons = {"lockpick"},
command = "thief",
max = 4,
salary = 50,
admin = 0,
vote = false,
hasLicense = false
})
TEAM_THIEF2 = AddExtraTeam("Master Thief", {
Color = Color(200, 10, 0, 255),
model = "models/player/phoenix.mdl",
description = [[Your are not involved with the mob or civil protection. You raid
with a group or alone. You have a master lockpick which is much faster.
DONATORS ONLY.]],
weapons = {"pro_lockpick"},
command = "masterthief",
max = 3,
salary = 60,
admin = 0,
vote = false,
hasLicense = false
function(ply) return ply:GetUserGroup() == "donator" or ply:IsAdmin() end -- The extra check
function. Enter nil or nothing to not have an extra check
)
})
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/Female_07.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 = 4,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
})
TEAM_GUN = AddExtraTeam("Gangster Gun Dealer", {
color = Color(123, 205, 154, 255),
model = "models/player/monk.mdl"
description = [[You supply guns for the gangsters and can't give weapons to anyone
else. You must charge them the original price of the weapon or higher.]],
weapons = {},
command = "mobgun",
max = 1,
salary = 50,
admin = 0,
vote = false,
hasLicense = false
NeedToChangeFrom = TEAM_GANG
})
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. Lead your gang and try to take over the city]],
weapons = {"lockpick", "unarrest_stick"},
command = "mobboss",
max = 1,
salary = 70,
admin = 0,
vote = true,
hasLicense = false
})
TEAM_GANGLEADER = AddExtraTeam("Head Gangster", {
color = Color(25, 25, 25, 255),
model = "models/player/urban.mdl",
description = [[The Head Gangster is under the mobboss but controls the
gangsters and tells them what to do and plans raids.]],
weapons = {"lockpick", "med_kit"},
command = "gangleader",
max = 1,
salary = 60,
admin = 0,
vote = true,
hasLicense = false
NeedToChangeFrom = TEAM_GANG
})
TEAM_GUN2 = AddExtraTeam("CP Gun Dealer", {
color = Color(255, 140, 0, 255),
model = "models/player/monk.mdl",
description = [[You sell guns to civil protections and can't give weapons to anyone
else. You must charge them the original price of the weapon or higher.]],
weapons = {},
command = "cpgun",
max = 2,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
NeedToChangeFrom = TEAM_POLICE
})
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 = 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 = {},
command = "mayor",
max = 1,
salary = 85,
admin = 0,
vote = true,
hasLicense = false
})
})
//ADD CUSTOM TEAMS UNDER THIS LINE:
TEAM_ADMIN = AddExtraTeam("Admin on duty", Color(255, 255, 255, 255),
"models/player/combine_super_soldier.mdl", [[Admin on duty. Admins can also roleplay but not
on
this class]], {"weapon_real_cs_admin_weapon"}, "admin", 3, 0, 1, false, true, false)
TEAM_DB = AddExtraTeam("Hitman", Color(1, 20, 15, 255), "models/player/arctic.mdl", [[People
hire you to assassinate for money.
You can not pick one side you have
to perform assassinations for both mob and cp. ]], {}, "db", 2, 55, 0, false, false, false)
TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(69, 124, 88, 255),
"models/player/combine_soldier.mdl", [[You protect the city and have more privileges than
Civil Protection. ]], {"weapon_real_cs_desert_eagle","weapon_real_cs_m4a1"}, "swat", 3, 70, 0,