Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- People often copy jobs. When they do, the GM table does not exist anymore.
- -- This line makes the job code work both inside and outside of gamemode files.
- -- You should not copy this line into your code.
- local GAMEMODE = GAMEMODE or GM
- /*--------------------------------------------------------
- Default teams. Please do not edit this file. Please use the darkrpmod addon instead.
- --------------------------------------------------------*/
- TEAM_CITIZEN = DarkRP.createJob("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 = [[Just your average aussie bloke or chick.
- You can use /job to define yourself a custom role or just hang out and chill.]],
- weapons = {},
- command = "Citizen",
- max = 0,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = false
- })
- TEAM_MERCHANT = DarkRP.createJob("Merchant", {
- color = Color(255, 140, 0, 255),
- model = {"models/farnsworth/farnsworth.mdl"},
- description = [[As a merchant your job is to sell guns and melee weapons to the general public.
- Be sure to protect your shop from raids as certain unscrupulous individuals may be after your shipments.
- You cannot align yourself with any factions.]],
- weapons = {},
- command = "gunmerchant",
- max = 4,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_HERO = DarkRP.createJob("Hero", {
- color = Color(60, 24, 111, 255),
- model = {
- "models/player/superheroes/superman.mdl",
- "models/player/superheroes/greenlantern.mdl",
- "models/player/superheroes/flash.mdl",
- "models/player/superheroes/batman.mdl",
- },
- description = [[As a hero it is your job to protect the Civilians!]],
- weapons = {climb_swep2},{weapon_752_dc15a},{arrest_baton},{unarrest_baton},
- command = "hero",
- max = 8,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_CLONE = DarkRP.createJob("Clones", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/sgg/starwars/clonetrooper.mdl",
- "models/player/sgg/starwars/clonetrooper_327th.mdl",
- "models/player/sgg/starwars/clonetrooper_cody.mdl",
- "models/sgg/starwars/clonetrooper.mdl",
- "models/sgg/starwars/clonetrooper_neyo.mdl",
- },
- description = [[As a Clone, You are constantly fighting over the Droids for power.]],
- weapons = {weapon_752_de10},
- command = "Clone",
- max = 8,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_CLONELEADER = DarkRP.createJob("Clone Leader", {
- color = Color(0, 0, 255, 255),
- model = {"models/sgg/starwars/clonetrooper_marine.mdl"},
- description = [[As a Droid, You are constantly fighting over the Clones for power.]],
- weapons = {lockpick},{weapon_752_ee3},
- command = "CloneLeader",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- NeedToChangeFrom = TEAM_CLONE,
- vote = false,
- hasLicense = false
- })
- TEAM_DROID = DarkRP.createJob("Droids", {
- color = Color(0, 0, 255, 255),
- model = {"models/starwars/bdroid.mdl",
- "models/starwars/bdroidassassin.mdl",
- "models/starwars/bdroidfirefighter.mdl",
- "models/starwars/bdroidgunner.mdl",
- "models/starwars/bdroidmarine.mdl",
- },
- description = [[As a Droid, You are constantly fighting over the Clones for power.]],
- weapons = {weapon_752_elg3a},
- command = "Droid",
- max = 8,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_DROIDLEADER = DarkRP.createJob("Droid Leader", {
- color = Color(0, 0, 255, 255),
- model = {"weapon_752_dc15s"},
- description = [[As the Droid Leader you get to command what all the Droids do.]],
- weapons = {lockpick},{models/weapons/v_WESTAR34.mdl},
- command = "DroidLeader",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- NeedToChangeFrom = TEAM_DROID,
- vote = false,
- hasLicense = false
- })
- TEAM_DOCTOR = DarkRP.createJob("Doctor", {
- color = Color(4, 119, 113, 255),
- model = {"models/zoidberg/zoidberg.mdl"},
- description = [[As a Doctor you have to heal everyone that comes to you for a small fee of course :)]],
- weapons = {"weapon_medkit"},
- command = "Doctor",
- max = 2,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_FINN = DarkRP.createJob("Finn The Human", {
- color = Color(101, 101, 255, 255),
- model = {"models/zeldazelda117models/adventure time/finn/f_rd.mdl"},
- description = [[As a Droid, You are constantly fighting over the Clones for power.]],
- weapons = {"climb_swep2"},{lockpick}
- command = "Finn",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_BMO = DarkRP.createJob("BMO", {
- color = Color(0,255,255,255),
- model = {"models/freeman/bmo.mdl"},
- description = [[As BMO it is your job to aid Finn in whatever he needs.]],
- weapons = {lockpick},
- command = "BMO",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(82,67,67,255),
- model = {"models/player/phoenix.mdl"},
- description = [[As a Thief, You get to break and enter everywhere and take what you want]],
- weapons = {"lockpick"},
- command = "Thief",
- max = 3,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_POLICE = DarkRP.createJob("Police", {
- color = Color(63,45,255,255),
- model = {"models/player/police.mdl",
- "models/player/police.mdl",
- "models/player/police.mdl",
- "models/player/police.mdl",
- "models/player/police_fem.mdl",
- "models/player/police_fem.mdl",
- },
- description = [[As a Police Officer it is your duty to protect the citizens of Downtown]],
- weapons = {"x-8","arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker"},
- command = "Police",
- max = 5,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = true
- })
- TEAM_CHIEF = DarkRP.createJob("Police Chief", {
- color = Color(20, 11, 111, 255),
- model = {"models/player/combine_soldier_prisonguard.mdl"},
- description = [[As the Chief of Police you get to order around the police and take charge of the city when the mayor is away]],
- weapons = {"x-8","arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker"},
- command = "PoliceChief",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- NeedToChangeFrom = TEAM_POLICE,
- vote = false,
- hasLicense = true
- })
- TEAM_BUILDER = DarkRP.createJob("Builder", {
- color = Color(0, 127, 31, 255),
- model = {"models/player/blockdude.mdl"},
- description = [[As a Builder, you have to build the city and anything else that people pay you for.]],
- weapons = {},
- command = "Builder",
- max = 4,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_PARKOUR = DarkRP.createJob("Parkourist", {
- color = Color(172, 74, 25, 255),
- model = {"models/player/arctic.mdl"},
- description = [[As a Parkourist, you are always on the run from the police due to parkour being illegal.]],
- weapons = {"climb_swep2"},
- command = "Parkourist",
- max = 2,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_PET = DarkRP.createJob("Pet", {
- color = Color(127, 111, 63,255),
- model = {"models/player_eevee.mdl",
- "models/player_espeon.mdl",
- "models/player_flareon.mdl",
- "models/player_glaceon.mdl",
- "models/player_jolteon.mdl",
- "models/player_leafeon.mdl",
- "models/player_shinysylveon.mdl",
- },
- description = [[As a Pet, you must obay all of your masters orders.]],
- weapons = {},
- command = "Pet",
- max = 7,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_SONIC = DarkRP.createJob("Sonic", {
- color = Color(0, 63, 255, 255),
- model = {"models/_tails_ models/characters/player/sonic/sonic.mdl"},
- description = [[As Sonic you get to run around and have fun :)]],
- weapons = {"climb_swep2"},
- command = "Sonic",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_PONY = DarkRP.createJob("Pony", {
- color = Color(255, 0, 191, 255),
- model = {"models/bonbon.mdl",
- "models/celestia.mdl",
- "models/derpyhooves.mdl",
- "models/luna.mdl",
- "models/lyra.mdl",
- "models/trixie.mdl"
- },
- description = [[As a Thief, You get to break and enter everywhere and take what you want]],
- weapons = {},
- command = "Pony",
- max = 8,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_LAZER = DarkRP.createJob("Lazer Dealer", {
- color = Color(255, 135, 75, 255),
- model = {"models/player/gman_high.mdl"},
- description = [[As the Lazer Dealear. you have to sell Lazer guns to everyone and create a shop.]],
- weapons = {},
- command = "LAZER",
- max = 2,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_JEDI = DarkRP.createJob("Jedi", {
- color = Color(255, 255, 255, 255),
- model = {"models/player/b4p/b4p_yoda.mdl"},
- description = [[As a Jedi. You have to fight off the evil sith!]],
- weapons = {"weapon_lightsaber"},
- command = "Jedi",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_SITH = DarkRP.createJob("Sith", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/b4p/b4p_vader.mdl"},
- description = [[As a Sith. You have to fight off the Jedi and try to destroy the world!]],
- weapons = {"weapon_lightsaber"},
- command = "Sith",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_MAYOR = DarkRP.createJob("Mayor", {
- color = Color(100, 100, 100, 255),
- model = {"models/player/breen.mdl"},
- description = [[As the Mayor you have to run the city and command all the police. ]],
- weapons = {},
- command = "Mayor",
- max = 1,
- salary = GAMEMODE.Config.normalsalary,
- admin = 0,
- vote = false,
- hasLicense = 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.)
- The default door groups, can also be used as examples:
- */
- AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
- 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))
- The default agenda's, can also be used as examples:
- */
- AddAgenda("Gangster's agenda", TEAM_DROIDLEADER, {TEAM_DROID})
- AddAgenda("Police agenda", TEAM_MAYOR, {TEAM_CHIEF, TEAM_POLICE})
- GAMEMODE:AddGroupChat(a function with ply as argument that returns whether a random pl/*
- ---------------------------------------------------------------------------
- HOW TO MAKE A GROUP CHAT
- ---------------------------------------------------------------------------
- Pick one!
- GAMEMODE:AddGroupChat(List of team variables separated by comma)
- or
- ayer is in one chat group)
- This one is for people who know how to script Lua.
- */
- GAMEMODE:AddGroupChat(function(ply) return ply:isCP() end)
- GAMEMODE:AddGroupChat(TEAM_MOB, TEAM_GANG)
- /*---------------------------------------------------------------------------
- Define which team joining players spawn into and what team you change to if demoted
- ---------------------------------------------------------------------------*/
- GAMEMODE.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
- ---------------------------------------------------------------------------*/
- GAMEMODE.CivilProtection = {
- [TEAM_POLICE] = true,
- [TEAM_CHIEF] = true,
- [TEAM_MAYOR] = true,
- }
- /*---------------------------------------------------------------------------
- Enable hitman goodies on this team
- ---------------------------------------------------------------------------*/
- DarkRP.addHitmanTeam(TEAM_MOB)
- /*---------------------------------------------------------------------------
- Default demote groups
- ---------------------------------------------------------------------------*/
- DarkRP.createDemoteGroup("Cops", {TEAM_POLICE, TEAM_CHIEF})
- DarkRP.createDemoteGroup("Gangsters", {TEAM_GANG, TEAM_MOB})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement