Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.76 KB | None | 0 0
  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. ------------- Police Department ----------------------
  20.  
  21. TEAM_PDOFFICER = DarkRP.createJob("Police Officer", {
  22. color = Color(66, 78, 244, 255),
  23. model = {"models/taggart/player/police01/male_01.mdl"},
  24. description = [[]],
  25. weapons = {"realrbn_tazer", "cw_p99", "weapon_r_handcuffs"},
  26. command = "pdofficer",
  27. max = 0,
  28. salary = 100,
  29. admin = 0,
  30. vote = false,
  31. hasLicense = true,
  32. category = "Police Department",
  33. })
  34. TEAM_PDSNR = DarkRP.createJob("Police Senior Officer", {
  35. color = Color(66, 78, 244, 255),
  36. model = {"models/player/taggart/police01/male_01.mdl", "models/player/taggart/police01/male_02.mdl", "models/player/taggart/police01/male_03.mdl", "models/player/taggart/police01/male_04.mdl", "models/player/taggart/police01/male_08.mdl"},
  37. description = [[]],
  38. weapons = {"realrbn_tazer", "cw_p99", "weapon_r_handcuffs"},
  39. command = "pdsnr",
  40. max = 0,
  41. salary = 200,
  42. admin = 0,
  43. vote = false,
  44. hasLicense = true,
  45. category = "Police Department",
  46. })
  47. TEAM_PDCPL = DarkRP.createJob("Police Corporal", {
  48. color = Color(66, 78, 244, 255),
  49. model = {"models/player/taggart/police01/male_01.mdl", "models/player/taggart/police01/male_02.mdl", "models/player/taggart/police01/male_03.mdl", "models/player/taggart/police01/male_04.mdl", "models/player/taggart/police01/male_08.mdl"},
  50. description = [[]],
  51. weapons = {"realrbn_tazer", "cw_p99", "weapon_r_handcuffs", "cw_mp5"},
  52. command = "pdcpl",
  53. max = 0,
  54. salary = 250,
  55. admin = 0,
  56. vote = false,
  57. hasLicense = true,
  58. category = "Police Department",
  59. })
  60. TEAM_PDSGT = DarkRP.createJob("Police Sergeant", {
  61. color = Color(66, 78, 244, 255),
  62. model = {"models/player/taggart/police01/male_01.mdl", "models/player/taggart/police01/male_02.mdl", "models/player/taggart/police01/male_03.mdl", "models/player/taggart/police01/male_04.mdl", "models/player/taggart/police01/male_08.mdl"},
  63. description = [[]],
  64. weapons = {"realrbn_tazer", "cw_p99", "weapon_r_handcuffs", "cw_mp5"},
  65. command = "pdsgt",
  66. max = 0,
  67. salary = 300,
  68. admin = 0,
  69. vote = false,
  70. hasLicense = true,
  71. category = "Police Department",
  72. })
  73. TEAM_PDLT = DarkRP.createJob("Police Lieutenant", {
  74. color = Color(66, 78, 244, 255),
  75. model = {"models/player/taggart/police01/male_01.mdl", "models/player/taggart/police01/male_02.mdl", "models/player/taggart/police01/male_03.mdl", "models/player/taggart/police01/male_04.mdl", "models/player/taggart/police01/male_08.mdl"},
  76. description = [[]],
  77. weapons = {"realrbn_tazer", "cw_p99", "weapon_r_handcuffs", "cw_mp5", "cw_m3super90"},
  78. command = "pdlt",
  79. max = 0,
  80. salary = 300,
  81. admin = 0,
  82. vote = false,
  83. hasLicense = true,
  84. category = "Police Department",
  85. })
  86. TEAM_PDCPT = DarkRP.createJob("Police Captain", {
  87. color = Color(66, 78, 244, 255),
  88. model = {"models/player/portal/nypd/nypdmale_05_arm.mdl"},
  89. description = [[]],
  90. weapons = {"realrbn_tazer", "cw_p99", "weapon_r_handcuffs", "cw_mp5", "cw_m3super90"},
  91. command = "pdcpt",
  92. max = 0,
  93. salary = 350,
  94. admin = 0,
  95. vote = false,
  96. hasLicense = true,
  97. category = "Police Department",
  98. })
  99. TEAM_PDCMD = DarkRP.createJob("Police Commander", {
  100. color = Color(66, 78, 244, 255),
  101. model = {"models/player/portal/nycpd/nycpdmale_07_arm.mdl"},
  102. description = [[]],
  103. weapons = {"realrbn_tazer", "cw_p99", "weapon_r_handcuffs", "cw_mp5", "cw_m3super90"},
  104. command = "pdcmd",
  105. max = 0,
  106. salary = 400,
  107. admin = 0,
  108. vote = false,
  109. hasLicense = true,
  110. category = "Police Department",
  111. })
  112. TEAM_PDCMS = DarkRP.createJob("Police Commisioner", {
  113. color = Color(66, 78, 244, 255),
  114. model = {"models/player/portal/nypd/nypdmale_05.mdl"},
  115. description = [[]],
  116. weapons = {"realrbn_tazer", "cw_p99", "weapon_r_handcuffs", "cw_mp5", "cw_m3super90"},
  117. command = "pdcms",
  118. max = 0,
  119. salary = 500,
  120. admin = 0,
  121. vote = false,
  122. hasLicense = true,
  123. category = "Police Department",
  124. })
  125. ------------- FBI ---------------------------------------
  126. TEAM_FBIAGT = DarkRP.createJob("FBI Enlisted Agent", {
  127. color = Color(65, 178, 244, 255),
  128. model = {"models/player/fbi_pack/fbi_01.mdl", "models/player/fbi_pack/fbi_02.mdl", "models/player/fbi_pack/fbi_03.mdl", "models/player/fbi_pack/fbi_04.mdl", "models/player/fbi_pack/fbi_06.mdl", "models/player/fbi_pack/fbi_07.mdl"},
  129. description = [[]],
  130. weapons = {"realrbn_tazer", "cw_p99", "weapon_r_handcuffs"},
  131. command = "fbiagt",
  132. max = 0,
  133. salary = 500,
  134. admin = 0,
  135. vote = false,
  136. hasLicense = true,
  137. category = "Federal Bureau of Investigation",
  138. })
  139. TEAM_FBINCO = DarkRP.createJob("FBI NCO Agent", {
  140. color = Color(65, 178, 244, 255),
  141. model = {"models/player/fbi_pack/fbi_01.mdl", "models/player/fbi_pack/fbi_02.mdl", "models/player/fbi_pack/fbi_03.mdl", "models/player/fbi_pack/fbi_04.mdl", "models/player/fbi_pack/fbi_06.mdl", "models/player/fbi_pack/fbi_07.mdl"},
  142. description = [[]],
  143. weapons = {"realrbn_tazer", "cw_fiveseven", "sent_sniffer", "cw_mp5", "weapon_r_handcuffs"},
  144. command = "fbinco",
  145. max = 0,
  146. salary = 550,
  147. admin = 0,
  148. vote = false,
  149. hasLicense = true,
  150. category = "Federal Bureau of Investigation",
  151. })
  152. TEAM_FBISPAGT = DarkRP.createJob("FBI Special Agent", {
  153. color = Color(65, 178, 244, 255),
  154. model = {"models/player/fbi_pack/fbi_01.mdl", "models/player/fbi_pack/fbi_02.mdl", "models/player/fbi_pack/fbi_03.mdl", "models/player/fbi_pack/fbi_04.mdl", "models/player/fbi_pack/fbi_06.mdl", "models/player/fbi_pack/fbi_07.mdl"},
  155. description = [[]],
  156. weapons = {"realrbn_tazer", "cw_fiveseven", "sent_sniffer", "weapon_r_handcuffs"},
  157. command = "fbispagt",
  158. max = 0,
  159. salary = 600,
  160. admin = 0,
  161. vote = false,
  162. hasLicense = true,
  163. category = "Federal Bureau of Investigation",
  164. })
  165. TEAM_FBIOFC = DarkRP.createJob("FBI Officer", {
  166. color = Color(65, 178, 244, 255),
  167. model = {"models/player/fbi_pack/fbi_01.mdl", "models/player/fbi_pack/fbi_02.mdl", "models/player/fbi_pack/fbi_03.mdl", "models/player/fbi_pack/fbi_04.mdl", "models/player/fbi_pack/fbi_06.mdl", "models/player/fbi_pack/fbi_07.mdl"},
  168. description = [[]],
  169. weapons = {"realrbn_tazer", "cw_mr96", "cw_mp5", "sent_sniffer", "weapon_r_handcuffs"},
  170. command = "fbiofc",
  171. max = 0,
  172. salary = 600,
  173. admin = 0,
  174. vote = false,
  175. hasLicense = true,
  176. category = "Federal Bureau of Investigation",
  177. })
  178. TEAM_FBIAD = DarkRP.createJob("FBI Assistant Director", {
  179. color = Color(65, 178, 244, 255),
  180. model = {"models/player/fbi_pack/fbi_01.mdl", "models/player/fbi_pack/fbi_02.mdl", "models/player/fbi_pack/fbi_03.mdl", "models/player/fbi_pack/fbi_04.mdl", "models/player/fbi_pack/fbi_06.mdl", "models/player/fbi_pack/fbi_07.mdl"},
  181. description = [[]],
  182. weapons = {"realrbn_tazer", "cw_deagle", "sent_sniffer", "weapon_r_handcuffs"},
  183. command = "fbiad",
  184. max = 0,
  185. salary = 600,
  186. admin = 0,
  187. vote = false,
  188. hasLicense = true,
  189. category = "Federal Bureau of Investigation",
  190. })
  191. TEAM_FBIDIR = DarkRP.createJob("FBI Director", {
  192. color = Color(65, 178, 244, 255),
  193. model = {"models/player/fbi_pack/fbi_01.mdl", "models/player/fbi_pack/fbi_02.mdl", "models/player/fbi_pack/fbi_03.mdl", "models/player/fbi_pack/fbi_04.mdl", "models/player/fbi_pack/fbi_06.mdl", "models/player/fbi_pack/fbi_07.mdl"},
  194. description = [[]],
  195. weapons = {"realrbn_tazer", "cw_mr96", "sent_sniffer", "weapon_r_handcuffs"},
  196. command = "fbidir",
  197. max = 0,
  198. salary = 600,
  199. admin = 0,
  200. vote = false,
  201. hasLicense = true,
  202. category = "Federal Bureau of Investigation",
  203. })
  204. -------------- FBI HRT ----------------------------------
  205. TEAM_HRTNG = DarkRP.createJob("FBI HRT Negotiator", {
  206. color = Color(244, 65, 65, 255),
  207. model = {"models/player/csgo14.mdl"},
  208. description = [[]],
  209. weapons = {"realrbn_tazer", "cw_p99", "cw_ump45", "cw_flash_grenade", "cw_smoke_grenade", "weapon_r_handcuffs"},
  210. command = "hrtng",
  211. max = 0,
  212. salary = 300,
  213. admin = 0,
  214. vote = false,
  215. hasLicense = true,
  216. category = "FBI High Risk Team",
  217. })
  218. TEAM_HRTSNP = DarkRP.createJob("FBI HRT Sniper", {
  219. color = Color(244, 65, 65, 255),
  220. model = {"models/player/csgo14.mdl"},
  221. description = [[]],
  222. weapons = {"realrbn_tazer", "cw_p99", "cw_l115", "cw_flash_grenade", "cw_smoke_grenade", "weapon_r_handcuffs"},
  223. command = "hrtsnp",
  224. max = 0,
  225. salary = 300,
  226. admin = 0,
  227. vote = false,
  228. hasLicense = true,
  229. category = "FBI High Risk Team",
  230. })
  231. TEAM_HRTPVT = DarkRP.createJob("FBI HRT Private", {
  232. color = Color(244, 65, 65, 255),
  233. model = {"models/player/csgo14.mdl"},
  234. description = [[]],
  235. weapons = {"realrbn_tazer", "cw_p99", "cw_mp5", "cw_flash_grenade", "cw_smoke_grenade", "weapon_r_handcuffs"},
  236. command = "hrtpvt",
  237. max = 0,
  238. salary = 400,
  239. admin = 0,
  240. vote = false,
  241. hasLicense = true,
  242. category = "FBI High Risk Team",
  243. })
  244. TEAM_HRTSGT = DarkRP.createJob("FBI HRT Sergeant", {
  245. color = Color(244, 65, 65, 255),
  246. model = {"models/player/csgo14.mdl"},
  247. description = [[]],
  248. weapons = {"realrbn_tazer", "cw_fiveseven", "cw_ar15", "cw_flash_grenade", "cw_smoke_grenade", "med_kit", "weapon_r_handcuffs"},
  249. command = "hrtsgt",
  250. max = 0,
  251. salary = 450,
  252. admin = 0,
  253. vote = false,
  254. hasLicense = true,
  255. category = "FBI High Risk Team",
  256. })
  257. TEAM_HRTLT = DarkRP.createJob("FBI HRT Lieutenant", {
  258. color = Color(244, 65, 65, 255),
  259. model = {"models/player/csgo15.mdl"},
  260. description = [[]],
  261. weapons = {"realrbn_tazer", "cw_fiveseven", "cw_scarh", "cw_flash_grenade", "cw_smoke_grenade", "weapon_r_handcuffs"},
  262. command = "hrtlt",
  263. max = 0,
  264. salary = 500,
  265. admin = 0,
  266. vote = false,
  267. hasLicense = true,
  268. category = "FBI High Risk Team",
  269. })
  270. TEAM_HRTCPT = DarkRP.createJob("FBI HRT Captain", {
  271. color = Color(244, 65, 65, 255),
  272. model = {"models/player/csgo16.mdl"},
  273. description = [[]],
  274. weapons = {"realrbn_tazer", "cw_p99", "cw_ump45", "cw_ar15", "cw_flash_grenade", "cw_smoke_grenade", "weapon_r_handcuffs"},
  275. command = "hrtcpt",
  276. max = 0,
  277. salary = 550,
  278. admin = 0,
  279. vote = false,
  280. hasLicense = true,
  281. category = "FBI High Risk Team",
  282. })
  283. TEAM_HRTCMD = DarkRP.createJob("FBI HRT Commander", {
  284. color = Color(244, 65, 65, 255),
  285. model = {"models/player/csgo17.mdl"},
  286. description = [[]],
  287. weapons = {"realrbn_tazer", "cw_mr96", "cw_l85a2", "cw_m3super90", "cw_flash_grenade", "cw_smoke_grenade", "weapon_r_handcuffs"},
  288. command = "hrtcmd",
  289. max = 0,
  290. salary = 600,
  291. admin = 0,
  292. vote = false,
  293. hasLicense = true,
  294. category = "FBI High Risk Team",
  295. })
  296. ------------------ Highway Patrol -----------------------
  297.  
  298.  
  299. ----------------- Criminal ------------------------------
  300.  
  301.  
  302. ----------------- Civilian ------------------------------
  303.  
  304.  
  305. ----------------- Factions ------------------------------
  306.  
  307. --[[---------------------------------------------------------------------------
  308. Define which team joining players spawn into and what team you change to if demoted
  309. ---------------------------------------------------------------------------]]
  310. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  311. --[[---------------------------------------------------------------------------
  312. Define which teams belong to civil protection
  313. Civil protection can set warrants, make people wanted and do some other police related things
  314. ---------------------------------------------------------------------------]]
  315. GAMEMODE.CivilProtection = {
  316. [TEAM_POLICE] = true,
  317. [TEAM_CHIEF] = true,
  318. [TEAM_MAYOR] = true,
  319. }
  320. --[[---------------------------------------------------------------------------
  321. Jobs that are hitmen (enables the hitman menu)
  322. ---------------------------------------------------------------------------]]
  323. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement