Advertisement
Guest User

Untitled

a guest
Nov 16th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.83 KB | None | 0 0
  1. #NoSimplerr#
  2. --[[--------------------------------------------------------------------------
  3. DarkRP custom jobs
  4. ---------------------------------------------------------------------------
  5.  
  6. This file contains your custom jobs.
  7. This file should also contain jobs from DarkRP that you edited.
  8.  
  9. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  10. Once you've done that, copy and paste the job to this file and edit it.
  11.  
  12. The default jobs can be found here:
  13. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  14.  
  15. For examples and explanation please visit this wiki page:
  16. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  17.  
  18.  
  19. Add jobs under the following line:
  20. ---------------------------------------------------------------------------]]
  21. })
  22. TEAM_OWNER = DarkRP.createJob("Owner On Duty", {
  23. color = Color(137, 8, 8, 255),
  24. model = {"models/player/combine_super_soldier.mdl"},
  25. description = [[Owner job! Manage ya staff! Abu.. What? ]],
  26. weapons = {"m9k_spas12"},
  27. command = "OOD",
  28. max = 2,
  29. salary = 0,
  30. admin = 2,
  31. vote = false,
  32. hasLicense = true,
  33. candemote = true,
  34. -- CustomCheck
  35. medic = false,
  36. chief = false,
  37. mayor = false,
  38. hobo = false,
  39. cook = false,
  40. category = "Staff",
  41. })
  42.  
  43. TEAM_SWAT = DarkRP.createJob("Swat", {
  44. color = Color(25, 25, 170, 255),
  45. model = {"models/player/swat.mdl"},
  46. description = [[The protector of every citizen that lives in the city.
  47. You have the power to arrest criminals and protect innocents.
  48. Hit a player with your arrest baton to put them in jail.
  49. Bash a player with a stunstick and they may learn to obey the law.
  50. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  51. The Battering Ram can also unfreeze frozen props (if enabled).
  52. Type /wanted <name> to alert the public to the presence of a criminal.]],
  53. weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
  54. command = "Swat",
  55. max = 4,
  56. salary = 85,
  57. admin = 0,
  58. vote = true,
  59. hasLicense = true,
  60. help = {
  61. "Please don't abuse your job",
  62. "When you arrest someone they are auto transported to jail.",
  63. "They are auto let out of jail after some time",
  64. "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  65. "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  66. "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  67. "Type /jailpos to set the jail position"
  68. },
  69. category = "Civil Protection",
  70. })
  71.  
  72. TEAM_SWATL = DarkRP.createJob("Swat Leader", {
  73. color = Color(20, 20, 255, 255),
  74. model = {"models/codmw2/codmw2hexe.mdl"},
  75. description = [[The protector of every citizen that lives in the city.
  76. You have the power to arrest criminals and protect innocents.
  77. Hit a player with your arrest baton to put them in jail.
  78. Bash a player with a stunstick and they may learn to obey the law.
  79. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  80. The Battering Ram can also unfreeze frozen props (if enabled).
  81. Type /wanted <name> to alert the public to the presence of a criminal.]],
  82. weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
  83. command = "Swat",
  84. max = 1,
  85. salary = 150,
  86. admin = 0,
  87. vote = true,
  88. hasLicense = true,
  89. help = {
  90. "Please don't abuse your job",
  91. "When you arrest someone they are auto transported to jail.",
  92. "They are auto let out of jail after some time",
  93. "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  94. "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  95. "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  96. "Type /jailpos to set the jail position"
  97. },
  98. category = "Civil Protection",
  99. })
  100.  
  101. TEAM_SWATS = DarkRP.createJob("Swat Sniper", {
  102. color = Color(20, 20, 255, 255),
  103. model = "models/mw2guy/diver/diver_03.mdl",
  104. description = [[The protector of every citizen that lives in the city.
  105. You have the power to arrest criminals and protect innocents.
  106. Hit a player with your arrest baton to put them in jail.
  107. Bash a player with a stunstick and they may learn to obey the law.
  108. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  109. The Battering Ram can also unfreeze frozen props (if enabled).
  110. Type /wanted <name> to alert the public to the presence of a criminal.]],
  111. weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
  112. command = "Swat",
  113. max = 1,
  114. salary = 120,
  115. admin = 0,
  116. vote = true,
  117. hasLicense = true,
  118. help = {
  119. "Please don't abuse your job",
  120. "When you arrest someone they are auto transported to jail.",
  121. "They are auto let out of jail after some time",
  122. "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  123. "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  124. "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  125. "Type /jailpos to set the jail position"
  126. },
  127. category = "Civil Protection",
  128. })
  129.  
  130. TEAM_TERROR = DarkRP.createJob("Terrorist", {
  131. color = Color(255, 140, 0, 255),
  132. model = "models/codplayers/opfor4.mdl",
  133. description = [[]],
  134. weapons = {"m9k_ak47"}, -- You may wanna find a pickpocket swep and add it here.
  135. command = "terrorist",
  136. max = 3,
  137. salary = 150,
  138. admin = 0,
  139. vote = true,
  140. hasLicense = false,
  141. category = "Citizens",
  142. })
  143.  
  144. --[[---------------------------------------------------------------------------
  145. Define which team joining players spawn into and what team you change to if demoted
  146. ---------------------------------------------------------------------------]]
  147. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  148.  
  149.  
  150. --[[---------------------------------------------------------------------------
  151. Define which teams belong to civil protection
  152. Civil protection can set warrants, make people wanted and do some other police related things
  153. ---------------------------------------------------------------------------]]
  154. GAMEMODE.CivilProtection = {
  155. [TEAM_POLICE] = true,
  156. [TEAM_CHIEF] = true,
  157. [TEAM_MAYOR] = true,
  158. }
  159.  
  160. --[[---------------------------------------------------------------------------
  161. Jobs that are hitmen (enables the hitman menu)
  162. ---------------------------------------------------------------------------]]
  163. DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement