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 your custom jobs under the following line:
- ---------------------------------------------------------------------------]]
- TEAM_ADMIN = DarkRP.createJob("Admin on duty", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/combine_super_soldier.mdl"},
- description = [[You patrol and respond to admin calls, and make sure the server runs smooth. Command for chat = /aod]],
- weapons = {"weapon_keypadchecker", "unarrest_stick", "arrest_stick"},
- command = "aod",
- max = 10,
- salary = 100000,
- admin = 1,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Admins",
- customCheck = function(ply) return
- table.HasValue({"admin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is for Admins only!",
- })
- TEAM_SPADMIN = DarkRP.createJob("SuperAdmin on duty", {
- color = Color(255, 0, 0, 255),
- model = {"models/player/combine_super_soldier.mdl"},
- description = [[Fuck you. command is /superadmin]],
- weapons = {"weapon_keypadchecker", "unarrest_stick", "arrest_stick", "m9k_minigun"},
- command = "superadmin",
- max = 10,
- salary = 100000000,
- admin = 2,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Admins",
- customCheck = function(ply) return
- table.HasValue({"superadmin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is for SuperAdmins only!",
- })
- TEAM_MOD = DarkRP.createJob("Mod on duty", {
- color = Color(212, 29, 29, 255),
- model = {"models/player/combine_super_soldier.mdl"},
- description = [[You patrol and respond to admin calls, you help keep the server running smooth. Command for chat = /mod
- ]],
- weapons = {"weapon_keypadchecker", "unarrest_stick", "arrest_stick"},
- command = "mod",
- max = 10,
- salary = 10000,
- admin = 1,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Admins",
- customCheck = function(ply) return
- table.HasValue({"Mod"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is for Mods only!",
- })
- TEAM_TMOD = DarkRP.createJob("T-Mod on duty", {
- color = Color(217, 66, 66, 255),
- model = {"models/player/combine_soldier.mdl"},
- description = [[You patrol and respond to admin calls, you help keep the server running smooth. Command for chat = /tmod
- ]],
- weapons = {"weapon_keypadchecker", "unarrest_stick", "arrest_stick"},
- command = "tmod",
- max = 10,
- salary = 1000,
- admin = 1,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Admins",
- customCheck = function(ply) return
- table.HasValue({"T-mod"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is for T-Mods only!",
- })
- TEAM_THIEF = DarkRP.createJob("Thief", {
- color = Color(217, 66, 66, 255),
- model = {"models/player/suits/robber_open.mdl", "models/player/suits/robber_shirt.mdl", "models/player/suits/robber_tie.mdl", "models/player/suits/robber_tuckedtie.mdl"},
- description = [[You are a low-end criminal, you can raid others and mug your friends! ]],
- weapons = {"lockpick", "m9k_hk45"},
- command = "thief",
- max = 8,
- salary = 147,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Crime"
- })
- TEAM_PTHIEF = DarkRP.createJob("Pro Thief", {
- color = Color(163, 2, 2, 255),
- model = {"models/csgoanarchist3pm.mdl"},
- description = [[You are a professional criminal, use your skills and knowledge to raid the best bases and mug the most wealthy players!]],
- weapons = {"pro_lockpick_update", "m9k_ragingbull", "climb_swep2"},
- command = "prothief",
- max = 6,
- salary = 500,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Crime",
- customCheck = function(ply) return CLIENT or
- table.HasValue({"superadmin", "admin", "mod", "T-mod", "D-admin", "Donator"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is for Donators and up only!",
- })
- TEAM_DADMIN = DarkRP.createJob("D-Admin on duty", {
- color = Color(217, 107, 107, 255),
- model = {"models/player/police.mdl"},
- description = [[You patrol and respond to admin calls, you help keep the server running smooth. Command for chat = /dadmin
- ]],
- weapons = {"weapon_keypadchecker", "unarrest_stick", "arrest_stick"},
- command = "dadmin",
- max = 10,
- salary = 500,
- admin = 1,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Admins",
- customCheck = function(ply) return
- table.HasValue({"D-admin"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is for T-Mods only!",
- })
- TEAM_MTHIEF = DarkRP.createJob("Master Thief", {
- color = Color(189, 14, 14, 255),
- model = {"models/player/leet.mdl"},
- description = [[You are a god among thief's! Use your vast superior knowledge and skills aid you in conducting the best raids and mug everyone.]],
- weapons = {"pro_lockpick_update", "climb_swep2", "m9k_ak47", "m9k_knife"},
- command = "mthief",
- max = 3,
- salary = 750,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Crime",
- customCheck = function(ply) return CLIENT or
- table.HasValue({"superadmin", "admin", "mod", "T-mod", "D-admin", "Donator+"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is for Donator+ and up only!",
- })
- TEAM_HITMAN = DarkRP.createJob("Hitman", {
- color = Color(220, 0, 0, 255),
- model = {"models/player/cubanmerc_male.mdl"},
- description = [[People hire you to take out other people,
- this job require you to be completely focussed.
- A single breath can make you loose a shot.]],
- weapons = {"m9k_mp7"},
- command = "hitman",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Crime",
- })
- TEAM_HITMAN = DarkRP.createJob("Pro Hitman", {
- color = Color(220, 0, 0, 255),
- model = {"models/player/cubanmerc_male.mdl"},
- description = [[People hire you to take out other people,
- this job require you to be completely focussed.
- A single breath can make you loose a shot.]],
- weapons = {"m9k_m24", "m9k_mp7"},
- command = "prohitman",
- max = 2,
- salary = 150,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Crime",
- customCheck = function(ply) return CLIENT or
- table.HasValue({"superadmin", "admin", "mod", "T-mod", "D-admin", "Donator+", "Donator"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is for Donator nd up only!",
- })
- TEAM_SS = DarkRP.createJob("Secret Service", {
- color = Color(100, 20, 20, 255),
- model = {"models/player/bfh_pro.mdl"},
- description = [[You are responsible for protecting the mayor.
- Take care of the old fellow, he is vanuarable to terrorists all the time! Before he enters a room, you need to make sure its secure.]],
- weapons = {"m9k_deagle", "stunstick", "weaponchecker", "m9k_mp5sd"},
- command = "ss",
- max = 2,
- salary = 65,
- admin = 0,
- vote = true,
- hasLicense = true,
- ammo = {
- ["pistol"] = 60,
- },
- category = "Civil Protection",
- customCheck = function(ply) return
- table.HasValue({"superadmin", "admin", "D-admin", "T-mod", "Donators", "Donators+", "Mod"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This Job is for Donators and up!",
- })
- TEAM_SWAT = DarkRP.createJob("Swat", {
- color = Color(25, 25, 170, 255),
- model = {"models/codmw2/t_codm.mdl", "models/codmw2/t_codmw2.mdl", "models/codmw2/t_codmw2h.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 = "Swat",
- max = 4,
- salary = 85,
- admin = 0,
- vote = true,
- hasLicense = true,
- help = {
- "Please don't abuse your job",
- "When you arrest someone they are auto transported to jail.",
- "They are auto let out of jail after some time",
- "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
- "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
- "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
- "Type /jailpos to set the jail position"
- },
- category = "Civil Protection",
- })
- TEAM_GUARD = DarkRP.createJob("Guard", {
- color = Color(0,200,50,255),
- model = "models/player/barney.mdl",
- description = [[People will pay for protection, use your weapon or buy one from the local gundealer.]],
- weapons = {"m9k_colt1911", "stunstick"},
- command = "guard",
- max = 2,
- salary = 85,
- admin = 0,
- vote = false,
- hasLicense = true,
- category = "Citizens",
- })
- TEAM_SWATL = DarkRP.createJob("Swat Leader", {
- color = Color(20, 20, 255, 255),
- model = {"models/codmw2/codmw2hexe.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_scar"},
- command = "SwatLeader",
- max = 1,
- salary = 150,
- admin = 0,
- vote = true,
- hasLicense = true,
- help = {
- "Please don't abuse your job",
- "When you arrest someone they are auto transported to jail.",
- "They are auto let out of jail after some time",
- "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
- "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
- "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
- "Type /jailpos to set the jail position"
- },
- category = "Civil Protection",
- })
- TEAM_SWATS = DarkRP.createJob("Swat Sniper", {
- color = Color(20, 20, 255, 255),
- model = "models/codmw2/codmw2m.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_aw50"},
- command = "SwatSniper",
- max = 1,
- salary = 120,
- admin = 0,
- vote = true,
- hasLicense = true,
- help = {
- "Please don't abuse your job",
- "When you arrest someone they are auto transported to jail.",
- "They are auto let out of jail after some time",
- "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
- "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
- "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
- "Type /jailpos to set the jail position"
- },
- category = "Civil Protection",
- customCheck = function(ply) return
- table.HasValue({"superadmin", "admin", "D-admin", "T-mod", "Donators", "Donators+", "Mod"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This Job is for Donators and up!",
- })
- TEAM_TERROR = DarkRP.createJob("Terrorist", {
- color = Color(255, 140, 0, 255),
- model = {"models/player/kuma/taliban_grunt.mdl","models/player/kuma/alqaeda_commando.mdl"},
- description = [[]],
- weapons = {"m9k_ak47","lockpick"},
- command = "terrorist",
- max = 4,
- salary = 150,
- admin = 0,
- vote = false,
- hasLicense = false,
- category = "Bad Guys",
- })
- TEAM_TERRORL = DarkRP.createJob("Terrorists Leader", {
- color = Color(133, 0, 0, 255),
- model = {"models/player/kuma/taliban_rpg.mdl"},
- description = [[You lead the evil terrorists to victory and honor! Kidnap the mayor to sell him as ransom or raid the PD!]],
- weapons = {"m9k_ak47", "pro_lockpick_update"},
- command = "TerrorL",
- max = 1,
- salary = 500,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Bad Guys",
- NeedToChangeFrom = TEAM_TERROR,
- customCheck = function(ply) return
- table.HasValue({"superadmin", "admin", "D-admin", "T-mod", "Donators", "Donators+", "Mod"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This Job is for Donators and up!",
- })
- TEAM_SWATB = DarkRP.createJob("Swat Breacher", {
- color = Color(70, 85, 209, 255),
- model = {"models/codmw2/codmw2.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 = {"m9k_m3", "m9k_m92beretta", "m9k_mp5", "weaponchecker", "door_ram", "stunstick", "unarrest_stick", "arrest_stick"},
- command = "swatbreach",
- max = 2,
- salary = 500,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Civil Protection",
- NeedToChangeFrom = TEAM_SWAT
- })
- TEAM_SWATM = DarkRP.createJob("Swat Medic", {
- color = Color(70, 85, 209, 255),
- model = {"models/codmw2/t_codmw2.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 = {"m9k_m92beretta", "m9k_mp5", "weaponchecker", "door_ram", "stunstick", "unarrest_stick", "arrest_stick", "med_kit"},
- command = "swatmed",
- max = 2,
- salary = 500,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Civil Protection",
- NeedToChangeFrom = TEAM_SWAT
- })
- TEAM_SWATH = DarkRP.createJob("Swat Heavy", {
- color = Color(70, 85, 209, 255),
- model = {"models/codmw2/codmw2he.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 = {"m9k_m92beretta", "weaponchecker", "door_ram", "stunstick", "unarrest_stick", "arrest_stick", "m9k_usas"},
- command = "swatheavy",
- max = 2,
- salary = 500,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Civil Protection",
- NeedToChangeFrom = TEAM_SWAT,
- customCheck = function(ply) return
- table.HasValue({"superadmin", "admin", "D-admin", "T-mod", "Donators", "Donators+", "Mod"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This Job is for Donators and up!",
- })
- TEAM_GUNH = DarkRP.createJob("Heavy Gun Dealer", {
- color = Color(34, 85, 85, 255),
- model = {"models/player/monk.mdl"},
- description = [[A Gun Dealer is the only person who can sell guns to other people.
- Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
- weapons = {},
- command = "heavygun",
- max = 2,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Citizens"
- })
- TEAM_GUNB = DarkRP.createJob("Black Market Dealer", {
- color = Color(34, 85, 85, 255),
- model = {"models/player/eli.mdl"},
- description = [[You sell the most rare and best weapons around just make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
- weapons = {},
- command = "blackmarket",
- max = 2,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Citizens"
- })
- TEAM_FIGHT = DarkRP.createJob("Fight Club Owner", {
- color = Color(230, 117, 36, 255),
- model = {"models/player/gman_high.mdl"},
- description = [[You own and run the fight club, you make people pay to get in and reward those who survive your battle royal.]],
- weapons = {"stunstick"},
- command = "fightclub",
- max = 0,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Citizens"
- })
- TEAM_BANKO = DarkRP.createJob("Bank Owner", {
- color = Color(84, 140, 219, 255),
- model = {"models/player/hostage/hostage_03.mdl"},
- description = [[You own the bank, you keep peoples items safe from the police and raiders!]],
- weapons = {},
- command = "bankowner",
- max = 1,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Citizens"
- })
- TEAM_BANKS = DarkRP.createJob("Bank Guard", {
- color = Color(84, 140, 219, 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 help protect the bank from raiders and thieves. The Bank Owner is in charge.]],
- weapons = {"stunstick", "m9k_sig_p229r"},
- command = "bankguard",
- max = 5,
- salary = 75,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Citizens"
- })
- --[[---------------------------------------------------------------------------
- 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_SWATL] = true,
- [TEAM_SWATB] = true,
- [TEAM_SWATH] = true,
- [TEAM_SWATM] = true,
- [TEAM_SWATS] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement