Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.79 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. -----------------
  22. -- Civilian
  23. -----------------
  24.  
  25. TEAM_DJ = DarkRP.createJob("DJ", {
  26. color = Color(0, 25, 255, 255),
  27. model = {"models/player/daftpunk/daft_gold.mdl",
  28. "models/player/daftpunk/daft_silver.mdl"},
  29. description = [[You blare out the hotest tunes known to man, you dont mess about!
  30. Build yourself a club and get shit done!]],
  31. weapons = {""},
  32. command = "dj",
  33. max = 2,
  34. salary = 250,
  35. admin = 0,
  36. vote = false,
  37. hasLicense = false,
  38. candemote = false,
  39. -- CustomCheck
  40. medic = false,
  41. chief = false,
  42. mayor = false,
  43. hobo = false,
  44. cook = false,
  45. category = "Civilian",
  46. })
  47.  
  48. TEAM_HOBO = DarkRP.createJob("Hobo", {
  49. color = Color(80, 45, 0, 255),
  50. model = "models/player/corpse1.mdl",
  51. description = [[The lowest member of society. Everybody laughs at you.
  52. You have no home.
  53. Beg for your food and money
  54. Sing for everyone who passes to get money
  55. Make your own wooden home somewhere in a corner or outside someone else's door]],
  56. weapons = {"weapon_angryhoboswep_boot"},
  57. command = "hobo",
  58. max = 4,
  59. salary = 0,
  60. admin = 0,
  61. vote = false,
  62. hasLicense = false,
  63. candemote = false,
  64. hobo = true,
  65. category = "Civilian",
  66. })
  67.  
  68.  
  69. TEAM_GUN = DarkRP.createJob("Gun Dealer", {
  70. color = Color(255, 140, 0, 255),
  71. model = "models/player/monk.mdl",
  72. description = [[A Gun Dealer is the only person who can sell guns to other people.
  73. Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
  74. weapons = {},
  75. command = "gundealer",
  76. max = 2,
  77. salary = GAMEMODE.Config.normalsalary,
  78. admin = 0,
  79. vote = false,
  80. hasLicense = false,
  81. category = "Civilian",
  82. })
  83.  
  84. TEAM_MEDIC = DarkRP.createJob("Medic", {
  85. color = Color(47, 79, 79, 255),
  86. model = "models/player/kleiner.mdl",
  87. description = [[With your medical knowledge you work to restore players to full health.
  88. Without a medic, people cannot be healed.
  89. Left click with the Medical Kit to heal other players.
  90. Right click with the Medical Kit to heal yourself.]],
  91. weapons = {"med_kit"},
  92. command = "medic",
  93. max = 3,
  94. salary = GAMEMODE.Config.normalsalary,
  95. admin = 0,
  96. vote = false,
  97. hasLicense = false,
  98. medic = true,
  99. category = "Civilian",
  100. })
  101.  
  102. TEAM_FIGHT = DarkRP.createJob("Street Fighter", {
  103. color = Color(255, 76, 0, 255),
  104. model = "models/fzone96/johncena/johncena.mdl",
  105. description = [[You can fight at organized fighting events, these events will need to be created by a Fight Master!]],
  106. weapons = {"m9k_fists"},
  107. command = "streetfighter",
  108. max = 3,
  109. salary = GAMEMODE.Config.normalsalary,
  110. admin = 0,
  111. vote = false,
  112. hasLicense = false,
  113. category = "Civilian",
  114. })
  115.  
  116. TEAM_FIGHTM = DarkRP.createJob("Fight Master", {
  117. color = Color(206, 34, 44, 255),
  118. model = "models/fearless/don1.mdl",
  119. description = [[You can organize fighting events, take bets and make a fighting ring!]],
  120. weapons = {"m9k_coltpython"},
  121. command = "fightmaster",
  122. max = 1,
  123. salary = GAMEMODE.Config.normalsalary,
  124. admin = 0,
  125. vote = false,
  126. hasLicense = false,
  127. category = "Civilian",
  128. })
  129.  
  130. TEAM_FIGHTM = DarkRP.createJob("Security Guard", {
  131. color = Color(0, 10, 255, 255),
  132. model = {
  133. "models/player/guard_pack/guard_01.mdl",
  134. "models/player/guard_pack/guard_02.mdl"},
  135. description = [[You can be hired to protect peoples bases!]],
  136. weapons = {"m9k_g36"},
  137. command = "security",
  138. max = 1,
  139. salary = GAMEMODE.Config.normalsalary,
  140. admin = 0,
  141. vote = false,
  142. hasLicense = false,
  143. category = "Civilian",
  144. })
  145.  
  146.  
  147. -----------------
  148. -- Goverment
  149. -----------------
  150.  
  151. TEAM_MAYOR = DarkRP.createJob("Mayor", {
  152. color = Color(150, 20, 20, 255),
  153. model = "models/player/breen.mdl",
  154. description = [[The Mayor of the city creates laws to govern the city.
  155. If you are the mayor you may create and accept warrants.
  156. Type /wanted <name> to warrant a player.
  157. Type /jailpos to set the Jail Position.
  158. Type /lockdown initiate a lockdown of the city.
  159. Everyone must be inside during a lockdown.
  160. The cops patrol the area.
  161. /unlockdown to end a lockdown]],
  162. weapons = {},
  163. command = "mayor",
  164. max = 1,
  165. salary = 500,
  166. admin = 0,
  167. vote = true,
  168. hasLicense = false,
  169. mayor = true,
  170. category = "Goverment",
  171. })
  172.  
  173. TEAM_POLICE = DarkRP.createJob("Police", {
  174. color = Color(37, 0, 186, 255),
  175. model = {
  176. "models/player/londoncop/londoncop_01.mdl",
  177. "models/player/londoncop/londoncop_02.mdl",
  178. "models/player/londoncop/londoncop_04.mdl",
  179. "models/player/londoncop/npc/londoncop_09_npc.mdl"
  180. },
  181. description = [[You need to enforce the law!.
  182. Read the laws and enforce them.
  183. Take orders from the Mayor and Swat.
  184. You cannot base, the PD is your home!]],
  185. weapons = {"arrest_stick","unarrest_stick","stunstick","weaponchecker","m9k_usp"},
  186. command = "police",
  187. max = 4,
  188. salary = 250,
  189. admin = 0,
  190. vote = true,
  191. hasLicense = true,
  192. candemote = true,
  193. category = "Goverment",
  194. })
  195.  
  196. TEAM_POLICE = DarkRP.createJob("Police Medic", {
  197. color = Color(37, 0, 186, 255),
  198. model = {
  199. "models/player/londoncop/londoncop_01.mdl",
  200. "models/player/londoncop/londoncop_02.mdl",
  201. "models/player/londoncop/londoncop_04.mdl",
  202. "models/player/londoncop/npc/londoncop_09_npc.mdl"},
  203. description = [[You need to enforce the law!.
  204. Read the laws and enforce them.
  205. Take orders from the Mayor and Swat.
  206. You cannot base, the PD is your home,
  207. Heal other officers in need!]],
  208. weapons = {"arrest_stick","unarrest_stick","stunstick","weaponchecker","m9k_usp","med_kit"},
  209. command = "policemedic",
  210. max = 2,
  211. salary = 275,
  212. admin = 0,
  213. vote = true,
  214. hasLicense = true,
  215. candemote = true,
  216. category = "Goverment",
  217. })
  218.  
  219. TEAM_POLICE = DarkRP.createJob("Police Chief", {
  220. color = Color(37, 0, 186, 255),
  221. model = {
  222. "models/player/londoncop/londoncop_01.mdl",
  223. "models/player/londoncop/londoncop_02.mdl",
  224. "models/player/londoncop/londoncop_04.mdl",
  225. "models/player/londoncop/npc/londoncop_09_npc.mdl"},
  226. description = [[You need to enforce the law!.
  227. Read the laws and enforce them.
  228. Give orders to the rest of the police force!.
  229. You cannot base, the PD is your home!]],
  230. weapons = {"arrest_stick","unarrest_stick","stunstick","weaponchecker","m9k_usp","m9k_g36"},
  231. command = "policechief",
  232. max = 1,
  233. salary = 500,
  234. admin = 0,
  235. vote = true,
  236. hasLicense = true,
  237. candemote = true,
  238. category = "Goverment",
  239. })
  240.  
  241. TEAM_POLICE = DarkRP.createJob("Swat Assualter", {
  242. color = Color(37, 0, 186, 255),
  243. model = "models/fearless/sru02.mdl",
  244. description = [[You are a Swat Assualter you deal with most small raids!]],
  245. weapons = {"m9k_usp","m9k_l85"},
  246. command = "swatassault",
  247. max = 1,
  248. salary = 500,
  249. admin = 0,
  250. vote = true,
  251. hasLicense = true,
  252. candemote = true,
  253. category = "Goverment",
  254. })
  255.  
  256. -----------------
  257. -- Criminal
  258. -----------------
  259.  
  260. TEAM_THIEF = DarkRP.createJob("Thief", {
  261. color = Color(255, 122, 0, 255),
  262. model = "models/code_gs/robber/robberplayer.mdl",
  263. description = [[You are a Thief, you base and take part in illegal activites!]],
  264. weapons = {"m9k_luger","lockpick","keypad_cracker"},
  265. command = "thief",
  266. max = 8,
  267. salary = 100,
  268. admin = 0,
  269. vote = false,
  270. hasLicense = true,
  271. candemote = false,
  272. category = "Criminal",
  273. })
  274.  
  275. TEAM_WMAFIA = DarkRP.createJob("West Mafia Don", {
  276. color = Color(203, 237, 0, 255),
  277. model = "models/fearless/mafia02.mdl",
  278. description = [[You are the West Mafia Don, you control the West Mafia, give orders out to the Mafia mebers!]],
  279. weapons = {"m9k_an94","m9k_model627","lockpick","keypad_cracker"},
  280. command = "westdon",
  281. max = 1,
  282. salary = 300,
  283. admin = 0,
  284. vote = false,
  285. hasLicense = true,
  286. candemote = false,
  287. category = "Criminal",
  288. })
  289.  
  290. TEAM_EMAFIA = DarkRP.createJob("East Mafia Don", {
  291. color = Color(203, 237, 0, 255),
  292. model = "models/fearless/mafia04.mdl",
  293. description = [[You are the East Mafia Don, you control the East Mafia, give orders out to the Mafia mebers!]],
  294. weapons = {"m9k_an94","m9k_model627","lockpick","keypad_cracker"},
  295. command = "eastdon",
  296. max = 1,
  297. salary = 300,
  298. admin = 0,
  299. vote = false,
  300. hasLicense = true,
  301. candemote = false,
  302. category = "Criminal",
  303. })
  304.  
  305. TEAM_WMAFIA = DarkRP.createJob("West Mafia Mobster", {
  306. color = Color(193, 33, 33, 255),
  307. model = "models/fearless/mafia06.mdl",
  308. description = [[You are a West Mafia Mobster, you take orders from the West Mafia Don!]],
  309. weapons = {"m9k_model627","lockpick","keypad_cracker"},
  310. command = "westmob",
  311. max = 3,
  312. salary = 200,
  313. admin = 0,
  314. vote = false,
  315. hasLicense = true,
  316. candemote = false,
  317. category = "Criminal",
  318. })
  319.  
  320. TEAM_EMAFIA = DarkRP.createJob("East Mafia Mobster", {
  321. color = Color(193, 33, 33, 255),
  322. model = "models/fearless/mafia07.mdl",
  323. description = [[You are a East Mafia Mobster, you take orders from the East Mafia Don!]],
  324. weapons = {"m9k_model627","lockpick","keypad_cracker"},
  325. command = "eastmob",
  326. max = 3,
  327. salary = 200,
  328. admin = 0,
  329. vote = false,
  330. hasLicense = true,
  331. candemote = false,
  332. category = "Criminal",
  333. })
  334.  
  335. -----------------
  336. -- VIP
  337. -----------------
  338.  
  339. TEAM_PTHIEF = DarkRP.createJob("Professional Thief", {
  340. color = Color(0, 209, 255, 255),
  341. model = {
  342. "models/player/pd2_chains_p.mdl",
  343. "models/player/pd2_dallas_p.mdl",
  344. "models/player/pd2_hoxton_p.mdl",
  345. "models/player/pd2_wolf_p.mdl"},
  346. description = [[You are A Professional Thief, you can now raid bigger and better bases thanks to your upgraded gear!]],
  347. weapons = {"m9k_m92beretta","m9k_m416","lockpick","prokeypadcracker"},
  348. command = "professionalthief",
  349. max = 10,
  350. salary = 500,
  351. customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
  352. CustomCheckFailMsg = "You are not a VIP",
  353. admin = 0,
  354. vote = false,
  355. hasLicense = true,
  356. candemote = false,
  357. category = "VIP",
  358. })
  359.  
  360. TEAM_VAPE = DarkRP.createJob("Vape God", {
  361. color = Color(47, 79, 79, 255),
  362. model = {"models/rottweiler/astronaut.mdl",},
  363. description = [[You rip the fattest vapes, chill and remeber to spread the word VAPE NATION!]],
  364. weapons = {"weapon_vape"},
  365. command = "vape",
  366. max = 1,
  367. salary = 250,
  368. customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
  369. CustomCheckFailMsg = "You are not a VIP",
  370. admin = 0,
  371. vote = false,
  372. hasLicense = false,
  373. category = "VIP",
  374. })
  375.  
  376. TEAM_SWAT = DarkRP.createJob("Swat Leader", {
  377. color = Color(37, 0, 186, 255),
  378. model = {"models/fearless/sru01.mdl",},
  379. description = [[You are the Swat Leader, you give orders and control the other Swat Members!]],
  380. weapons = {"weapon_cuff_elastic","m9k_m4a1","m9k_m92beretta"},
  381. command = "swatleader",
  382. max = 1,
  383. salary = 450,
  384. customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
  385. CustomCheckFailMsg = "You are not a VIP",
  386. admin = 0,
  387. vote = false,
  388. hasLicense = true,
  389. candemote = true,
  390. category = "VIP",
  391. })
  392.  
  393. TEAM_SWAT = DarkRP.createJob("Swat Sniper", {
  394. color = Color(37, 0, 186, 255),
  395. model = {"models/fearless/cr.mdl",},
  396. description = [[You are the Swat Sinper, you give assitance to the other Swat Members during raids!]],
  397. weapons = {"weapon_cuff_elastic","m9k_m92beretta","m9k_aw50"},
  398. command = "swatsniper",
  399. max = 4,
  400. salary = 300,
  401. customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
  402. CustomCheckFailMsg = "You are not a VIP",
  403. admin = 0,
  404. vote = false,
  405. hasLicense = true,
  406. candemote = true,
  407. category = "VIP",
  408. })
  409.  
  410. TEAM_SWAT = DarkRP.createJob("Swat Juggernaut", {
  411. color = Color(37, 0, 186, 255),
  412. model = {"models/juggernaut_player.mdl",},
  413. description = [[You are a Swat Juggernaut, you assist in the hardest of raids!]],
  414. weapons = {"weapon_cuff_elastic","m9k_remington870","m9k_ares_shrike","m9k_deagle"},
  415. command = "swatjuggernaut",
  416. max = 1,
  417. salary = 350,
  418. customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
  419. CustomCheckFailMsg = "You are not a VIP",
  420. admin = 0,
  421. vote = false,
  422. hasLicense = true,
  423. candemote = true,
  424. category = "VIP",
  425. })
  426.  
  427. TEAM_SUPPLY = DarkRP.createJob("Heavy Gun Dealer", {
  428. color = Color(255, 140, 0, 255),
  429. model = {"models/player/odessa.mdl",},
  430. description = [[You are a Heavy Gun Dealer, you sell heavy weapons to the public!]],
  431. weapons = {""},
  432. command = "heavygundealer",
  433. max = 3,
  434. salary = 350,
  435. customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "vip" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "senior" or ply:GetNWString("usergroup") == "hadmin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
  436. CustomCheckFailMsg = "You are not a VIP",
  437. admin = 0,
  438. vote = false,
  439. hasLicense = false,
  440. category = "VIP",
  441. })
  442.  
  443. -----------------
  444. -- Custom Jobs
  445. -----------------
  446.  
  447. TEAM_CUSTOM = DarkRP.createJob("Issac", {
  448. color = Color(255, 140, 0, 255),
  449. model = {"models/player/chuckymore/n7isaac.mdl",},
  450. description = [[Daggins' Custom Job!]],
  451. weapons = {"weapon_vape","weapon_cuff_elastic","weapon_gammashooter","m9k_val","m9k_m4a1","m9k_fal","m9k_l85","m9k_minigun","m9k_glock","m9k_spas12","m9k_intervention","m9k_m202","m9k_mp7"},
  452. command = "issac",
  453. max = 1,
  454. salary = 5000,
  455. customCheck = function(ply) return ply:SteamID() == "STEAM_0:0:57607348" end
  456. CustomCheckFailMsg = "You are not Daggins!",
  457. admin = 0,
  458. vote = false,
  459. hasLicense = true,
  460. category = "Custom",
  461. })
  462.  
  463.  
  464. -----------------
  465. -- Admin
  466. -----------------
  467.  
  468. TEAM_ADMIN = DarkRP.createJob("Staff On Duty", {
  469. color = Color(255, 0, 0, 255),
  470. model = {"models/player/anon/anon.mdl",},
  471. description = [[Protect the server from rule breakers!]],
  472. weapons = {"weapon_keypadchecker","arrest_stick","unarrest_stick","med_kit","weaponchecker"},
  473. command = "admin",
  474. max = 10,
  475. salary = 0,
  476. customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "trial-mod" or ply:GetNWString("usergroup") == "moderator" or ply:GetNWString("usergroup") == "junior-admin" or ply:GetNWString("usergroup") == "admin" or ply:GetNWString("usergroup") == "trial-mod+" or ply:GetNWString("usergroup") == "moderator+" or ply:GetNWString("usergroup") == "junior-admin+" or ply:GetNWString("usergroup") == "admin+" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "owner" end,
  477. CustomCheckFailMsg = "You are not a Staff Member",
  478. admin = 0,
  479. vote = false,
  480. hasLicense = false,
  481. category = "Admin",
  482. })
  483.  
  484.  
  485. --[[---------------------------------------------------------------------------
  486. Define which team joining players spawn into and what team you change to if demoted
  487. ---------------------------------------------------------------------------]]
  488. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  489.  
  490.  
  491. --[[---------------------------------------------------------------------------
  492. Define which teams belong to civil protection
  493. Civil protection can set warrants, make people wanted and do some other police related things
  494. ---------------------------------------------------------------------------]]
  495. GAMEMODE.CivilProtection = {
  496. [TEAM_POLICE] = true,
  497. [TEAM_CHIEF] = true,
  498. [TEAM_MAYOR] = true,
  499. }
  500.  
  501. --[[---------------------------------------------------------------------------
  502. Jobs that are hitmen (enables the hitman menu)
  503. ---------------------------------------------------------------------------]]
  504. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement