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...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:
- ---------------------------------------------------------------------------]]
- ------------ STAFF TEAMS --------------
- TEAM_SADMIN = DarkRP.createJob("S-Admin On Duty", {
- color = Color(170, 0, 0, 255),
- model = {"models/player/combine_super_soldier.mdl" },
- description = [[Being a super admin requires a great responsibility, when you become this job you have to take
- your job as an admin serious, and help the ones who is in need of a superadmin.]],
- weapons = {"arrest_stick", "unarrest_stick"},
- command = "sadminonduty",
- max = 0,
- salary = 100,
- admin = 2,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("owner") end,
- CustomCheckFailMsg = "This job is for Staff only!",
- PlayerSpawn = function(ply) ply:GodEnable() end
- })
- TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/anon/anon.mdl",},
- description = [[You are the Guy that keeps saving the day, just DONT Fuck up the Rules.]],
- weapons = {"arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "lockpick"},
- command = "staff",
- max = 4,
- salary = GAMEMODE.Config.normalsalary * 1.45,
- admin = 1,
- vote = false,
- category = "Staff",
- hasLicense = true
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") end,
- CustomCheckFailMsg = "This job is for Staff only!",
- PlayerSpawn = function(ply) ply:GodEnable() end
- })
- TEAM_MOD = DarkRP.createJob("Mod On Duty", {
- color = Color(170, 0, 0, 255),
- model = {"models/player/combine_soldier_prisonguard.mdl"},
- description = [[Being a mod requires a great responsibility, when you become this job you have to take
- your job as a mod serious, and help the ones who is in need of a mod.]],
- weapons = {"arrest_stick", "unarrest_stick"},
- command = "modonduty",
- max = 0,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("moderator+") or ply:IsUserGroup("moderator+") end,
- CustomCheckFailMsg = "This job is for Staff only!",
- PlayerSpawn = function(ply) ply:GodEnable() end
- })
- ------------- SWAT TEAMS ---------------
- TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
- color = Color(80, 45, 0, 255),
- model = {"models/player/swat.mdl"},
- description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city.]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_m29satan", "m9k_mp5", "stunstick", "door_ram", "weaponchecker"},
- command = "swat",
- max = 2,
- salary = 120,
- admin = 0,
- vote = true,
- hasLicense = true
- })
- TEAM_SWATSNIPER = DarkRP.createJob("S.W.A.T Sniper", {
- color = Color(30, 45, 105, 255),
- model = {"models/player/riot.mdl"},
- description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are a Sniper Specialist]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_m29satan", "m9k_aw50", "m9k_mp5", "stunstick", "door_ram", "weaponchecker"},
- command = "swatsniper",
- max = 1,
- salary = 125,
- admin = 0,
- vote = true,
- hasLicense = true
- })
- TEAM_SWATLEADER = DarkRP.createJob("S.W.A.T Leader", {
- color = Color(30, 45, 105, 255),
- model = {"models/player/swat.mdl"},
- description = [[ Do everything you can to keep the city safe.
- If theres no mayor, you're in charge.]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_deagle", "m9k_ak47", "door_ram", },
- command = "swatl",
- max = 1,
- salary = 210,
- admin = 0,
- vote = true,
- hasLicense = true
- })
- TEAM_SWATMEDIC = DarkRP.createJob("S.W.A.T Medic", {
- color = Color(30, 45, 105, 255),
- model = {"models/player/riot.mdl"},
- description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are the medic in the group, you should provide medical help to your team]],
- weapons = {"arrest_stick", "m9k_ak47", "stunstick", "door_ram", "weaponchecker", "med_kit"},
- command = "swatsniper",
- max = 1,
- salary = 125,
- admin = 0,
- vote = true,
- hasLicense = true
- })
- TEAM_SWATCOMMANDER = DarkRP.createJob("S.W.A.T Commander", {
- color = Color(30, 45, 105, 255),
- model = {"models/player/riot.mdl"},
- description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are The commander of the S.W.A.T team]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_deagle", "m9k_m24", "m9k_an94", "stunstick", "door_ram", "weaponchecker", "m9k_m3"},
- command = "swatsniper",
- max = 1,
- salary = 125,
- admin = 0,
- vote = true,
- hasLicense = true,
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
- CustomCheckFailMsg = "This job is for Donators/Staff only!"
- })
- ---------- END OF SWAT TEAMS -----------
- ------ START OF HITMAN SHIT -----------
- TEAM_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/phoenix.mdl"},
- description = [[People hire you to send people to a looong vacation.]],
- weapons = {"m9k_coltpython", "m9k_aw50"},
- command = "hitman",
- max = 1,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_PHITMAN = DarkRP.createJob("Professional Hitman", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/phoenix.mdl"},
- description = [[People hire you to send people to a looong vacation. You are better then the average Hitmans in the town. You have a bigger salary.]],
- weapons = {"m9k_m92beretta", "m9k_psg1"},
- command = "professionalhitman",
- max = 1,
- salary = 95,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
- CustomCheckFailMsg = "This job is for Donators/Staff only!"
- })
- ---- END OF HITMAN STUFF ----
- ---- START OF MAYOR STUFF -----
- TEAM_MS = DarkRP.createJob("Mayors Son", {
- color = Color(255,100,100,255),
- model = {"models/player/barney.mdl"},
- description = [[You are the mayors son, Walk around and relax with your father, but be
- careful. People might kidnap you for exchange of cash!]],
- weapons = {},
- command = "mayorsson",
- max = 1,
- salary = 90,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_MD = DarkRP.createJob("Mayors Daughter", {
- color = Color(255,100,100,255),
- model = {"models/player/alyx.mdl"},
- description = [[You are the mayors daughter, Walk around and relax with your father, but be
- careful. People might kidnap you for exchange of cash!]],
- weapons = {},
- command = "mayorsdaughter",
- max = 1,
- salary = 90,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_MBODYGUARD = DarkRP.createJob("Mayors BodyGuard", {
- color = Color(0,200,50,255),
- model = {"models/player/barney.mdl"},
- description = [[You are the Mayors private Bodyguard. Your job is to cover him
- with your life.]],
- weapons = {"m9k_deagle"},
- command = "mayorsbodyguard",
- max = 2,
- salary = 85,
- admin = 0,
- vote = false,
- hasLicense = true
- })
- ---- END OF MAYOR STUFF -----
- -- street shit --
- TEAM_STREETPERF = DarkRP.createJob("Street Performer", {
- color = Color(23, 0, 52, 255),
- model = {"models/player/arctic.mdl"},
- description = [[Use your talents on the street to earn money, Sing, Dance or maybe
- Tell a good joke!]],
- weapons = {},
- command = "streetperformer",
- max = 2,
- salary = 20,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
- CustomCheckFailMsg = "This job is for Donators/Staff only!"
- })
- -- end of street shit --
- -- drug dealers ---
- TEAM_DRUGDEALER = DarkRP.createJob("Drug Dealer", {
- color = Color(51, 204, 255, 255),
- model = {"models/player/soldier_stripped.mdl"},
- description = [[You sell drugs to the public, stay away from the police.]],
- weapons = {},
- command = "drugdealer",
- max = 3,
- salary = 40,
- admin = 0,
- vote = false,
- hasLicense = true
- })
- TEAM_DRUGDEALERB = DarkRP.createJob("Drug Dealer Boss", {
- color = Color(51, 204, 255, 255),
- model = {"models/player/soldier_stripped.mdl"},
- description = [[You sell drugs to the public, You gather every Drug Dealer in town and give them different places to sell their drugs at. You can also sell drugs]],
- weapons = {},
- command = "drugdealerboss",
- max = 1,
- salary = 40,
- admin = 0,
- vote = false,
- hasLicense = true
- })
- -- end of drugs --
- -- thiefs --
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/arctic.mdl"},
- description = [[You are a thief, rob people, break into houses and steal printers]],
- weapons = {"lockpick"},
- command = "thief",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_THIEFL = DarkRP.createJob("Thief Leader", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/arctic.mdl"},
- description = [[You are a thief leader, rob people, break into houses and steal printers.
- You lead the other Thiefs]],
- weapons = {"lockpick"},
- command = "thiefleader",
- max = 1,
- salary = 75,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_THIEFS = DarkRP.createJob("Thief Specialist", {
- color = Color(0, 0, 0, 255),
- model = {"models/player/arctic.mdl"},
- description = [[You are a Specialist among the thiefs, rob people, break into houses and steal printers.
- Show the other thiefs how it's done!]],
- weapons = {"pro_lockpick_update", "pro_lockpick"},
- command = "thiefspecialist",
- max = 1,
- salary = 105,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
- CustomCheckFailMsg = "This job is for Donators/Staff only!"
- })
- -- end of thiefs--
- -- rebels --
- TEAM_REBEL = DarkRP.createJob("Rebel", {
- color = Color(0, 0, 0, 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 = [[You are a rebel, follow your leader, and raid the Police Department!]],
- weapons = {"lockpick", "keypad_cracker"},
- command = "rebel",
- max = 3,
- salary = 45,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- TEAM_REBELLEA = DarkRP.createJob("Rebel Leader", {
- color = Color(0, 0, 0, 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 = [[You are a Rebel Leader. Lead the other rebels on a war against PD]],
- weapons = {"lockpick", "keypad_cracker"},
- command = "rebelleader",
- max = 1,
- salary = 70,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- -- end of rebels --
- -- music --
- TEAM_PIANIST = DarkRP.createJob("Pianist", {
- color = Color(80, 5, 255, 0),
- model = {"models/player/hostage/hostage_02.mdl"},
- description = [[You play music using a piano. People can pay you to play on their events]],
- weapons = {},
- command = "pianist",
- max = 1,
- salary = 20,
- admin = 0,
- vote = false,
- hasLicense = true,
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
- CustomCheckFailMsg = "This job is for Donators/Staff only!"
- })
- -- end of music--
- -- fbi --
- TEAM_FBI = DarkRP.createJob("F.B.I", {
- color = Color(23, 0, 52, 255),
- model = {"models/player/barney.mdl"},
- description = [[You work for the F.B.I, Your job is to investigate crimes and track down the suspect
- You can ask the S.W.A.T for help during raids on the suspects]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_ak47", "m9k_deagle", "stunstick", "door_ram", "weaponchecker"},
- command = "fbi",
- max = 2,
- salary = 120,
- admin = 0,
- vote = true,
- hasLicense = true
- })
- TEAM_FBISN = DarkRP.createJob("F.B.I Sniper", {
- color = Color(23, 0, 52, 255),
- model = {"models/player/barney.mdl"},
- description = [[You work for the F.B.I, Your job is to investigate crimes and track down the suspect. You have a sniper, which will help you to take down suspects that use violence against the police, and/or kill someone in the Police Squad.
- You can ask the S.W.A.T for help during raids on the suspects]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_m98b", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "ls_sniper"},
- command = "fbisniper",
- max = 1,
- salary = 115,
- admin = 0,
- vote = true,
- hasLicense = true
- })
- TEAM_FBIL = DarkRP.createJob("F.B.I Leader", {
- color = Color(23, 0, 52, 255),
- model = {"models/player/barney.mdl"},
- description = [[You Lead the F.B.I, Your job is to investigate crimes and track down the suspect
- You can ask the S.W.A.T for help during raids on the suspects]],
- weapons = {"arrest_stick", "unarrest_stick", "m9k_glock", "m9k_kac_pdw", "m9k_m24" "stunstick", "door_ram", "weaponchecker"},
- command = "fbileader",
- max = 1,
- salary = 125,
- admin = 0,
- vote = true,
- hasLicense = true,
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
- CustomCheckFailMsg = "This job is for Donators/Staff only!"
- })
- -- end of fbi --
- -- gundealers --
- TEAM_HEGUNDEALER = DarkRP.createJob("Heavy Gun Dealer", {
- color = Color(80, 45, 0, 255),
- model = {"models/player/monk.mdl"},
- description = [[Your job is to sell bigger guns to the people.]],
- weapons = {"weapon_glock2", "weaponchecker"},
- command = "heavygundealer",
- max = 1,
- salary = 80,
- admin = 0,
- vote = false,
- hasLicense = true
- })
- TEAM_SPGUNDEALER = DarkRP.createJob("Gun Dealer Specialist", {
- color = Color(80, 45, 0, 255),
- model = {"models/player/guerilla.mdl"},
- description = [[Your job is to sell bigger and more professional weapons to the public. They pay you a higher amount of money as your weapons are special from the other gun dealers.]],
- weapons = {"m9k_glock"},
- command = "specialistgundealer",
- max = 1,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = true,
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
- CustomCheckFailMsg = "This job is for Donators/Staff only!"
- })
- -- end of guns--
- -- terrorists
- TEAM_TERRORISTL = DarkRP.createJob("Terrorist Leader", {
- color = Color(80, 45, 0, 255),
- model = {"models/player/guerilla.mdl"},
- description = [[You attack the streets, and the Police Force. You lead the other Terrorists]],
- weapons = {"lockpick", "m9k_ak47", "m9k_proxy_mine" },
- command = "terroristleader",
- max = 1,
- salary = 105,
- admin = 0,
- vote = false,
- hasLicense = false,
- customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
- CustomCheckFailMsg = "This job is for Donators/Staff only!"
- })
- TEAM_TERRORIST = DarkRP.createJob("Terrorist", {
- color = Color(80, 45, 0, 255),
- model = {"models/player/guerilla.mdl"},
- description = [[You attack the streets, and the Police Force.]],
- weapons = {"lockpick", "m9k_ak47", "m9k_ied_detonator" },
- command = "terrorist",
- max = 2,
- salary = 105,
- admin = 0,
- vote = false,
- hasLicense = false
- })
- -- end of terrorists --
- -- bodyguards --
- TEAM_BODYGUARD = DarkRP.createJob("Body Guard", {
- color = Color(0,200,50,255),
- model = {"models/player/barney.mdl"},
- description = [[People pay you an amount of money to guard them on the street, or at home.]],
- weapons = {"weapon_deagle2"},
- command = "bodyguard",
- max = 2,
- salary = 85,
- admin = 0,
- vote = false,
- hasLicense = true
- })
- TEAM_PERGUARD = DarkRP.createJob("Personal Guard", {
- color = Color(0,200,50,255),
- model = {"models/player/barney.mdl"},
- description = [[People pay you an amount of money to guard them on the street, or at home. You become a more personal body guard.]],
- weapons = {"weapon_deagle2"},
- command = "persguard",
- max = 2,
- salary = 85,
- admin = 0,
- vote = false,
- hasLicense = true
- })
- TEAM_GUARD = DarkRP.createJob("Guard", {
- color = Color(0,200,50,255),
- model = {"models/player/barney.mdl"},
- description = [[People pay you an amount of money to guard them on the street, or at home.]],
- weapons = {"weapon_deagle2"},
- command = "guard",
- max = 2,
- salary = 85,
- admin = 0,
- vote = false,
- hasLicense = true
- })
- -- bodyguards --
- --[[---------------------------------------------------------------------------
- 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,
- [TEAM_SWAT] = true,
- [TEAM_SWATSNIPER = true,
- [TEAM_SWATLEADER] = true,
- [TEAM_SWATMEDIC] = true,
- [TEAM_SWATCOMMANDER] = true,
- [TEAM_FBI] = true,
- [TEAM_FBIL] = true,
- [TEAM_FBISN] = true
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_HITMAN)
- DarkRP.addHitmanTeam(TEAM_PHITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement