Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.14 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. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  7. Once you've done that, copy and paste the job to this file and edit it.
  8. The default jobs can be found here:
  9. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  10. For examples and explanation please visit this wiki page:
  11. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  12. Add your custom jobs under the following line:
  13. ---------------------------------------------------------------------------]]
  14. TEAM_FEDORA = DarkRP.createJob("CDA Protection Chief", {
  15. color = Color(0, 255, 240, 255),
  16. model = {"models/player/anon/anon.mdl"},
  17. description = [[You're the CDA! If anyone hires you you goto them! You're basically a high class Mercenary!
  18.  
  19. You Can Raid
  20. You Can Print
  21. You Can Grow Drugs
  22. You Can Do Anything]],
  23. weapons = {"weapon_uni_admin_cracker", "m9k_intervention", "m9k_minigun", "m9k_ragingbull", "grapplehook", "parkourmod", "weapon_lightsaber", "lockpick", "swep_asm", "weapon_fidget"},
  24. command = "cda",
  25. max = 0,
  26. salary = 1000,
  27. admin = 0,
  28. vote = false,
  29. hasLicense = true,
  30. candemote = false,
  31. mayor = true,
  32. chief = true,
  33. cook = true,
  34. category = "Other",
  35. PlayerSpawn = function(ply)
  36. ply:SetMaxHealth(200)
  37. ply:SetHealth(200)
  38. ply:SetArmor(150)
  39. end,
  40. customCheck = function(ply) return
  41. table.HasValue({"STEAM_0:1:123327016"}, ply:SteamID())
  42. end,
  43. CustomCheckFailMsg = "This Job Is For Happy Fedora Only!",
  44. })
  45.  
  46. Team_OWNER = DarkRP.createJob("Owner", {
  47. color = Color(255, 255, 255, 255),
  48. model = {"models/player/sumario_galaxy.mdl"},
  49. description = [[Owner]],
  50. weapons = {"weapon_vape_hallucinogenic", "weapon_vape_american", "weapon_vape_butterfly", "weapon_vape_custom", "weapon_vape_dragon", "weapon_vape_golden", "weapon_vape_helium", "weapon_vape_juicy", "weapon_vape_medicinal", "weapon_vape_mega", "pist_weagon", "weapon_uni_admin_cracker", "m9k_minigun", "dab", "frontflip", "facepunch", "middlefinger", "salute","surrender",},
  51. command = "owner",
  52. max = 1,
  53. salary = 1000000000,
  54. admin = 0,
  55. vote = false,
  56. hasLicense = true,
  57. candemote = false,
  58. category = "Other",
  59. PlayerSpawn = function(ply)
  60. ply:SetMaxHealth(150)
  61. ply:SetHealth(150)
  62. ply:SetArmor(100)
  63. end,
  64. customCheck = function(ply) return
  65. table.HasValue({"STEAM_0:0:141526115"}, ply:SteamID())
  66. end,
  67. CustomCheckFailMsg = "This Job Is Only For The Owner",
  68. })
  69.  
  70. TEAM_MEESEEKS = DarkRP.createJob("MEESEEKS", {
  71. color = Color(255, 0, 0, 255),
  72. model = "models/player/meeseeks/meeseeks.mdl",
  73. description = [[Be a meeseek]],
  74. weapons = {"weapon_vape"},
  75. command = "meeseek",
  76. max = 8,
  77. salary = 20,
  78. admin = 1,
  79. vote = false,
  80. category = "Other",
  81. -- Insert Custom Check Here
  82. })
  83. TEAM_CITIZEN = AddExtraTeam("Citizen", {
  84. color = Color(20, 150, 20, 255),
  85. model = "models/player/Group01/Male_05.mdl",
  86. description = [[The Citizen is the most basic level of society you can hold
  87. besides being a hobo.
  88. You have no specific role in city life.]],
  89. command = "citizen",
  90. weapons = {"hl2_combo_fists","weapon_vape",},
  91. max = 0,
  92. salary = 45,
  93. admin = 0,
  94. vote = false,
  95. hasLicense = false
  96. category = "Citizen",
  97. })
  98.  
  99.  
  100.  
  101. TEAM_LAWYER = AddExtraTeam("Lawyer", {
  102. color = Color(100, 150, 200, 255),
  103. model = "models/player/hostage/hostage_04.mdl",
  104. description = [[As a lawyer you are responsible for fighting
  105. on your clints behalf this includes bailing him out of jail and or
  106. pvp confrontation.
  107.  
  108. SALARY:60]],
  109. weapons = {"unarrest_stick", "hl2_combo_fists"},
  110. command = "lawyer",
  111. max = 3,
  112. salary = 60,
  113. admin = 0,
  114. vote = true,
  115. hasLicense = false
  116. category = "Citizen",
  117. })
  118.  
  119. TEAM_POLICE = AddExtraTeam("Police Officer", {
  120. color = Color(25, 25, 170, 255),
  121. model = "models/player/police.mdl",
  122. description = [[The protector of every citizen that lives in the city .
  123. You have the power to arrest criminals and protect innocents.
  124. Hit them with your arrest baton to put them in jail
  125. Bash them with a stunstick and they might learn better than to disobey
  126. the law.
  127. The Battering Ram can break down the door of a criminal with a warrant
  128. for his/her arrest.
  129. The Battering Ram can also unfreeze frozen props(if enabled).
  130. Type /wanted <name> to alert the public to this criminal
  131. OR go to tab and warrant someone by clicking the warrant button
  132.  
  133. SALARY:50]],
  134. weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_glock", "stunstick", "door_ram", "weaponchecker"},
  135. command = "cp",
  136. max = 4,
  137. salary = 50,
  138. admin = 0,
  139. vote = true,
  140. hasLicense = true
  141. category = "Government",
  142. })
  143.  
  144. TEAM_CHIEF = AddExtraTeam("Police Sergeant", {
  145. color = Color(20, 20, 255, 255),
  146. model = "models/player/combine_soldier_prisonguard.mdl",
  147. description = [[The Chief is the leader of the Police Officer's unit.
  148. Coordinate the police forces to bring law to the city
  149. Hit them with arrest baton to put them in jail
  150. Bash them with a stunstick and they might learn better than to
  151. disobey the law.
  152. The Battering Ram can break down the door of a criminal with a
  153. warrant for his/her arrest.
  154. Type /wanted <name> to alert the public to this criminal
  155. Type /jailpos to set the Jail Position
  156.  
  157. SALARY:60]],
  158. weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_p228", "stunstick", "door_ram", "weaponchecker"},
  159. command = "chief",
  160. max = 1,
  161. salary = 60,
  162. admin = 0,
  163. vote = false,
  164. hasLicense = true,
  165. category = "Government",
  166. NeedToChangeFrom = TEAM_POLICE
  167. })
  168.  
  169. TEAM_MAYOR = AddExtraTeam("Mayor", {
  170. color = Color(150, 20, 20, 255),
  171. model = "models/player/breen.mdl",
  172. description = [[The Mayor of the city creates laws to serve the greater
  173. good of the people.
  174. If you are the mayor you may create and accept warrants.
  175. Type /wanted <name> to warrant a player
  176. Type /jailpos to set the Jail Position
  177. Type /lockdown initiate a lockdown of the city.
  178. Everyone must be inside during a lockdown.
  179. The cops patrol the area
  180. /unlockdown to end a lockdown
  181.  
  182. SALARY:100]],
  183. weapons = {},
  184. command = "mayor",
  185. max = 1,
  186. salary = 100,
  187. admin = 0,
  188. vote = true,
  189. hasLicense = false
  190. category = "Government",
  191. })
  192.  
  193. TEAM_SS = AddExtraTeam("Secret Service", {
  194. color = Color(255, 10, 10, 255),
  195. model = "models/player/combine_soldier.mdl",
  196. description = [[As a secret service agent, it is your job to make sure the
  197. mayor is safe under any Circumstances. But you are still under
  198. the authority of the police chief.
  199.  
  200. SALARY:50]],
  201. weapons = {"weapon_mad_p228", "hl2_combo_fists", "weapon_mad_mp5"},
  202. command = "secretservice",
  203. max = 2,
  204. salary = 50,
  205. admin = 0,
  206. vote = true,
  207. hasLicense = true
  208. category = "Government",
  209. })
  210.  
  211. TEAM_GUN = AddExtraTeam("Gun Dealer", {
  212. color = Color(255, 140, 0, 255),
  213. model = "models/player/hostage/hostage_02.mdl",
  214. description = [[As a gun dealer it is your job to sell light weaponry
  215. to all jobs. The guns prices are at your disposal.
  216.  
  217. SALARY:45]],
  218. weapons = {"hl2_combo_fists"},
  219. command = "gundealer",
  220. max = 3,
  221. salary = 45,
  222. admin = 0,
  223. vote = false,
  224. hasLicense = true
  225. category = "Citizen",
  226. })
  227.  
  228. TEAM_BOUNTY = AddExtraTeam("Bounty Hunter", {
  229. color = Color(125, 125, 256, 252),
  230. model = "models/player/Group01/Female_02.mdl",
  231. description = [[As a bounty hunter its your job to find wanted players and
  232. take them down to the station.
  233.  
  234. SALARYL:50]],
  235. weapons = {"hl2_combo_fists"},
  236. command = "bounty",
  237. max = 1,
  238. salary = 50,
  239. admin = 0,
  240. vote = false,
  241. hasLicense = true
  242. category = "Citizen",
  243. })
  244.  
  245. TEAM_HIT = AddExtraTeam("Hit Man", {
  246. color = Color(125, 125, 225, 212),
  247. model = "models/player/group02/male_08.mdl",
  248. description = [[As a hit man its your job to kill the players
  249. that have a "hit" on them.
  250.  
  251. SALARYL:35]],
  252. weapons = {"hl2_combo_fists", "weapon_mad_auto_glock"},
  253. command = "hitman",
  254. max = 1,
  255. salary = 35,
  256. admin = 0,
  257. vote = false,
  258. hasLicense = false
  259. category = "Citizen",
  260. })
  261.  
  262. TEAM_FIGHT = AddExtraTeam("Fight Club Manager", {
  263. color = Color(125, 125, 200, 255),
  264. model = "models/player/Group01/male_02.mdl",
  265. description = [[As a fight club manager you can set up your fight club
  266. on any state you buy. Both players must agree to the fight clubs terms
  267. before any pvp fights occur.
  268.  
  269. SALARYL:45]],
  270. weapons = {"hl2_combo_fists"},
  271. command = "fight",
  272. max = 1,
  273. salary = 45,
  274. admin = 0,
  275. vote = false,
  276. hasLicense = false
  277. category = "Citizen",
  278. })
  279.  
  280. TEAM_HOBO = AddExtraTeam("Hobo", {
  281. color = Color(80, 45, 0, 255),
  282. model = "models/player/zombie_fast.mdl",
  283. description = [[The lowest member of society. All people see you laugh.
  284. You have no home.
  285. Beg for your food and money
  286. Sing for everyone who passes to get money
  287. Make your own wooden home somewhere in a corner or
  288. outside someone else's door
  289.  
  290. SALARY:0]],
  291. weapons = {"hl2_combo_fists", "weapon_bugbait", "rp_pickpocket"},
  292. command = "hobo",
  293. max = 4,
  294. salary = 0,
  295. admin = 0,
  296. vote = false,
  297. hasLicense = false
  298. category = "Citizen",
  299. })
  300.  
  301. TEAM_BODYGUARD = AddExtraTeam("Body Guard", {
  302. color = Color(0,68,89,255),
  303. model = "models/player/odessa.mdl",
  304. description = [[As a bodyguard it is your job to protect your employer
  305. and his estate.
  306.  
  307. SALARY:60]],
  308. weapons = {"hl2_combo_fists"},
  309. command = "bodyguard",
  310. max = 2,
  311. salary = 60,
  312. admin = 0,
  313. vote = false,
  314. hasLicense = false
  315. category = "Government",
  316. })
  317.  
  318. TEAM_MEDIC = AddExtraTeam("Doctor", {
  319. color = Color(47, 79, 79, 255),
  320. model = "models/player/kleiner.mdl",
  321. description = [[As a medic it is your job to see to people
  322. in need of health. It is up to you weather or not you charge
  323. for you service.
  324.  
  325. SALARY:45]],
  326. weapons = {"weapon_mad_medic", "hl2_combo_fists"},
  327. command = "doctor",
  328. max = 3,
  329. salary = 45,
  330. admin = 0,
  331. vote = false,
  332. hasLicense = false
  333. category = "Citizen",
  334. })
  335.  
  336. TEAM_THIEF = AddExtraTeam("Thief", {
  337. color = Color(10, 255, 200, 255),
  338. model = "models/player/arctic.mdl",
  339. description = [[Your are a thief, Brake into peoples homes
  340. and places of business to piss them off!
  341. Take what you can and run!
  342. You may not shoot if they ain't a threat.
  343.  
  344. SALARY:45]],
  345. weapons = {"keypad_cracker", "lockpick", "hl2_combo_fists"},
  346. command = "thief",
  347. max = 3,
  348. salary = 45,
  349. admin = 0,
  350. vote = false,
  351. hasLicense = false
  352. category = "Citizen",
  353. })
  354.  
  355. TEAM_PROTHIEF = AddExtraTeam("Pro Thief", {
  356. color = Color(111, 199, 175, 255),
  357. model = "models/player/arctic.mdl",
  358. description = [[Your are a pro thief, Brake into peoples homes
  359. and places of business to piss them off!
  360. Take what you can and run!
  361. You may not shoot people in there own only in robbery.
  362. homes or places of business. only in robbery.
  363. to shoot you!.
  364.  
  365. SALARY:60]],
  366. weapons = {"fastkeypad_cracker", "fastlockpick", "hl2_combo_fists", "rp_pickpocket"},
  367. command = "prothief",
  368. max = 3,
  369. salary = 60,
  370. admin = 0,
  371. vote = false,
  372. hasLicense = false
  373. category = "Citizen",
  374. })
  375.  
  376. TEAM_HOTEL = AddExtraTeam("Hotel manager", {
  377. color = Color(10, 255, 200, 255),
  378. model = "models/player/Group01/male_08.mdl",
  379. description = [[
  380.  
  381.  
  382. SALARY:55]],
  383. weapons = {"hl2_combo_fists"},
  384. command = "hotel",
  385. max = 1,
  386. salary = 55,
  387. admin = 0,
  388. vote = false,
  389. hasLicense = false
  390. category = "Citizen",
  391. })
  392.  
  393.  
  394. TEAM_DRUGCARTELBOSS = AddExtraTeam("Mexican Drug Cartel Boss", {
  395. color = Color(10, 10, 10, 255),
  396. model = "models/player/monk.mdl",
  397. description = [[As the mexican drug boss you have the athority to
  398. tell the mexican drug cartel what to do. But be careful because
  399. police informent will be looking out for you
  400.  
  401. SALARY:50]],
  402. weapons = {"lockpick", "unarrest_stick", "hl2_combo_fists"},
  403. command = "drugcartelboss",
  404. max = 1,
  405. salary = 50,
  406. admin = 0,
  407. vote = false,
  408. hasLicense = false
  409. category = "Gangs",
  410. })
  411.  
  412. TEAM_DRUGCARTEL = AddExtraTeam("Mexican Drug Cartel Mobster", {
  413. color = Color(100, 100, 100, 255),
  414. model = "models/player/Group03/male_03.mdl",
  415. description = [[You work for the Mexican Drug Cartel,
  416. You take orders from the Mexican Drug Cartel boss only.
  417.  
  418. SALARY:45]],
  419. weapons = {"hl2_combo_fists"},
  420. command = "drugcartel",
  421. max = 5,
  422. salary = 45,
  423. admin = 0,
  424. vote = false,
  425. hasLicense = false
  426. category = "Gangs",
  427. })
  428.  
  429. TEAM_ITALIANMOBBOSS = AddExtraTeam("Italian Mob Boss", {
  430. color = Color(100, 128, 128, 128),
  431. model = "models/player/gman_high.mdl",
  432. description = [[As the italian mob boss you have the athority to
  433. tell the italian mobsters what to do. But be careful because
  434. police informent will be looking out for you
  435.  
  436. SALARY:50]],
  437. weapons = {"hl2_combo_fists"},
  438. command = "italianmobboss",
  439. max = 1,
  440. salary = 50,
  441. admin = 0,
  442. vote = false,
  443. hasLicense = false
  444. category = "Gangs",
  445. })
  446.  
  447. TEAM_ITALIANMOBSTER = AddExtraTeam("Italian Mobster", {
  448. color = Color(100, 100, 100, 255),
  449. model = "models/player/guerilla.mdl",
  450. description = [[You work for the Italian Mob boss,
  451. You take orders from the Italian mob boss only.
  452.  
  453. SALARY:45]],
  454. weapons = {"hl2_combo_fists"},
  455. command = "italianmobster",
  456. max = 6,
  457. salary = 45,
  458. admin = 0,
  459. vote = false,
  460. hasLicense = false
  461. category = "Gangs",
  462. })
  463.  
  464. TEAM_SWAT = AddExtraTeam("S.W.A.T", {
  465. color = Color(50, 90, 255, 255),
  466. model = "models/player/urban.mdl",
  467. description = [[ [Donator Job] As a S.W.A.T officer it is your
  468. job to infiltrate
  469. drug labs and and asisest police officers on high level raids.
  470. You are still under the athorty of the police cheif.
  471.  
  472. SALARY:100]],
  473. weapons = {"weapon_mad_mp5", "arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "hl2_combo_fists", "weapon_mad_p228"},
  474. command = "swat",
  475. max = 3,
  476. salary = 100,
  477. admin = 0,
  478. vote = false,
  479. hasLicense = true
  480. category = "Government",
  481. })
  482.  
  483. TEAM_SWATCO = AddExtraTeam("S.W.A.T Commander", {
  484. color = Color(10, 10, 100, 255),
  485. model = "models/player/urban.mdl",
  486. description = [[ [Donator Job] As a S.W.A.T Commander it is your
  487. job to infiltrate
  488. drug labs and and asisest police officers on high level raids.
  489. You are still under the athorty of the police cheif.
  490.  
  491. SALARY:130]],
  492. weapons = {"arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "weapon_mad_m4", "hl2_combo_fists", "weapon_mad_deagle"},
  493. command = "swatco",
  494. max = 1,
  495. salary = 130,
  496. admin = 0,
  497. vote = false,
  498. hasLicense = true,
  499. category = "Government",
  500. NeedToChangeFrom = TEAM_SWAT
  501. })
  502.  
  503.  
  504. TEAM_NINJA = AddExtraTeam("Ninja", {
  505. color = Color(255, 93, 0, 255),
  506. model = "models/player/charple.mdl",
  507. description = [[As a ninja you can jump from building
  508. to building with you grapling hook. But be careful
  509. because grapling hook is not leagel.
  510.  
  511. SALARY:90]],
  512. weapons = {"hl2_combo_fists", "grapplehook", "weapon_mad_knife"},
  513. command = "ninja",
  514. max = 2,
  515. salary = 65,
  516. admin = 0,
  517. vote = false,
  518. hasLicense = false
  519. category = "Other",
  520. })
  521.  
  522. TEAM_FBI = AddExtraTeam("F.B.I", {
  523. color = Color(50, 90, 255, 255),
  524. model = "models/player/riot.mdl",
  525. description = [[ [Gold Donator] As a F.B.I Special Agent its your job to find
  526. Terrorists and kill or arrest them.....
  527.  
  528. SALARY:120]],
  529. weapons = {"hl2_combo_fists", "weapon_mad_m4", "weapon_mad_p228"},
  530. command = "fbi",
  531. max = 2,
  532. salary = 120,
  533. admin = 0,
  534. vote = false,
  535. hasLicense = false
  536. category = "Other",
  537. })
  538.  
  539. TEAM_BANK = AddExtraTeam("Downtown Bank Owner", {
  540. color = Color(65, 90, 255, 255),
  541. model = "models/player/Hostage/hostage_04.mdl",
  542. description = [[ [Gold Donator] As a Bank Owner you can store
  543. printers, guns etc.....
  544.  
  545. SALARY:120]],
  546. weapons = {"hl2_combo_fists"},
  547. command = "bank",
  548. max = 2,
  549. salary = 120,
  550. admin = 0,
  551. vote = false,
  552. hasLicense = false
  553. category = "Citizen",
  554. })
  555.  
  556. TEAM_NG = AddExtraTeam("National Guard", {
  557. color = Color(10, 10, 100, 255),
  558. model = "models/player/gasmask.mdl",
  559. description = [[ [Gold Donator Job] As a member of the National Guard
  560. your job is to protect the citizen from terrorist...
  561. If its allot of Terrorists in the city the Lieutenant Colonel of the
  562. National Guard is in charge over all Law Enforcement in the city.
  563.  
  564. SALARY:150]],
  565. weapons = {"weaponchecker", "weapon_mad_m4", "hl2_combo_fists", "weapon_mad_p228"},
  566. command = "ng",
  567. max = 5,
  568. salary = 150,
  569. admin = 0,
  570. vote = false,
  571. hasLicense = true
  572. category = "Government",
  573. })
  574.  
  575. TEAM_NGLT = AddExtraTeam("National Guard Lieutenant Colonel", {
  576. color = Color(10, 10, 150, 255),
  577. model = "models/player/gasmask.mdl",
  578. description = [[ [Supporter Job] As the Lieutenant Colonel in the
  579. National Guard its your job to be in charge of all Law Enforcement
  580. when its allot of terrorists or attacks in the city.
  581.  
  582. SALARY:230]],
  583. weapons = {"weaponchecker", "weapon_mad_m4", "hl2_combo_fists", "weapon_mad_p228"},
  584. command = "nglt",
  585. max = 5,
  586. salary = 230,
  587. admin = 0,
  588. vote = false,
  589. hasLicense = true,
  590. category = "Government",
  591. customCheck = function(ply)
  592. return ply:IsUserGroup("d_headadmin") or ply:IsUserGroup("developer")
  593. end
  594. })
  595.  
  596. TEAM_ADMIN = AddExtraTeam("Admin On Patrol", {
  597. color = Color(100, 100, 100, 255),
  598. model = {
  599. "models/player/combine_super_soldier.mdl",
  600. },
  601. description = [[Info]],
  602. weapons = {"hl2_combo_fists"},
  603. command = "admin",
  604. max = 3,
  605. salary = 1000,
  606. admin = 0,
  607. vote = false,
  608. hasLicense = false,
  609. category = "Other",
  610. customCheck = function(ply)
  611. return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("sadmingolddonator") or ply:IsUserGroup("developer") or ply:IsUserGroup("trialadmin") or ply:IsUserGroup("junioradmin") or ply:IsUserGroup("trialadmingolddonator")
  612. end
  613. })
  614.  
  615.  
  616. --[[---------------------------------------------------------------------------
  617. Define which team joining players spawn into and what team you change to if demoted
  618. ---------------------------------------------------------------------------]]
  619. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  620. --[[---------------------------------------------------------------------------
  621. Define which teams belong to civil protection
  622. Civil protection can set warrants, make people wanted and do some other police related things
  623. ---------------------------------------------------------------------------]]
  624. GAMEMODE.CivilProtection = {
  625. [TEAM_POLICE] = true,
  626. [TEAM_CHIEF] = true,
  627. [TEAM_MAYOR] = true,
  628. }
  629. --[[---------------------------------------------------------------------------
  630. Jobs that are hitmen (enables the hitman menu)
  631. ---------------------------------------------------------------------------]]
  632. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement