Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.43 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_THIEF = DarkRP.createJob("Thief", {
  22. color = Color(255, 0, 0, 255),
  23. model = {"models/player/pd2_chains_p.mdl"},
  24. description = [[Steal from people. ]],
  25. weapons = {"lockpick"},
  26. command = "thief",
  27. max = 5,
  28. salary = 200,
  29. admin = 0,
  30. vote = false,
  31. hasLicense = false,
  32. candemote = true,
  33. category = "Criminals"
  34. })
  35.  
  36. TEAM_PTHIEF = DarkRP.createJob("Pro Thief", {
  37. color = Color(255, 0, 0, 255),
  38. model = {"models/player/pd2_dallas_p.mdl"},
  39. description = [[Steal from people.]],
  40. weapons = {"lockpick", "weapon_glock2"},
  41. command = "prothief",
  42. max = 2,
  43. salary = 300,
  44. admin = 0,
  45. vote = false,
  46. hasLicense = false,
  47. candemote = true,
  48. category = "Criminals"
  49. })
  50.  
  51. TEAM_ETHIEF = DarkRP.createJob("Expert Thief", {
  52. color = Color(255, 0, 0, 255),
  53. model = {"models/player/pd2_wolf_p.mdl"},
  54. description = [[Steal from people.]],
  55. weapons = {"lockpick", "weapon_glock2"},
  56. command = "Expthief",
  57. max = 2,
  58. salary = 900,
  59. admin = 0,
  60. vote = false,
  61. hasLicense = false,
  62. candemote = true,
  63. category = "Criminals",
  64. customCheck = function(ply) return CLIENT or table.HasValue({"Vip+"}, ply:GetUserGroup()) or ply:IsAdmin() end,
  65. CustomCheckFailMsg = "This is for VIP+ ONLY!"
  66. })
  67.  
  68. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  69. color = Color(255, 0, 0, 255),
  70. model = {"models/player/leet.mdl"},
  71. description = [[Take hits and kill people.]],
  72. weapons = {"ls_sniper"},
  73. command = "hitman",
  74. max = 2,
  75. salary = 100,
  76. admin = 0,
  77. vote = false,
  78. hasLicense = true,
  79. candemote = true,
  80. category = "Criminals"
  81. })
  82.  
  83. TEAM_OSTAFF = DarkRP.createJob("Owner", {
  84. color = Color(166, 12, 191, 255),
  85. model = {"models/player/daftpunk/daft_gold.mdl"},
  86. description = [[Owner of the server]],
  87. weapons = {},
  88. command = "owner",
  89. max = 0,
  90. salary = 0,
  91. admin = 2,
  92. vote = false,
  93. hasLicense = false,
  94. candemote = false,
  95. category = "Staff"
  96. })
  97.  
  98. TEAM_COSTAFF = DarkRP.createJob("Co-Owner", {
  99. color = Color(166, 12, 191, 255),
  100. model = {"models/player/daftpunk/daft_silver.mdl"},
  101. description = [[Co-Owner of the server]],
  102. weapons = {},
  103. command = "coowner",
  104. max = 0,
  105. salary = 0,
  106. admin = 2,
  107. vote = false,
  108. hasLicense = false,
  109. candemote = false,
  110. category = "Staff"
  111. })
  112.  
  113. TEAM_STAFFD = DarkRP.createJob("Community Director", {
  114. color = Color(166, 12, 191, 255),
  115. model = {"models/fallout_nv/nikout/lonesomeroad/riotsoldierp2.mdl"},
  116. description = [[Manager of the various admins, moderators, etc]],
  117. weapons = {},
  118. command = "staffdirector",
  119. max = 0,
  120. salary = 0,
  121. admin = 2,
  122. vote = false,
  123. hasLicense = false,
  124. candemote = false,
  125. category = "Staff"
  126. })
  127.  
  128. TEAM_SASTAFF = DarkRP.createJob("Senior Admin", {
  129. color = Color(166, 12, 191, 255),
  130. model = {"models/player/combine_super_soldier.mdl"},
  131. description = [[Manage admins]],
  132. weapons = {},
  133. command = "senioradmin",
  134. max = 0,
  135. salary = 0,
  136. admin = 2,
  137. vote = false,
  138. hasLicense = false,
  139. candemote = false,
  140. category = "Staff"
  141. })
  142.  
  143. TEAM_ASTAFF = DarkRP.createJob("Admin", {
  144. color = Color(0, 240, 255, 255),
  145. model = {"models/player/combine_super_soldier.mdl"},
  146. description = [[Enforce the server rules and resolve any conflicts]],
  147. weapons = {},
  148. command = "admin",
  149. max = 0,
  150. salary = 0,
  151. admin = 1,
  152. vote = false,
  153. hasLicense = false,
  154. candemote = false,
  155. category = "Staff"
  156. })
  157.  
  158. TEAM_TASTAFF = DarkRP.createJob("Trial Admin", {
  159. color = Color(0, 255, 41, 255),
  160. model = {"models/player/combine_super_soldier.mdl"},
  161. description = [[Enforce the server rules and resolve any conflicts. You may become an admin if the Senior Admins or Staff Manager see you a fit for the job.]],
  162. weapons = {},
  163. command = "trialadmin",
  164. max = 0,
  165. salary = 0,
  166. admin = 1,
  167. vote = false,
  168. hasLicense = false,
  169. candemote = false,
  170. category = "Staff"
  171. })
  172.  
  173. TEAM_MAYORCU = DarkRP.createJob("Mayor", {
  174. color = Color(0, 41, 255, 255),
  175. model = {"models/player/breen.mdl"},
  176. description = [[Create the laws for your citizens to follow.]],
  177. weapons = {},
  178. command = "mayorcu",
  179. max = 1,
  180. salary = 750,
  181. admin = 0,
  182. vote = true,
  183. hasLicense = true,
  184. candemote = true,
  185. category = "Government",
  186. mayor = true,
  187. PlayerDeath = function(ply, weapon, killer)
  188. ply:teamBan()
  189. ply:changeTeam(GAMEMODE.DefaultTeam, true)
  190. DarkRP.notifyAll(0, 4, "The mayor has been killed!")
  191. end
  192. })
  193.  
  194.  
  195. TEAM_POLICEO = DarkRP.createJob("Police Officer", {
  196. color = Color(18, 0, 255, 255),
  197. model = {"models/payday2/units/cop2_rebel.mdl"},
  198. description = [[Enforce the laws.]],
  199. weapons = {"weaponchecker", "door_ram", "arrest_stick", "unarrest_stick", "stunstick", "m9k_1911"},
  200. command = "policeofficer",
  201. max = 4,
  202. salary = 500,
  203. admin = 0,
  204. vote = false,
  205. hasLicense = true,
  206. candemote = true,
  207. category = "Government"
  208. })
  209.  
  210. TEAM_POLICEC = DarkRP.createJob("Police Chief", {
  211. color = Color(18, 0, 255, 255),
  212. model = {"models/payday2/units/cop3_combine.mdl"},
  213. description = [[Enforce the laws and lead the police.]],
  214. weapons = {"weaponchecker", "door_ram", "arrest_stick", "unarrest_stick", "stunstick", "m9k_1911", "m9k_mossberg590"},
  215. command = "policechief",
  216. max = 1,
  217. salary = 650,
  218. admin = 0,
  219. vote = true,
  220. hasLicense = true,
  221. candemote = true,
  222. category = "Government",
  223. NeedToChangeFrom = TEAM_POLICE
  224. })
  225.  
  226. TEAM_POLICESS = DarkRP.createJob("Secret Service", {
  227. color = Color(0, 0, 0, 255),
  228. model = {"models/fearless/02.mdl"},
  229. description = [[Enforce the laws undercover]],
  230. weapons = {"weaponchecker", "arrest_stick", "unarrest_stick", "stunstick", "m9k_ump45"},
  231. command = "secretservice",
  232. max = 4,
  233. salary = 500,
  234. admin = 0,
  235. vote = false,
  236. hasLicense = true,
  237. candemote = true,
  238. category = "Government"
  239. })
  240.  
  241. TEAM_POLICESSWAT = DarkRP.createJob("Swat Sniper", {
  242. color = Color(0, 32, 148, 255),
  243. model = {"models/payday2/units/sniper_fbi_player.mdl"},
  244. description = [[Enforce the laws in a very quiet way.]],
  245. weapons = {"weaponchecker", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "m9k_intervention"},
  246. command = "swatsniper",
  247. max = 0,
  248. salary = 750,
  249. admin = 0,
  250. vote = false,
  251. hasLicense = true,
  252. candemote = true,
  253. category = "Government"
  254. })
  255.  
  256. TEAM_POLICESWATM = DarkRP.createJob("Swat Medic", {
  257. color = Color(0, 32, 148, 255),
  258. model = {"models/payday2/units/medic_player.mdl"},
  259. description = [[Heal your fellow SWAT members.]],
  260. weapons = {"weaponchecker", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "med_kit"},
  261. command = "swatmedic",
  262. max = 1,
  263. salary = 750,
  264. admin = 0,
  265. vote = false,
  266. hasLicense = true,
  267. candemote = true,
  268. category = "Government"
  269. })
  270.  
  271. TEAM_POLICESWATT = DarkRP.createJob("Swat", {
  272. color = Color(0, 32, 148, 255),
  273. model = {"models/payday2/units/swat_fbi_combine.mdl"},
  274. description = [[Heal your fellow SWAT members.]],
  275. weapons = {"weaponchecker", "arrest_stick", "unarrest_stick", "stunstick", "door_ram"},
  276. command = "swatt",
  277. max = 1,
  278. salary = 750,
  279. admin = 0,
  280. vote = false,
  281. hasLicense = true,
  282. candemote = true,
  283. category = "Government"
  284. })
  285.  
  286. TEAM_CITIZENSMEDSS = DarkRP.createJob("Medic", {
  287. color = Color(0, 32, 148, 255),
  288. model = {"models/player/kleiner.mdl"},
  289. description = [[Sell your healing services.]],
  290. weapons = {"med_kit"},
  291. command = "medicit",
  292. max = 3,
  293. salary = 300,
  294. admin = 0,
  295. vote = false,
  296. hasLicense = false,
  297. candemote = true,
  298. category = "Citizens"
  299. })
  300.  
  301. TEAM_DEALERGUN = DarkRP.createJob("Gun Dealer", {
  302. color = Color(156, 0, 93, 255),
  303. model = {"models/player/monk.mdl"},
  304. description = [[Sell guns to the public.]],
  305. weapons = {},
  306. command = "gundealer",
  307. max = 3,
  308. salary = 150,
  309. admin = 0,
  310. vote = false,
  311. hasLicense = false,
  312. candemote = true,
  313. category = "Dealers"
  314. })
  315.  
  316. TEAM_DRUG = DarkRP.createJob("Drug Dealer", {
  317. color = Color(0, 0, 0, 255),
  318. model = {"models/player/Group02/male_04.mdl"},
  319. description = [[You make drugs for a profit. Don't get caught!]],
  320. weapons = {},
  321. command = "drug",
  322. max = 4,
  323. salary = 250,
  324. admin = 0,
  325. vote = false,
  326. hasLicense = false,
  327. candemote = false,
  328. category = "Criminals"
  329. })
  330.  
  331.  
  332. TEAM_BLOOD = DarkRP.createJob("Blood Member", {
  333. color = Color(0, 0, 0, 255),
  334. model = {"models/player/slow/jknies/bloodz/slow_1.mdl"},
  335. description = [[Your apart of the Blood Gang. You have beef with the crips. You may raid each other bases and do "drive by" shootings.]],
  336. weapons = {"m9k_1911"},
  337. command = "Blood",
  338. max = 3,
  339. salary = 200,
  340. admin = 0,
  341. vote = false,
  342. hasLicense = false,
  343. candemote = false,
  344. category = "Criminals"
  345. })
  346.  
  347. TEAM_BLOODL = DarkRP.createJob("Blood Leader", {
  348. color = Color(0, 0, 0, 255),
  349. model = {"models/player/slow/jknies/bloodz/slow_2.mdl"},
  350. description = [[Your apart of the Blood Gang. You have beef with the crips. You may raid each other bases and do "drive by" shootings.]],
  351. weapons = {"m9k_1911"},
  352. command = "BloodL",
  353. max = 1,
  354. salary = 300,
  355. admin = 0,
  356. vote = false,
  357. hasLicense = false,
  358. candemote = false,
  359. category = "Criminals"
  360. })
  361.  
  362. TEAM_CRIP = DarkRP.createJob("Crip Member", {
  363. color = Color(0, 0, 0, 255),
  364. model = {"models/player/slow/jknies/cripz/slow_1.mdl"},
  365. description = [[Your apart of the Crip Gang. You have beef with the Bloods. You may raid each other bases and do "drive by" shootings.]],
  366. weapons = {"m9k_1911"},
  367. command = "Crip",
  368. max = 3,
  369. salary = 200,
  370. admin = 0,
  371. vote = false,
  372. hasLicense = false,
  373. candemote = false,
  374. category = "Criminals"
  375. })
  376.  
  377.  
  378. TEAM_CRIPL = DarkRP.createJob("Crip Leader", {
  379. color = Color(0, 0, 0, 255),
  380. model = {"models/player/slow/jknies/cripz/slow_2.mdl"},
  381. description = [[Your apart of the Crip Gang. You have beef with the Bloods. You may raid each other bases and do "drive by" shootings.]],
  382. weapons = {"m9k_1911"},
  383. command = "Cripl",
  384. max = 1,
  385. salary = 300,
  386. admin = 0,
  387. vote = false,
  388. hasLicense = false,
  389. candemote = false,
  390. category = "Criminals"
  391. })
  392.  
  393. TEAM_MAF = DarkRP.createJob("Mafia Member", {
  394. color = Color(0, 0, 0, 255),
  395. model = {"models/fearless/mafia04.mdl"},
  396. description = [[Your apart of the Mafia. You mug people for money in groups and hold people hostage.]],
  397. weapons = {"m9k_thompson"},
  398. command = "Maf",
  399. max = 2,
  400. salary = 200,
  401. admin = 0,
  402. vote = false,
  403. hasLicense = false,
  404. candemote = false,
  405. category = "Criminals"
  406. })
  407.  
  408. TEAM_MAFL = DarkRP.createJob("Mafia Leader", {
  409. color = Color(0, 0, 0, 255),
  410. model = {"models/fearless/don1.mdl"},
  411. description = [[Your apart of the Mafia. You mug people for money in groups and hold people hostage.]],
  412. weapons = {"m9k_thompson"},
  413. command = "MafL",
  414. max = 1,
  415. salary = 300,
  416. admin = 0,
  417. vote = false,
  418. hasLicense = false,
  419. candemote = false,
  420. category = "Criminals"
  421. })
  422.  
  423. TEAM_TER = DarkRP.createJob("Terrorists ", {
  424. color = Color(0, 0, 0, 255),
  425. model = {"models/characters/osama_bin_laden.mdl"},
  426. description = [[You cause terror to the town. You may cause terror by using /advert terror every 30 mins.]],
  427. weapons = {},
  428. command = "Ter",
  429. max = 2,
  430. salary = 100,
  431. admin = 0,
  432. vote = false,
  433. hasLicense = false,
  434. candemote = false,
  435. category = "Criminals"
  436. })
  437.  
  438. TEAM_CITIZEN = DarkRP.createJob("Citizen", {
  439. color = Color(0, 0, 0, 255),
  440. model = {
  441. "models/player/Group03/female_06.mdl",
  442. "models/player/Group03/male_04.mdl"
  443. },
  444. description = [[Find a job and live your life!]],
  445. weapons = {},
  446. command = "citizen",
  447. max = 0,
  448. salary = 100,
  449. admin = 0,
  450. vote = false,
  451. hasLicense = false,
  452. candemote = false,
  453. category = "Citizens"
  454. })
  455.  
  456. TEAM_ADVGUN = DarkRP.createJob("Advanced Gun Dealer", {
  457. color = Color(0, 0, 0, 255),
  458. model = {"models/player/terminator/slow_terminator.mdl"},
  459. description = [[You sell more advanced guns to the public.]],
  460. weapons = {},
  461. command = "ADVGUN",
  462. max = 2,
  463. salary = 200,
  464. admin = 0,
  465. vote = false,
  466. hasLicense = false,
  467. candemote = false,
  468. category = "Dealers"
  469. })
  470. --[[---------------------------------------------------------------------------
  471. Define which team joining players spawn into and what team you change to if demoted
  472. ---------------------------------------------------------------------------]]
  473. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  474.  
  475.  
  476. --[[---------------------------------------------------------------------------
  477. Define which teams belong to civil protection
  478. Civil protection can set warrants, make people wanted and do some other police related things
  479. ---------------------------------------------------------------------------]]
  480. GAMEMODE.CivilProtection = {
  481. [TEAM_POLICE] = true,
  482. [TEAM_CHIEF] = true,
  483. [TEAM_MAYOR] = true,
  484. }
  485.  
  486. --[[---------------------------------------------------------------------------
  487. Jobs that are hitmen (enables the hitman menu)
  488. ---------------------------------------------------------------------------]]
  489. DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement