Advertisement
ldshaul01

Untitled

Sep 2nd, 2014
689
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. TEAM_DEAL = DarkRP.createJob("Drug Dealer", {
  21. color = Color(90, 90, 90, 255),
  22. model = {
  23. "models/player/kuma/taliban_bomber.mdl"
  24. },
  25. description = [[Deal drugs to everyone....
  26. Don't get caught or you will be arrested]],
  27. weapons = {},
  28. command = "ddealer",
  29. max = 3,
  30. salary = GAMEMODE.Config.normalsalary,
  31. admin = 0,
  32. vote = false,
  33. hasLicense = false
  34. })
  35.  
  36. TEAM_THIEF = AddExtraTeam("Thief", {
  37. color = Color(67, 34, 128, 255),
  38. model = {
  39. "models/player/arctic.mdl"
  40. },
  41. description = [[As a Thief you can rob or try over rule you leader "Super Thief"
  42. Warning!: he can kill you back!]],
  43. weapons = {"keypad_cracker", "lockpick"},
  44. command = "thief",
  45. max = 3,
  46. salary = 50,
  47. admin = 0,
  48. vote = false,
  49. hasLicense = false
  50. })
  51.  
  52. TEAM_SUPER = AddExtraTeam("Super Thief", {
  53. color = Color(27, 100, 40, 255),
  54. model = {
  55. "models/player/barney.mdl"
  56. },
  57. description = [[You are the Super Thief you are the laeder
  58. of the thiefs you will send them into "battle"
  59.  
  60. Warning: they can over run you!]],
  61. weapons = {"m9k_glock", "pro_lockpick_update", "climb_swep2", "keypad_cracker"},
  62. command = "sthief",
  63. max = 1,
  64. salary = 150,
  65. admin = 1,
  66. vote = false,
  67. hasLicense = false
  68. })
  69.  
  70.  
  71. TEAM_HOTEL = AddExtraTeam("Hotel Manager", {
  72. color = Color(74, 174, 63, 255),
  73. model = {
  74. "models/player/humans/suits1/male_01.mdl",
  75. "models/player/humans/suits1/male_02.mdl",
  76. "models/player/humans/suits1/male_03.mdl",
  77. "models/player/humans/suits1/male_04.mdl"
  78. },
  79. description = [[Buy entire buildings and rent out rooms.]],
  80. weapons = {},
  81. command = "hotel",
  82. max = 1,
  83. salary = 80,
  84. admin = 0,
  85. vote = false,
  86. hasLicense = false
  87. })
  88.  
  89. TEAM_CARDEALER = AddExtraTeam("Car Dealer", {
  90. color = Color(134, 0, 0, 255),
  91. model = {
  92. "models/player/guerilla.mdl"
  93. },
  94. description = [[Sell cars to people for a decent price!]],
  95. weapons = {},
  96. command = "cardealer",
  97. max = 1,
  98. salary = 70,
  99. admin = 0,
  100. vote = false,
  101. hasLicense = false
  102. })
  103.  
  104. TEAM_MOVIE = AddExtraTeam("Movie Manager", {
  105. color = Color(0, 255, 162, 255),
  106. model = {
  107. "models/player/humans/suits1/male_01.mdl",
  108. "models/player/humans/suits1/male_02.mdl",
  109. "models/player/humans/suits1/male_03.mdl",
  110. "models/player/humans/suits1/male_04.mdl"
  111. },
  112. description = [[Manage your own movie theater.]],
  113. weapons = {},
  114. command = "movie",
  115. max = 1,
  116. salary = 70,
  117. admin = 0,
  118. vote = false,
  119. hasLicense = false
  120. })
  121.  
  122. TEAM_HITMAN = AddExtraTeam("Hitman", {
  123. color = Color(100, 100, 100, 255),
  124. model = {
  125. "models/player/agent_47.mdl"
  126. },
  127. description = [[As a Hitman, you kill from a distance. Don't get caught as murder is illegal in this city.]],
  128. weapons = {"m9k_coltpython", "m9k_svu"},
  129. command = "hitman",
  130. max = 1,
  131. salary = 50,
  132. admin = 0,
  133. vote = false,
  134. hasLicense = false
  135. })
  136.  
  137. TEAM_BGUARD = AddExtraTeam("Body guard", {
  138. color = Color(200, 50, 5, 255),
  139. model = {
  140. "models/player/kuma/taliban_grunt.mdl"
  141. },
  142. description = [[You are a guard you are to guard shops and bases
  143. Warning: You can not raid!]],
  144. weapons = {"stunstick", "m9k_deagle"},
  145. command = "guard",
  146. max = 2,
  147. salary = 50,
  148. admin = 0,
  149. vote = false,
  150. hasLicense = false
  151. })
  152.  
  153. TEAM_PIMP = AddExtraTeam("Strip club owner", {
  154. color = Color(130, 30, 30, 255),
  155. model = {
  156. "models/player/eli.mdl"
  157. },
  158. description = [[Keep your Stripers safe!]],
  159. weapons = {"m9k_deagle"},
  160. command = "Pimp",
  161. max = 1,
  162. salary = 100,
  163. admin = 0,
  164. vote = false,
  165. hasLicense = false
  166. })
  167.  
  168. TEAM_HOE = AddExtraTeam("Stripper", {
  169. color = Color(130, 30, 30, 255),
  170. model = {
  171. "models/player/alyx.mdl"
  172. },
  173. description = [[Listen to your daddy]],
  174. weapons = {},
  175. command = "Hoe",
  176. max = 5,
  177. salary = 10,
  178. admin = 0,
  179. vote = false,
  180. hasLicense = false
  181. })
  182.  
  183. TEAM_MGD = AddExtraTeam("M9K Gun Dealer", {
  184. color = Color(110, 35, 35, 245),
  185. model = {
  186. "models/player/riot.mdl"
  187. },
  188. description = [[Sell Military weapons]],
  189. weapons = {},
  190. command = "Mgd",
  191. max = 1,
  192. salary = 80,
  193. admin = 0,
  194. vote = false,
  195. hasLicense = false
  196. })
  197.  
  198. TEAM_PGUARD = AddExtraTeam("Riot Squad", {
  199. color = Color(20, 20, 255, 255),
  200. model = {
  201. "models/player/urban.mdl"
  202. },
  203. description = [[You are the Riot Squad you guard the town with your life
  204.  
  205. Keep a close eye on it.]],
  206. weapons = {"m9k_deagle", "stunstick"},
  207. command = "riot",
  208. max = 2,
  209. salary = 50,
  210. admin = 0,
  211. vote = true,
  212. hasLicense = true
  213. })
  214.  
  215. TEAM_SPF = AddExtraTeam("Special Forces", {
  216. color = Color(110, 35, 35, 245),
  217. model = {
  218. "models/player/gasmask.mdl"
  219. },
  220. description = [[Get called in for missions]],
  221. weapons = {"m9k_m4a1"},
  222. command = "spf",
  223. max = 3,
  224. salary = 100,
  225. admin = 0,
  226. vote = true,
  227. hasLicense = true
  228. })
  229.  
  230. TEAM_HOSF = AddExtraTeam("Head Of Special Force", {
  231. color = Color(110, 35, 35, 245),
  232. model = {
  233. "models/player/swat.mdl"
  234. },
  235. description = [[You are the head of special force]],
  236. weapons = {"m9k_m4a1", "m9k_deagle"},
  237. command = "hosf",
  238. max = 1,
  239. salary = 120,
  240. admin = 0,
  241. vote = true,
  242. hasLicense = true
  243. })
  244.  
  245. TEAM_POLICEM = AddExtraTeam("Civil Protection Medic", {
  246. color = Color(25, 25, 170, 255),
  247. model = {
  248. "models/player/dod_american.mdl"
  249. },
  250. description = [[Your job is to heal the police and the president]],
  251. weapons = {"m9k_glock", "med_kit"},
  252. command = "cpm",
  253. max = 1,
  254. salary = 90,
  255. admin = 0,
  256. vote = true,
  257. hasLicense = true
  258. })
  259.  
  260. TEAM_KHOBO = AddExtraTeam("King Hobo", {
  261. color = Color(80, 45, 0, 255),
  262. model = {
  263. "models/vortigaunt.mdl"
  264. },
  265. description = [[The lowest member of society. All people see you laugh.
  266. You have no home.
  267. Beg for your food and money
  268. Sing for everyone who passes to get money
  269. Make your own wooden home somewhere in a corner or
  270. outside someone else's door]],
  271. weapons = {"weapon_bugbait"},
  272. command = "khobo",
  273. max = 1,
  274. salary = 2,
  275. admin = 0,
  276. vote = false,
  277. hasLicense = false
  278. })
  279.  
  280.  
  281. TEAM_GHOBO = AddExtraTeam("God Hobo", {
  282. color = Color(80, 45, 0, 255),
  283. model = {
  284. "models/Combine_turrets/Floor_turret.mdl"
  285. },
  286. description = [[The lowest member of society. All people see you laugh.
  287. You have no home.
  288. Beg for your food and money
  289. Sing for everyone who passes to get money
  290. Make your own wooden home somewhere in a corner or
  291. outside someone else's door]],
  292. weapons = {"weapon_bugbait"},
  293. command = "ghobo",
  294. max = 1,
  295. salary = 10,
  296. admin = 0,
  297. vote = false,
  298. hasLicense = false
  299. })
  300.  
  301. TEAM_PET = AddExtraTeam("Pet", {
  302. color = Color(0, 0, 0, 255),
  303. model = {
  304. "models/Lamarr.mdl"
  305. },
  306. description = [[You are pet be a good one]],
  307. weapons = {},
  308. command = "pet",
  309. max = 2,
  310. salary = 15,
  311. admin = 0,
  312. vote = false,
  313. hasLicense = false
  314. })
  315.  
  316.  
  317. TEAM_AOD = AddExtraTeam("Admin On Duty", {
  318. color = Color(50, 50, 50, 255),
  319. model = {
  320. "models/player/Combine_Super_Soldier.mdl"
  321. },
  322. description = [[While in this class you are an admin.
  323. There is no fun.
  324. There is no messing around.
  325. Enforce the rules and follow them as well]],
  326. weapons = {"m9k_ares_shrike"},
  327. command = "aod",
  328. max = 3,
  329. salary = 500,
  330. admin = 1,
  331. vote = false,
  332. hasLicense = false,
  333. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  334. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  335.  
  336. })
  337.  
  338. TEAM_SEWER = AddExtraTeam("Sewer Monster", {
  339. color = Color(250, 250, 250, 255),
  340. model = {
  341. "models/player/hellknight/hellknight.mdl"
  342. },
  343. description = [[You are a creature who lives in the dark. You thrive in the dark.
  344. You are a KOS target.
  345. You may kill anyone during the night(not at day), but stay underground during the day.]],
  346. weapons = {"weapon_chainsaw_new"},
  347. command = "sewer",
  348. max = 1,
  349. salary = 15,
  350. admin = 1,
  351. vote = false,
  352. hasLicense = false,
  353. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  354. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  355.  
  356. })
  357.  
  358. TEAM_CANNIBAL = AddExtraTeam("Cannibal", {
  359. color = Color(188, 9, 9, 255),
  360. model = {
  361. "models/player/Group01/Female_06.mdl"
  362. },
  363.  
  364. description = [[You kill and eat people for food. Doing this also heals you.
  365.  
  366. Try to blend in with the public and don't get caught.]],
  367. weapons = {"weapon_vampire"},
  368. command = "cannibal",
  369. max = 1,
  370. salary = 60,
  371. admin = 1,
  372. vote = false,
  373. hasLicense = false,
  374. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  375. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  376.  
  377. })
  378.  
  379.  
  380. TEAM_RAPE = AddExtraTeam("Rapist", {
  381. color = Color(200, 20, 20, 255),
  382. model = {
  383. "models/player/Group01/Male_01.mdl"
  384. },
  385. description = [[You can go around and and rape people!
  386. Be sure not to get caught!
  387. Don't do it in public.]],
  388. weapons = {"m9k_knife", "weapon_rape"},
  389. command = "rape",
  390. max = 2,
  391. salary = 5,
  392. admin = 1,
  393. vote = false,
  394. hasLicense = false,
  395. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  396. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  397.  
  398. })
  399.  
  400. TEAM_PYRO = AddExtraTeam("Pyro", {
  401. color = Color(255, 71, 34, 255),
  402. model = {
  403. "models/yellowlake/gh_sas_fngpos.mdl"
  404. },
  405. description = [[You CANNOT set people on fire, unless they did damage to your health in anyway.
  406. You CANNOT excessively set fire to someones home/props. Don't be annoying with it.
  407. You CAN set peoples house/property/props on fire but it is illegal..]],
  408. weapons = {"swep_flamethrower_d2k"},
  409. command = "pyro",
  410. max = 3,
  411. salary = 500,
  412. admin = 1,
  413. vote = false,
  414. hasLicense = false,
  415. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  416. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  417.  
  418. })
  419.  
  420. TEAM_FIREFIGHTER = AddExtraTeam("Fire Fighter", {
  421. color = Color(188, 9, 9, 255),
  422. model = {
  423. "models/fearless/fireman2.mdl"
  424. },
  425. description = [[Help free the city from the fires caused by the pyro!]],
  426. weapons = {"weapon_extinguisher"},
  427. command = "ffighter",
  428. max = 3,
  429. salary = 60,
  430. admin = 1,
  431. vote = false,
  432. hasLicense = false,
  433. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  434. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  435.  
  436. })
  437.  
  438. TEAM_GRIM = AddExtraTeam("Grim Reaper", {
  439. color = Color(200, 200, 200, 255),
  440. model = {
  441. "models/grim.mdl"
  442. },
  443. description = [[Kill those who are close to death.]],
  444. weapons = {"weapon_rubyrose_scythe"},
  445. command = "grim",
  446. max = 1,
  447. salary = 80,
  448. admin = 1,
  449. vote = false,
  450. hasLicense = false,
  451. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  452. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  453.  
  454. })
  455.  
  456. TEAM_IRON = AddExtraTeam("Iron Man", {
  457. color = Color(255, 247, 0, 255),
  458. model = {
  459. "models/avengers/iron_man/mark7_player.mdl"
  460. },
  461. description = [[ Iron Man has created many military weapons, some of which,
  462. along with other technological devices of his making,
  463. have been integrated into his suit, helping him fight crime]],
  464. weapons = {"weapon_iron_man"},
  465. command = "ironman",
  466. max = 1,
  467. salary = 1000,
  468. admin = 1,
  469. vote = false,
  470. hasLicense = false,
  471. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  472. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  473. })
  474.  
  475. TEAM_SPDRMN = AddExtraTeam("Spiderman", {
  476. color = Color(255, 0, 0, 255),
  477. model = {
  478. "models/player/tasm2spider.mdl"
  479. },
  480. description = [[You are a vigalanty!
  481. Swing around and try to protect the town!]],
  482.  
  483. weapons = {"weapon_fists", "weapon_spiderman"},
  484. command = "spiderman",
  485. max = 1,
  486. salary = 500,
  487. admin = 1,
  488. vote = false,
  489. hasLicense = false,
  490. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  491. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  492.  
  493. })
  494.  
  495. TEAM_SPDRMN = AddExtraTeam("Carnage", {
  496. color = Color(255, 0, 0, 255),
  497. model = {
  498. "models/player/slow/jamis/carnageee/slow.mdl"
  499. },
  500. description = [[You are a vigalanty!
  501. Swing around and cause carnage throughout.]],
  502.  
  503. weapons = {"weapon_fists", "weapon_spiderman"},
  504. command = "carnage",
  505. max = 1,
  506. salary = 500,
  507. admin = 1,
  508. vote = false,
  509. hasLicense = false,
  510. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  511. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  512.  
  513. })
  514.  
  515. TEAM_BATMAN = AddExtraTeam("Batman", {
  516. color = Color(255, 0, 0, 255),
  517. model = {
  518. "models/player/superheroes/batman.mdl"
  519. },
  520. description = [[You are a vigalanty!
  521. Use your super money powers and tools to save the town!]],
  522.  
  523. weapons = {"weapon_fists", "grapplehook"},
  524. command = "batman",
  525. max = 1,
  526. salary = 1000,
  527. admin = 1,
  528. vote = false,
  529. hasLicense = false,
  530. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  531. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  532.  
  533. })
  534.  
  535. TEAM_JOKER = AddExtraTeam("Joker", {
  536. color = Color(182, 8, 165, 255),
  537. model = {
  538. "models/player/slow/jamis/mkvsdcu/joker/slow_pub.mdl"
  539. },
  540. description = [[You are Batman's rival. Make his life hell.]],
  541. weapons = {"m9k_deagle", "m9k_m14sp", "pro_lockpick_update"},
  542. command = "joker",
  543. max = 1,
  544. salary = 500,
  545. admin = 1,
  546. vote = false,
  547. hasLicense = false,
  548. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  549. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  550. })
  551.  
  552. TEAM_DEADPOOL = AddExtraTeam("Deadpool", {
  553. color = Color(226, 163, 16, 255),
  554. model = {
  555. "models/apocmodels/deadpool/deadpoolultimateplayer.mdl"
  556. },
  557. description = [[You are a vigalanty!
  558.  
  559. Use your speed and deadly swords to raid and ear money!]],
  560.  
  561. weapons = {"weapon_fists", "weapon_akswords"},
  562. command = "deadpool",
  563. max = 1,
  564. salary = 500,
  565. admin = 1,
  566. vote = false,
  567. hasLicense = false,
  568. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  569. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  570. })
  571.  
  572. TEAM_SAMUS = AddExtraTeam("Samus Aran", {
  573. color = Color(100, 100, 100, 255),
  574. model = {
  575. "models/player/phazosamus.mdl"
  576. },
  577. description = [[You are the hitman of the future.
  578.  
  579. Get paid to take out serious criminals around the galaxy.]],
  580.  
  581. weapons = {"weapon_powerbeam"},
  582. command = "samus",
  583. max = 1,
  584. salary = 500,
  585. admin = 1,
  586. vote = false,
  587. hasLicense = false,
  588. customCheck = function(ply) return ply:IsUserGroup("donator","Admin","Super Admin") end,
  589. CustomCheckFailMsg = "You don't have the required rank to complete this action."
  590. })
  591.  
  592. /*---------------------------------------------------------------------------
  593. Define which team joining players spawn into and what team you change to if demoted
  594. ---------------------------------------------------------------------------*/
  595. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  596.  
  597.  
  598. /*---------------------------------------------------------------------------
  599. Define which teams belong to civil protection
  600. Civil protection can set warrants, make people wanted and do some other police related things
  601. ---------------------------------------------------------------------------*/
  602. GAMEMODE.CivilProtection = {
  603. [TEAM_POLICE] = true,
  604. [TEAM_CHIEF] = true,
  605. [TEAM_MAYOR] = true,
  606. [TEAM_PGUARD] = true,
  607. [TEAM_SPF] = true,
  608. [TEAM_HOSF] = true,
  609. [TEAM_POLICEM] = true,
  610. }
  611.  
  612. /*---------------------------------------------------------------------------
  613. Jobs that are hitmen (enables the hitman menu)
  614. ---------------------------------------------------------------------------*/
  615. DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement