Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.14 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4.  
  5. This file contains your custom jobs.
  6. This file should also contain jobs from DarkRP that you edited.
  7.  
  8. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  9. Once you've done that, copy and paste the job to this file and edit it.
  10.  
  11. The default jobs can be found here:
  12. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  13.  
  14. For examples and explanation please visit this wiki page:
  15. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  16.  
  17.  
  18. Add jobs under the following line:
  19. ---------------------------------------------------------------------------]]
  20.  
  21. TEAM_POLICE = DarkRP.createJob("Police Officer", {
  22. color = Color(255, 0, 0, 255),
  23. model = {"models/player/Police.mdl"},
  24. description = [[You are a police officer. You have to enforce the laws.]],
  25. weapons = {"weapon_cuff_police", "m9k_m92beretta","weaponchecker", "arrest_stick", "stunstick", "unarrest_stick"},
  26. command = "police",
  27. max = 5,
  28. salary = 100,
  29. admin = 0,
  30. vote = true,
  31. hasLicense = false,
  32. candemote = false,
  33. category = "Civil Protection",
  34. PlayerSpawn = function(ply)
  35. ply:SetHealth(100)
  36. ply:SetMaxHealth(100)
  37. end,
  38. })
  39.  
  40. TEAM_CHIEF = DarkRP.createJob("Police Chief", {
  41. color = Color(255, 0, 0, 255),
  42. model = {"models/player/Combine_Soldier.mdl"},
  43. description = [[You are a police officer. You have to enforce the laws.]],
  44. weapons = {"weapon_cuff_police", "m9k_scoped_taurus", "weaponchecker", "arrest_stick", "stunstick", "unarrest_stick"},
  45. command = "chief",
  46. max = 1,
  47. salary = 115,
  48. admin = 0,
  49. vote = true,
  50. hasLicense = false,
  51. candemote = false,
  52. category = "Civil Protection",
  53. PlayerSpawn = function(ply)
  54. ply:SetHealth(115)
  55. ply:SetMaxHealth(115)
  56. end,
  57. })
  58.  
  59. TEAM_MOB = DarkRP.createJob("Hitman", {
  60. color = Color(255, 0, 0, 255),
  61. model = {"models/player/Eli.mdl"},
  62. description = [[A hitman.]],
  63. weapons = {"m9k_aw50", },
  64. command = "hitman",
  65. max = 3,
  66. salary = 115,
  67. admin = 0,
  68. vote = true,
  69. hasLicense = false,
  70. candemote = false,
  71. PlayerSpawn = function(ply)
  72. ply:SetHealth(100)
  73. ply:SetMaxHealth(100)
  74. end,
  75. })
  76.  
  77. TEAM_ASSASSIN = DarkRP.createJob("Assassin (VIP)", {
  78. color = Color(255, 0, 0, 255),
  79. model = {"models/player/edward_kenway.mdl"},
  80. description = [[A hitman.]],
  81. weapons = {"m9k_aw50", "climb_swep2", "parkourmod", "weapon_thehiddenblade"},
  82. command = "assassin",
  83. max = 3,
  84. salary = 115,
  85. admin = 0,
  86. vote = false,
  87. hasLicense = false,
  88. candemote = false,
  89. PlayerSpawn = function(ply)
  90. ply:SetHealth(115)
  91. ply:SetMaxHealth(115)
  92. end,
  93. })
  94.  
  95. TEAM_AOD = DarkRP.createJob("Admin on Duty", {
  96. color = Color(255, 0, 0, 255),
  97. model = {"models/player/Barney.mdl"},
  98. description = [[Admins only]],
  99. weapons = {"weapon_keypadchecker", "door_ram"},
  100. command = "aod",
  101. max = 10,
  102. salary = 100,
  103. admin = 0,
  104. vote = false,
  105. hasLicense = false,
  106. candemote = false,
  107. category = "Other",
  108. })
  109.  
  110. TEAM_MOD = DarkRP.createJob("Mod on Duty", {
  111. color = Color(255, 0, 0, 255),
  112. model = {"models/player/Barney.mdl"},
  113. description = [[Mods only]],
  114. weapons = {"door_ram", "weapon_keypadchecker"},
  115. command = "mod",
  116. max = 10,
  117. salary = 100,
  118. admin = 0,
  119. vote = false,
  120. hasLicense = false,
  121. candemote = false,
  122. category = "Other",
  123. })
  124.  
  125. TEAM_OOD = DarkRP.createJob("Owner on Duty", {
  126. color = Color(255, 0, 0, 255),
  127. model = {"models/player/Barney.mdl"},
  128. description = [[Owner only]],
  129. weapons = {},
  130. command = "ood",
  131. max = 1,
  132. salary = 0,
  133. admin = 0,
  134. vote = false,
  135. hasLicense = false,
  136. candemote = false,
  137. category = "Other",
  138. })
  139.  
  140. TEAM_HOBOLORD = DarkRP.createJob("Hobo Lord", {
  141. color = Color(255, 0, 0, 255),
  142. model = {"models/player/gman_high.mdl"},
  143. description = [[Your the king of all hobos. You can mug]],
  144. weapons = {"weapon_bugbait", "gm_pickpocket"},
  145. command = "hobolord",
  146. max = 1,
  147. salary = 1,
  148. admin = 0,
  149. vote = false,
  150. hasLicense = false,
  151. candemote = false,
  152. })
  153.  
  154. TEAM_FCH = DarkRP.createJob("Fight Club Host", {
  155. color = Color(255, 0, 0, 255),
  156. model = {"models/player/gman_high.mdl"},
  157. description = [[Your the host of Fight club you attract people to bet on fighters. Your fighters are FightClubMembers]],
  158. weapons = {"weapon_fists", "weapon_medkit"},
  159. command = "fch",
  160. max = 1,
  161. salary = 100,
  162. admin = 0,
  163. vote = yes,
  164. hasLicense = false,
  165. candemote = false,
  166. })
  167.  
  168. TEAM_FCM = DarkRP.createJob("Fight Club Member", {
  169. color = Color(255, 0, 0, 255),
  170. model = {""},
  171. description = [[Your the Fight Club Hosts pawn you fight for money]],
  172. weapons = {"waepon_fists",},
  173. command = "",
  174. max = 5,
  175. salary = 100,
  176. admin = 0,
  177. vote = false,
  178. hasLicense = false,
  179. candemote = false,
  180. })
  181.  
  182. TEAM_MTHIEF = DarkRP.createJob("Master Thief", {
  183. color = Color(255, 0, 0, 255),
  184. model = {"models/player/white1.mdl"},
  185. description = [[.]],
  186. weapons = {"pro_lockpick_update", "m9k_mp40"},
  187. command = "mthief",
  188. max = 2,
  189. salary = 200,
  190. admin = 0,
  191. vote = false,
  192. hasLicense = false,
  193. candemote = false,
  194. })
  195.  
  196. TEAM_HACKER = DarkRP.createJob("Hacker", {
  197. color = Color(255, 0, 0, 255),
  198. model = {"models/player/Kleiner.mdl"},
  199. description = [[Your a hacker you hack atms]],
  200. weapons = {"weapon_arc_atmhack",},
  201. command = "hacker",
  202. max = 2,
  203. salary = 150,
  204. admin = 0,
  205. vote = false,
  206. hasLicense = false,
  207. candemote = false,
  208. })
  209.  
  210. TEAM_THIEF = DarkRP.createJob("Thief", {
  211. color = Color(255, 0, 0, 255),
  212. model = {"models/player/black2.mdl"},
  213. description = [[Your a thief you go and mug people. /advert Raid or Mug]],
  214. weapons = {"lockpick", "m9k_colt1911", "keypad_cracker"},
  215. command = "thief",
  216. max = 5,
  217. salary = 120,
  218. admin = 0,
  219. vote = false,
  220. hasLicense = false,
  221. candemote = false,
  222. })
  223.  
  224. TEAM_TACHANKY = DarkRP.createJob("Tachanky Kang The God", {
  225. color = Color(255, 0, 0, 255),
  226. model = {"models/player/m9u2.mdl"},
  227. description = [[fookoff]],
  228. weapons = {"pro_lockpick_update", "m9k_usp", "keypad_cracker", "m9k_m60", "weapon_policeshield"},
  229. command = "tachanka",
  230. max = 1,
  231. salary = 120,
  232. admin = 0,
  233. vote = false,
  234. hasLicense = false,
  235. candemote = false,
  236. })
  237.  
  238. TEAM_BLACK = DarkRP.createJob("Black Marker Dealer", {
  239. color = Color(255, 0, 0, 255),
  240. model = {"models/player/guerilla.mdlS"},
  241. description = [[fookoff]],
  242. weapons = {},
  243. command = "bmd",
  244. max = 3,
  245. salary = 120,
  246. admin = 0,
  247. vote = false,
  248. hasLicense = false,
  249. candemote = false,
  250. })
  251.  
  252. TEAM_BLACK = DarkRP.createJob("Black Marker Dealer", {
  253. color = Color(255, 0, 0, 255),
  254. model = {"models/player/guerilla.mdlS"},
  255. description = [[fookoff]],
  256. weapons = {},
  257. command = "bmd",
  258. max = 3,
  259. salary = 120,
  260. admin = 0,
  261. vote = false,
  262. hasLicense = false,
  263. candemote = false,
  264. })
  265.  
  266.  
  267.  
  268. --[[---------------------------------------------------------------------------
  269. Define which team joining players spawn into and what team you change to if demoted
  270. ---------------------------------------------------------------------------]]
  271. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  272.  
  273.  
  274. --[[---------------------------------------------------------------------------
  275. Define which teams belong to civil protection
  276. Civil protection can set warrants, make people wanted and do some other police related things
  277. ---------------------------------------------------------------------------]]
  278. GAMEMODE.CivilProtection = {
  279. [TEAM_POLICE] = true,
  280. [TEAM_CHIEF] = true,
  281. [TEAM_MAYOR] = true,
  282. }
  283.  
  284. --[[---------------------------------------------------------------------------
  285. Jobs that are hitmen (enables the hitman menu)
  286. ---------------------------------------------------------------------------]]
  287. DarkRP.addHitmanTeam(TEAM_MOB)
  288. DarkRP.addHitmanTeam(TEAM_ASSASSIN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement