Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*--------------------------------------------------------
- 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/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 = [[A normal Citizen. Your purpose is to roleplay a normal life.]],
- weapons = {},
- command = "citizen",
- max = 0,
- salary = 60,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- mayorCanSetSalary = true
- })
- TEAM_POLICE = AddExtraTeam("Wehrmacht", {
- color = Color(25, 25, 170, 255),
- model = {"models/wehrmacht_02.mdl",
- "models/wehrmacht_04.mdl",
- "models/wehrmacht_06.mdl",
- "models/wehrmacht_08.mdl",
- "models/wehrmacht_09.mdl"},
- description = [[You are a soldier of the reich. You serve the Third Reich
- and keep order. You have the power to arrest criminals.
- 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", "stunstick", "door_ram", "weaponchecker"},
- command = "wehr",
- max = 20,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = true,
- })
- TEAM_GANG = AddExtraTeam("Resistance", {
- color = Color(169, 169, 169, 255),
- model = {
- "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 = [[You protect the people from the Reich and fight for them.]],
- weapons = {},
- command = "rebel",
- max = 20,
- salary = 80,
- admin = 0,
- vote = false,
- hasLicense = false,
- mayorCanSetSalary = false
- })
- TEAM_MOB = AddExtraTeam("Mafia Boss", {
- color = Color(255, 20, 147, 255),
- model = {
- "models/humans/mafia/male_02.mdl",
- "models/humans/mafia/male_04.mdl",
- "models/humans/mafia/male_06.mdl",
- "models/humans/mafia/male_07.mdl",
- "models/humans/mafia/male_08.mdl"},
- description = [[The Mafia Boss is the leader of the mafia in the city.
- With his power he coordinates them and forms an efficent crime
- organization.]],
- weapons = {},
- command = "boss",
- max = 1,
- salary = 140,
- admin = 0,
- vote = false,
- hasLicense = false,
- mayorCanSetSalary = false,
- })
- TEAM_GUN = AddExtraTeam("Black Market Dealer", {
- color = Color(139, 69, 19, 255),
- model = {"models/player/eli.mdl"},
- description = [[You sell weapons to the people of this city.
- Set up shop somewhere and sell!]],
- weapons = {},
- command = "gundealer",
- max = 4,
- salary = 80,
- admin = 0,
- vote = false,
- hasLicense = false,
- mayorCanSetSalary = true
- })
- 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 = 5,
- salary = 70,
- admin = 0,
- vote = false,
- hasLicense = false,
- medic = true,
- mayorCanSetSalary = true
- })
- TEAM_CHIEF = AddExtraTeam("Nazi Secretary", {
- color = Color(244, 164, 96, 255),
- model = {
- "models/Characters/Hostage_01.mdl",
- "models/Characters/Hostage_02.mdl",
- "models/Characters/hostage_03.mdl",
- "models/Characters/hostage_04.mdl"},
- description = [[You are a Nazi Secretary. Secretate...]],
- weapons = {},
- command = "secretary",
- max = 4,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = true,
- chief = false,
- })
- TEAM_MAYOR = AddExtraTeam("The Fuhrer", {
- color = Color(150, 20, 20, 255),
- model = {"models/minson97/hitler/hitler.mdl"},
- description = [[You are the Fuhrer, lead your troops and strike
- down all opposition]],
- weapons = {"weapon_sim_ppk"},
- command = "fuhrer",
- max = 1,
- salary = 90,
- admin = 0,
- vote = true,
- hasLicense = false,
- mayor = true,
- })
- 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.
- Beg for your food and money
- Make your own wooden home somewhere in a corner or
- outside someone else's door]],
- weapons = {""},
- command = "hobo",
- max = 20,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false,
- hobo = true,
- mayorCanSetSalary = false
- })
- //ADD CUSTOM TEAMS UNDER THIS LINE:
- TEAM_MAFIA = AddExtraTeam("Mafia", {
- color = Color(128, 0, 128, 255),
- model = {
- "models/humans/mafia/male_02.mdl",
- "models/humans/mafia/male_04.mdl",
- "models/humans/mafia/male_06.mdl",
- "models/humans/mafia/male_07.mdl",
- "models/humans/mafia/male_08.mdl"},
- description = [[You are a member of the local mafia. Follow
- the orders your boss gives you and on the side
- you can work as a hired guard or assist in raids for cash.]],
- weapons = {},
- command = "mafia",
- max = 19,
- salary = 90,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_THIEF = AddExtraTeam("Thief", {
- color = Color(0, 100, 0, 255),
- model = {
- "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 a lowly thief. Use your lockpick to
- break into houses and steal whatevers inside.]],
- weapons = {"weapons_lockpick"},
- command = "thief",
- max = 3,
- salary = 50,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_RLEAD = AddExtraTeam("Resistance Leader", {
- color = Color(128, 128, 128, 255),
- model = {
- "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 = [[You protect the people from the Reich and fight for them.]],
- weapons = {},
- command = "rebel",
- max = 20,
- salary = 80,
- admin = 0,
- vote = false,
- hasLicense = false,
- mayorCanSetSalary = 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("Reichstag", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
- /*
- --------------------------------------------------------
- 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:
- */
- /*
- ---------------------------------------------------------------------------
- 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)
- /*---------------------------------------------------------------------------
- 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] = false,
- [TEAM_MAYOR] = true,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement