daily pastebin goal
76%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4. This file contains your custom jobs.
  5. This file should also contain jobs from DarkRP that you edited.
  6.  
  7. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  8.       Once you've done that, copy and paste the job to this file and edit it.
  9.  
  10. The default jobs can be found here:
  11. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  12.  
  13. For examples and explanation please visit this wiki page:
  14. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  15.  
  16. Add your custom jobs under the following line:
  17. ---------------------------------------------------------------------------]]
  18.  
  19.  
  20.  
  21. --[[---------------------------------------------------------------------------
  22. Define which team joining players spawn into and what team you change to if demoted
  23. ---------------------------------------------------------------------------]]
  24. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  25. --[[---------------------------------------------------------------------------
  26. Define which teams belong to civil protection
  27. Civil protection can set warrants, make people wanted and do some other police related things
  28. ---------------------------------------------------------------------------]]
  29. GAMEMODE.CivilProtection = {
  30.     [TEAM_POLICE] = true,
  31.     [TEAM_CHIEF] = true,
  32.     [TEAM_MAYOR] = true,
  33. }
  34. TEAM_THIEF = DarkRP.createJob("Thief", {
  35.     color = Color(0, 0, 0, 255),
  36.     model = "models/player/suits/robber_tie.mdl",
  37.     description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],
  38.     weapons = {‘m9k_colt1911’, ‘climb_swep2’, ‘guigui_handcuffs_lockpick’, ‘lockpick’},
  39.     command = "thief",
  40.     max = 4,
  41.     salary = 80,
  42.     admin = 0,
  43.     vote = false,
  44.     hasLicense = false,
  45.     category = “Citizens”,
  46. })
  47. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  48.     color = Color(0, 0, 0, 255),
  49.     model = "models/Humans/Group03m/male_08.mdl",
  50.     description = [[People hire you to take out other people,
  51.     this job require you to be completely focussed.
  52.     A single breath can make you loose a shot.]],
  53.     weapons = {‘m9k_m24’, ‘csgo_bayonet_bluesteel’},
  54.     command = "hitman",
  55.     max = 1,
  56.     salary = 65,
  57.     admin = 0,
  58.     vote = true,
  59.     hasLicense = false,
  60.     category = "Citizens",
  61. })
  62. TEAM_SS = DarkRP.createJob("Secret Service", {
  63.     color = Color(100, 20, 20, 255),
  64.     model = "models/player/suits/male_04_closed_coat_tie.mdl",
  65.     description = [[You are responsible for protecting the mayor.
  66.     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.]],
  67.     weapons = {‘m9k_deagle’, ‘stunstick’, ‘weaponchecker’, ‘guigui_handcuffs’, ‘climb_swep2’},
  68.     command = "ss",
  69.     max = 2,
  70.     salary = 65,
  71.     admin = 0,
  72.     vote = true,
  73.     hasLicense = false,
  74.         ammo = {
  75.         ["pm9k_ammo_pistol"] = 60,
  76.     },
  77.     category = "Civil Protection",
  78. })
  79. TEAM_SWAT = DarkRP.createJob("Swat", {
  80.     color = Color(25, 25, 170, 255),
  81.     model = {"models/player/swat.mdl"},
  82.     description = [[The protector of every citizen that lives in the city.
  83.         You have the power to arrest criminals and protect innocents.
  84.         Hit a player with your arrest baton to put them in jail.
  85.         Bash a player with a stunstick and they may learn to obey the law.
  86.         The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  87.         The Battering Ram can also unfreeze frozen props (if enabled).
  88.         Type /wanted <name> to alert the public to the presence of a criminal.]],
  89.     weapons = {‘arrest_stick’, ‘unarrest_stick’, ‘m9k_m92beretta’, ‘stunstick’, ‘door_ram’, ‘weaponchecker’, ‘guigui_handcuffs’},
  90.     command = "Swat",
  91.     max = 4,
  92.     salary = 85,
  93.     admin = 0,
  94.     vote = true,
  95.     hasLicense = true,
  96.     help = {
  97.         "Please don't abuse your job",
  98.         "When you arrest someone they are auto transported to jail.",
  99.         "They are auto let out of jail after some time",
  100.         "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  101.         "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  102.         "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  103.         "Type /jailpos to set the jail position"
  104.     },
  105.     category = "Civil Protection",
  106. })
  107. TEAM_GUARD = DarkRP.createJob("Guard", {
  108.     color = Color(0,200,50,255),
  109.     model = "models/player/guard_pack/guard_07.mdl",
  110.     description = [[People will pay for protection, use your weapon or buy one from the local gundealer.]],
  111.     weapons = {‘weapon_deagle2’, ‘stunstick’, ‘guigui_handcuffs’},
  112.     command = "guard",
  113.     max = 1,
  114.     salary = 85,
  115.     admin = 0,
  116.     vote = false,
  117.     hasLicense = true,
  118.     category = "Citizens”,
  119. })
  120. You will need to add drug entities to this job, before he can sell.
  121. TEAM_DRUGGY = DarkRP.createJob("Drug Dealer", {
  122.     color = Color(51, 204, 255, 255),
  123.     model = "models/player/Kleiner.mdl",
  124.     description = [[You deal drugs to those in need.
  125.                 Be careful, may get arrested if caught in the act!]],
  126.     weapons = {},
  127.     command = "drug",
  128.     max = 2,
  129.     salary = 65,
  130.     admin = 0,
  131.     vote = false,
  132.     hasLicense = false,
  133.     category = "Citizens",
  134. })
  135. TEAM_SWATL = DarkRP.createJob("Swat Leader", {
  136.     color = Color(20, 20, 255, 255),
  137.     model = {"models/player/bfh_mechanic.mdl"},
  138.     description = [[The protector of every citizen that lives in the city.
  139.         You have the power to arrest criminals and protect innocents.
  140.         Hit a player with your arrest baton to put them in jail.
  141.         Bash a player with a stunstick and they may learn to obey the law.
  142.         The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  143.         The Battering Ram can also unfreeze frozen props (if enabled).
  144.         Type /wanted <name> to alert the public to the presence of a criminal.]],
  145.     weapons = {"arrest_stick", ‘unarrest_stick’, ‘m9k_m92beretta’, ‘stunstick’, ‘door_ram’, ‘weaponchecker’, ‘guigui_handcuffs’},
  146.     command = "SwatLeader”,
  147.     max = 1,
  148.     salary = 150,
  149.     admin = 0,
  150.     vote = true,
  151.     hasLicense = true,
  152.     help = {
  153.         "Please don't abuse your job",
  154.         "When you arrest someone they are auto transported to jail.",
  155.         "They are auto let out of jail after some time",
  156.         "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  157.         "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  158.         "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  159.         "Type /jailpos to set the jail position"
  160.     },
  161.     category = "Civil Protection",
  162. })
  163. TEAM_SWATS = DarkRP.createJob("Swat Sniper", {
  164.     color = Color(20, 20, 255, 255),
  165.     model = "models/mw2guy/diver/diver_03.mdl",
  166.     description = [[The protector of every citizen that lives in the city.
  167.         You have the power to arrest criminals and protect innocents.
  168.         Hit a player with your arrest baton to put them in jail.
  169.         Bash a player with a stunstick and they may learn to obey the law.
  170.         The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  171.         The Battering Ram can also unfreeze frozen props (if enabled).
  172.         Type /wanted <name> to alert the public to the presence of a criminal.]],
  173.     weapons = {‘arrest_stick’, ‘unarrest_stick’, ‘m9k_m92beretta’, ‘stunstick’, ‘door_ram’, ‘weaponchecker’, ‘guigui_handcuffs’},
  174.     command = "Swat",
  175.     max = 2,
  176.     salary = 120,
  177.     admin = 0,
  178.     vote = true,
  179.     hasLicense = true,
  180.     help = {
  181.         "Please don't abuse your job",
  182.         "When you arrest someone they are auto transported to jail.",
  183.         "They are auto let out of jail after some time",
  184.         "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  185.         "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  186.         "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  187.         "Type /jailpos to set the jail position"
  188.     },
  189.     category = "Civil Protection",
  190. })
  191. TEAM_TERROR = DarkRP.createJob("Terrorist", {
  192.     color = Color(255, 140, 0, 255),
  193.     model = "models/player/suits/male_03_shirt.mdl",
  194.     description = [[]],
  195.     weapons = {"m9k_ak47"}, -- You may wanna find a pickpocket swep and add it here.
  196.     command = "terrorist",
  197.     max = 3,
  198.     salary = 150,
  199.     admin = 0,
  200.     vote = true,
  201.     hasLicense = false,
  202.     category = "Citizens",
  203. })
  204. TEAM_TERRORL = DarkRP.createJob("Terrorist Leader", {
  205.     color = Color(255, 140, 0, 255),
  206.     model = "models/player/suits/male_01_open_tie.mdl",
  207.     description = [[]],
  208.     weapons = {‘m9k_ak47’, ‘m9k_ied_detonator’, ‘m9k_suicide_bomb’, ‘m9k_proxy_mine’, ‘m9k_rpg7’}
  209.     command = "terroristl",
  210.     max = 1,
  211.     salary = 150,
  212.     admin = 0,
  213.     vote = true,
  214.     hasLicense = false,
  215.     category = "Citizens",
  216. })
  217. TEAM_MTHIEF = DarkRP.createJob("Master Thief", {
  218.     color = Color(0, 0, 0, 255),
  219.     model = "models/player/robber.mdl",
  220.     description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],
  221.     weapons = {‘pro_lockpick_update’, ‘m9k_tec9’, ‘pickpocket’, ‘keypad_cracker’},
  222.     command = "mthief",
  223.     max = 2,
  224.     salary = 110,
  225.     admin = 0,
  226.     vote = false,
  227.     hasLicense = false,
  228.     category = "Citizens",
  229. })
  230. --[[---------------------------------------------------------------------------
  231. Jobs that are hitmen (enables the hitman menu)
  232. ---------------------------------------------------------------------------]]
  233. DarkRP.addHitmanTeam(TEAM_MOB)
RAW Paste Data
Top