Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*---------------------------------------------------------------------------
- DarkRP custom jobs
- ---------------------------------------------------------------------------
- This file contains your custom jobs.
- This file should also contain jobs from DarkRP that you edited.
- Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
- Once you've done that, copy and paste the job to this file and edit it.
- The default jobs can be found here:
- https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
- For examples and explanation please visit this wiki page:
- http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
- Add jobs under the following line:
- ---------------------------------------------------------------------------*/
- TEAM_ADMIN = DarkRP.createJob("Administration", {
- color = Color(255, 0, 0, 255),
- model = "models/dean/chase.mdl",
- description = [[Administration on-duty.]],
- weapons = {"arrest_stick", "unarrest_stick", "weapon_lordi_sledgehammer"},
- command = "admin",
- max = 5,
- salary = 0,
- admin = 2,
- vote = false,
- hasLicense = true,
- })
- TEAM_HOBO = DarkRP.createJob("Hobo", {
- color = Color(100, 50, 0, 255),
- model = "models/player/danboard.mdl",
- description = [[You're homeless, You beg for your income.]],
- weapons = {"weapon_bugbait"},
- command = "hobo",
- max = 5,
- salary = 0,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_GUN = DarkRP.createJob("Gundealer", {
- color = Color(255, 128, 0, 255),
- model = "models/the walking dead survival instincts/daryl_dixon.mdl",
- description = [[You sell and distribute firearms.]],
- weapons = {},
- command = "gundealer",
- max = 2,
- salary = 75,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_HGUN = DarkRP.createJob("Heavy Gundealer", {
- color = Color(255, 128, 0, 255),
- model = "models/the walking dead survival instincts/merle_dixon.mdl",
- description = [[You sell and distribute heavy firearms.]],
- weapons = {},
- command = "gundealer",
- max = 2,
- salary = 75,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_MAYOR = DarkRP.createJob("Mayor", {
- color = Color(150, 20, 20, 255),
- model = "models/player/breen.mdl",
- description = [[The Mayor of the city creates laws to govern the city.
- 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 = 100,
- admin = 0,
- vote = true,
- hasLicense = true,
- mayor = true
- })
- TEAM_POLICE = DarkRP.createJob("S.W.A.T.", {
- color = Color(25, 25, 170, 255),
- model = "models/player/01ar_combine_soldier01.mdl",
- description = [[You're called in to handle what CPs can't.]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "m9k_m16a4_acog", "m9k_m3"},
- command = "swat",
- max = 4,
- salary = 80,
- admin = 0,
- vote = true,
- hasLicense = true,
- ammo = {}
- })
- TEAM_CHIEF = DarkRP.createJob("Civil Protection Chief", {
- color = Color(20, 20, 255, 255),
- model = "models/elispolice/police.mdl",
- description = [[The Chief is the leader of the Civil Protection unit.
- Coordinate the police force to enforce law in the city.
- Hit a player with arrest baton to put them in jail.
- Bash a player with a stunstick and they may learn to obey 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 the presence of a criminal.
- Type /jailpos to set the Jail Position]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_deagle", "stunstick", "door_ram", "weaponchecker", "m9k_m3"},
- command = "chief",
- max = 1,
- salary = 80,
- admin = 0,
- vote = false,
- hasLicense = true,
- chief = true,
- NeedToChangeFrom = TEAM_POLICE,
- ammo = {}
- })
- TEAM_POLICE = DarkRP.createJob("Civil Protection", {
- color = Color(25, 25, 170, 255),
- model = {
- "models/humans/nypd1940/male_01.mdl",
- "models/humans/nypd1940/male_02.mdl",
- "models/humans/nypd1940/male_03.mdl",
- "models/humans/nypd1940/male_04.mdl",
- "models/humans/nypd1940/male_05.mdl",
- "models/humans/nypd1940/male_06.mdl",
- "models/humans/nypd1940/male_07.mdl",
- "models/humans/nypd1940/male_08.mdl",
- "models/humans/nypd1940/male_09.mdl",
- },
- description = [[The protector of every citizen that lives in the city.
- You have the power to arrest criminals and protect innocents.
- Hit a player with your arrest baton to put them in jail.
- Bash a player with a stunstick and they may learn to obey the law.
- The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
- The Battering Ram can also unfreeze frozen props (if enabled).
- Type /wanted <name> to alert the public to the presence of a criminal.]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "m9k_m4a1"},
- command = "cp",
- max = 5,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = true,
- ammo = {}
- })
- TEAM_MAFIA = DarkRP.createJob("Mafia boss", {
- color = Color(25, 25, 25, 255),
- model = "models/vito.mdl",
- description = [[The Mob boss is the boss of the criminals in the city.
- With his power he coordinates the gangsters and forms an efficient crime organization.
- He has the ability to break into houses by using a lockpick.
- The Mob boss posesses the ability to unarrest you.]],
- weapons = {"lockpick", "unarrest_stick"},
- command = "mobboss",
- max = 1,
- salary = 75,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_MAFIAMEMBER = DarkRP.createJob("Mafia Member", {
- color = Color(75, 75, 75, 255),
- model = {
- "models/humans/mafia/male_02.mdl",
- "models/humans/mafia/male_03.mdl",
- "models/humans/mafia/male_04.mdl",
- "models/humans/mafia/male_05.mdl",
- "models/humans/mafia/male_06.mdl",
- "models/humans/mafia/male_07.mdl",
- "models/humans/mafia/male_08.mdl",
- "models/humans/mafia/male_09.mdl",
- },
- description = [[The lowest person of crime.
- A gangster generally works for the Mobboss who runs the crime family.
- The Mob boss sets your agenda and you follow it or you might be punished.]],
- weapons = {},
- command = "gangster",
- max = 5,
- salary = 50,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_CARTELBOSS = AddExtraTeam("Cartel Boss", {
- color = Color(25, 25, 25, 255),
- model = "models/player/gman_high.mdl",
- description = [[The cartel boss 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 cartel boss also can unarrest you.]],
- weapons = {"lockpick", "unarrest_stick"},
- command = "mobboss",
- max = 1,
- salary = 60,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_CARTELMEMBER = AddExtraTeam("Cartel Member", {
- color = Color(75, 75, 75, 255),
- model = {
- "models/player/Group03/Female_02.mdl",
- "models/player/Group03/Female_03.mdl",
- "models/player/Group03/Female_04.mdl",
- "models/player/Group03/Female_05.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 cartel member works for the cartel boss who runs the crime family.
- The cartel boss sets your agenda and you follow it or you might be punished.]],
- weapons = {"lockpick"},
- command = "gangster",
- max = 5,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_MEDIC = DarkRP.createJob("Medic", {
- color = Color(47, 79, 79, 255),
- model = "models/suits/male_09_closed_tie.mdl",
- description = [[With your medical knowledge you work to restore players to full health.
- Without a medic, people cannot 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 = 4,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- medic = true
- })
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(129, 129, 129, 255),
- model = "models/suits/robber_tuckedtie.mdl",
- description = [[You rob people of their riches.]],
- weapons = {"keypad_cracker", "lockpick"},
- command = "thief",
- max = 3,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- TEAM_HITMAN = AddExtraTeam("Hitman", {
- color = Color(20, 150, 20, 255),
- model = "models/player/john_marston.mdl",
- description = [[People pay you to murder others.
- You're only allowed to kill if you've been payed.
- Before you start allways type:
- /advert HIT ACCEPTED = You accepted a hit.
- /advert HIT DONE = You killed the target.
- Do not abuse your permission to kill people!.]],
- weapons = {"m9k_remington1858", "m9k_winchester73"},
- command = "hitman",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = true,
- })
- TEAM_GUARD = DarkRP.createJob("Guard", {
- color = Color(0, 255, 255, 255),
- model = {
- "models/player/guard_pack/guard_01.mdl",
- "models/player/guard_pack/guard_02.mdl",
- "models/player/guard_pack/guard_03.mdl",
- "models/player/guard_pack/guard_04.mdl",
- "models/player/guard_pack/guard_05.mdl",
- "models/player/guard_pack/guard_06.mdl",
- "models/player/guard_pack/guard_07.mdl",
- "models/player/guard_pack/guard_08.mdl",
- "models/player/guard_pack/guard_09.mdl",
- }
- description = [[You're hired as security.]],
- weapons = {"m9k_hk45", "weaponchecker"},
- command = "guard",
- max = 4,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = true,
- })
- TEAM_RUNNER = DarkRP.createJob("Free-Runner", {
- color = Color(0, 255, 255, 255),
- model = "models/nikout/ac3/connor_playermodel.mdl",
- description = [[You've developed some hardcore parkour!]],
- weapons = {"climb_swep2"},
- command = "runner",
- max = 2,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false,
- })
- /*---------------------------------------------------------------------------
- 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,
- }
- /*---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------*/
- DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement