tjhooker73

Untitled

Sep 7th, 2017
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.80 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.  
  20.  
  21. --[[---------------------------------------------------------------------------
  22. Define which team joining players spawn into and what team you change to if demoted
  23. ---------------------------------------------------------------------------]]
  24. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  25. --[[---------------------------------------------------------------------------
  26. Define which teams belong to civil protection
  27. Civil protection can set warrants, make people wanted and do some other police related things
  28. ---------------------------------------------------------------------------]]
  29. GAMEMODE.CivilProtection = {
  30. [TEAM_POLICE] = false,
  31. [TEAM_CHIEF] = false,
  32. [TEAM_MAYOR] = false,
  33. }
  34. --[[---------------------------------------------------------------------------
  35. Jobs that are hitmen (enables the hitman menu)
  36. ---------------------------------------------------------------------------]]
  37.  
  38. TEAM_POLICE = DarkRP.createJob("Civil Protection", {
  39. color = Color(25, 25, 170, 255),
  40. model = {"models/player/police.mdl", "models/player/police_fem.mdl"},
  41. description = [[The protector of every citizen that lives in the city.
  42. You have the power to arrest criminals and protect innocents.
  43. Hit a player with your arrest baton to put them in jail.
  44. Bash a player with a stunstick and they may learn to obey the law.
  45. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  46. The Battering Ram can also unfreeze frozen props (if enabled).
  47. Type /wanted <name> to alert the public to the presence of a criminal.]],
  48. weapons = {"weapon_fists", "arrest_stick", "unarrest_stick", "m9k_glock", "stunstick", "door_ram", "weaponchecker", "weapon_cuff_tactical"},
  49. command = "cp",
  50. max = 4,
  51. salary = GAMEMODE.Config.normalsalary * 1.45,
  52. admin = 0,
  53. vote = true,
  54. hasLicense = true,
  55. ammo = {
  56. ["pistol"] = 60,
  57. },
  58. category = "Civil Protection",
  59. })
  60.  
  61. TEAM_CHIEF = DarkRP.createJob("Civil Protection Chief", {
  62. color = Color(20, 20, 255, 255),
  63. model = "models/player/combine_soldier_prisonguard.mdl",
  64. description = [[The Chief is the leader of the Civil Protection unit.
  65. Coordinate the police force to enforce law in the city.
  66. Hit a player with arrest baton to put them in jail.
  67. Bash a player with a stunstick and they may learn to obey the law.
  68. The Battering Ram can break down the door of a criminal, with a warrant for his/her arrest.
  69. Type /wanted <name> to alert the public to the presence of a criminal.
  70. Type /jailpos to set the Jail Position]],
  71. weapons = {"weapon_fists", "arrest_stick", "unarrest_stick", "m9k_colt1911", "stunstick", "door_ram", "weaponchecker", "weapon_cuff_tactical"},
  72. command = "chief",
  73. max = 1,
  74. salary = GAMEMODE.Config.normalsalary * 1.67,
  75. admin = 0,
  76. vote = false,
  77. hasLicense = true,
  78. chief = true,
  79. NeedToChangeFrom = TEAM_POLICE,
  80. ammo = {
  81. ["pistol"] = 60,
  82. },
  83. category = "Civil Protection",
  84. })
  85.  
  86. TEAM_MAYOR = DarkRP.createJob("Mayor", {
  87. color = Color(150, 20, 20, 255),
  88. model = "models/player/breen.mdl",
  89. description = [[The Mayor of the city creates laws to govern the city.
  90. If you are the mayor you may create and accept warrants.
  91. Type /wanted <name> to warrant a player.
  92. Type /jailpos to set the Jail Position.
  93. Type /lockdown initiate a lockdown of the city.
  94. Everyone must be inside during a lockdown.
  95. The cops patrol the area.
  96. /unlockdown to end a lockdown]],
  97. weapons = {"weapon_fists"},
  98. command = "mayor",
  99. max = 1,
  100. salary = GAMEMODE.Config.normalsalary * 1.89,
  101. admin = 0,
  102. vote = true,
  103. hasLicense = false,
  104. mayor = true,
  105. category = "Civil Protection",
  106. })
  107.  
  108. TEAM_LURKER = DarkRP.createJob("Sewer Lurker", {
  109. color = Color(230, 255, 77, 255),
  110. model = {"models/player/zombie_classic.mdl"},
  111. description = [[Hide in the sewer and kidnap anyone you see, you may base inside the sewer, you are kos]],
  112. weapons = {"weapon_fists", "weapon_cuff_rope", "m9k_knife"},
  113. command = "lurker",
  114. max = 4,
  115. salary = 150,
  116. admin = 0,
  117. vote = false,
  118. hasLicense = false,
  119. candemote = true,
  120. category = "Citizens",
  121. })
  122.  
  123. TEAM_KIDNAPPER = DarkRP.createJob("Kidnapper", {
  124. color = Color(230, 255, 77, 255),
  125. model = {"models/player/soldier_stripped.mdl"},
  126. description = [[build a kidnaper room, kidnap someone, sell them or kill them.]],
  127. weapons = {"weapon_fists", "weapon_cuff_rope", "m9k_knife", "weapon_kidnapper", "swep_pickpocket"},
  128. command = "kidnapper",
  129. max = 4,
  130. salary = 150,
  131. admin = 0,
  132. vote = false,
  133. hasLicense = false,
  134. candemote = true,
  135. category = "Criminals",
  136. })
  137.  
  138. TEAM_ITALIANMAFIA = DarkRP.createJob("Italian Mafia", {
  139. color = Color(230, 255, 77, 255),
  140. model = {"models/player/suits/male_05_open.mdl"},
  141. description = [[You obey anything your leader says, follow your gang.]],
  142. weapons = {"weapon_fists"},
  143. command = "italianmafia",
  144. max = 4,
  145. salary = 150,
  146. admin = 0,
  147. vote = true,
  148. hasLicense = false,
  149. candemote = true,
  150. category = "Criminals",
  151. })
  152.  
  153. TEAM_ITALIANMAFIAL = DarkRP.createJob("Italian Mafia Leader", {
  154. color = Color(230, 255, 77, 255),
  155. model = {"models/player/suits/male_09_closed_coat_tie.mdl"},
  156. description = [[You lead the Italian Mafia, you set up the rules for the gang!]],
  157. weapons = {"weapon_fists", "m9k_colt1911"},
  158. command = "italianmafialeader",
  159. max = 1,
  160. salary = 250,
  161. admin = 0,
  162. vote = true,
  163. hasLicense = true,
  164. candemote = true,
  165. category = "Criminals",
  166. })
  167.  
  168. TEAM_POLICE = DarkRP.createJob("S.W.A.T", {
  169. color = Color(80, 45, 0, 255),
  170. model = "models/player/bfh_operator.mdl",
  171. description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city.]],
  172. weapons = {"weapon_fists", "wep_jack_job_drpradio", "arrest_stick", "unarrest_stick", "m9k_mp5", "m9k_glock", "stunstick", "door_ram", "weaponchecker", "weapon_cuff_tactical", "riot_shield", "stungun"},
  173. command = "swat",
  174. max = 2,
  175. salary = 120,
  176. admin = 0,
  177. vote = true,
  178. hasLicense = true,
  179. category = "Police",
  180. PlayerLoadout = function(ply) ply:SetAmmo(120, "tenmmauto") end, // Ammo Spawned With
  181. })
  182.  
  183. TEAM_POLICE = DarkRP.createJob("S.W.A.T Sniper", {
  184. color = Color(30, 45, 105, 255),
  185. model = "models/player/bfh_pro.mdl",
  186. description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are a Sniper Specialist]],
  187. weapons = {"weapon_fists", "wep_jack_job_drpradio", "arrest_stick", "unarrest_stick", "m9k_m24", "m9k_glock", "stunstick", "weapon_cuff_tactical", "door_ram", "weaponchecker", "riot_shield", "stungun"},
  188. command = "swatsniper",
  189. max = 1,
  190. salary = 125,
  191. admin = 0,
  192. vote = true,
  193. hasLicense = true,
  194. category = "Police",
  195. })
  196.  
  197. TEAM_POLICE = DarkRP.createJob("S.W.A.T Leader", {
  198. color = Color(30, 45, 105, 255),
  199. model = "models/player/bfh_mechanic.mdl",
  200. description = [[ Do everything you can to keep the city safe.
  201. If theres no mayor, you're in charge.]],
  202. weapons = {"weapon_fists", "wep_jack_job_drpradio", "arrest_stick", "unarrest_stick", "m9k_glock", "m9k_acr", "weapon_cuff_tactical", "stunstick", "weaponchecker", "riot_shield", "stungun"},
  203. command = "swatl",
  204. max = 1,
  205. salary = 210,
  206. admin = 0,
  207. vote = true,
  208. hasLicense = true,
  209. category = "Police",
  210. })
  211.  
  212. TEAM_POLICE = DarkRP.createJob("S.W.A.T Medic", {
  213. color = Color(30, 45, 105, 255),
  214. model = "models/player/swat.mdl",
  215. description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are the medic in the group, you should provide medical help to your team]],
  216. weapons = {"weapon_fists", "wep_jack_job_drpradio", "arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "m9k_remington870", "med_kit", "riot_shield", "weapon_cuff_tactical", "stungun"},
  217. command = "swatmedic",
  218. max = 2,
  219. salary = 125,
  220. admin = 0,
  221. vote = true,
  222. hasLicense = true,
  223. category = "Police",
  224. })
  225.  
  226. TEAM_POLICE = DarkRP.createJob("S.W.A.T Commander", {
  227. color = Color(30, 45, 105, 255),
  228. model = "models/player/swat.mdl",
  229. description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are The commander of the S.W.A.T team]],
  230. weapons = {"weapon_fists", "wep_jack_job_drpradio", "arrest_stick", "unarrest_stick", "m9k_deagle", "m9k_remington870", "m9k_acr", "stunstick", "weapon_cuff_tactical", "door_ram", "weaponchecker", "riot_shield", "stungun"},
  231. command = "swatcommander",
  232. max = 1,
  233. salary = 125,
  234. admin = 0,
  235. vote = true,
  236. hasLicense = true,
  237. category = "VIP",
  238. customCheck = function(ply) return CLIENT or
  239. table.HasValue({"superadmin", "admin", "vip", "headadmin", "moderator", "owner", "coowner", "tmod", "Community Owner"}, ply:GetNWString("usergroup"))
  240. end,
  241. CustomCheckFailMsg = "VIP Only!",
  242. })
  243.  
  244. TEAM_MBODYGUARD = DarkRP.createJob("Mayors BodyGuard", {
  245. color = Color(0,200,50,255),
  246. model = "models/player/barney.mdl",
  247. description = [[You are the Mayors private Bodyguard. Your job is to cover him
  248. with your life.]],
  249. weapons = {"weapon_fists", "wep_jack_job_drpradio", "m9k_deagle", "weapon_cuff_tactical", "stungun"},
  250. command = "mayorsbodyguard",
  251. max = 2,
  252. salary = 85,
  253. admin = 0,
  254. vote = false,
  255. hasLicense = true,
  256. category = "Citizens",
  257. })
  258.  
  259. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  260. color = Color(0, 0, 0, 255),
  261. model = "models/player/arctic.mdl",
  262. description = [[People hire you to send people to a looong vacation.]],
  263. weapons = {"weapon_fists", "m9k_knife", "lockpick"},
  264. command = "hitman",
  265. max = 2,
  266. salary = 65,
  267. admin = 0,
  268. vote = false,
  269. hasLicense = false,
  270. category = "Citizens",
  271. })
  272.  
  273. TEAM_PHITMAN = DarkRP.createJob("Professional Hitman", {
  274. color = Color(0, 0, 0, 255),
  275. model = "models/player/agent_47.mdl",
  276. description = [[People hire you to send people to a looong vacation. You are better then the average Hitmans in the town. You have a bigger salary.]],
  277. weapons = {"weapon_fists", "m9k_knife", "m9k_m24", "pro_lockpick_update"},
  278. command = "professionalhitman",
  279. max = 2,
  280. salary = 95,
  281. admin = 0,
  282. vote = false,
  283. hasLicense = false,
  284. category = "VIP",
  285. customCheck = function(ply) return CLIENT or
  286. table.HasValue({"superadmin", "admin", "vip", "headadmin", "moderator", "owner", "coowner", "tmod", "Community Owner"}, ply:GetNWString("usergroup"))
  287. end,
  288. CustomCheckFailMsg = "VIP Only!",
  289. })
  290.  
  291. TEAM_THIEF = DarkRP.createJob("Thief", {
  292. color = Color(0, 0, 0, 255),
  293. model = "models/player/phoenix.mdl",
  294. description = [[You are a thief, rob people, break into houses and steal printers]],
  295. weapons = {"weapon_fists", "lockpick", "keypad_cracker", "swep_pickpocket"},
  296. command = "thief",
  297. max = 4,
  298. salary = 65,
  299. admin = 0,
  300. vote = false,
  301. hasLicense = false,
  302. category = "Criminals",
  303. })
  304.  
  305. TEAM_THIEFL = DarkRP.createJob("Master Thief", {
  306. color = Color(0, 0, 0, 255),
  307. model = {"models/player/phoenix.mdl"},
  308. description = [[You are a thief leader, rob people, break into houses and steal printers.
  309. You lead the other Thiefs]],
  310. weapons = {"weapon_fists", "pro_lockpick", "prokeypadcracker", "m9k_knife", "climb_swep2", "swep_pickpocket"},
  311. command = "thiefleader",
  312. max = 2,
  313. salary = 75,
  314. admin = 0,
  315. vote = false,
  316. hasLicense = false,
  317. category = "VIP",
  318. customCheck = function(ply) return CLIENT or
  319. table.HasValue({"superadmin", "admin", "vip", "headadmin", "moderator", "owner", "coowner", "tmod", "Community Owner"}, ply:GetNWString("usergroup"))
  320. end,
  321. CustomCheckFailMsg = "VIP Only!",
  322. })
  323.  
  324. TEAM_COKE = DarkRP.createJob("Coke Dealer", {
  325. color = Color(23, 0, 52, 255),
  326. model = {"models/player/group03/male_05.mdl"},
  327. description = [[Make Coke and sell it]],
  328. weapons = {"weapon_fists"},
  329. command = "coke",
  330. max = 2,
  331. salary = 100,
  332. admin = 0,
  333. vote = false,
  334. hasLicense = False,
  335. category = "Citizens",
  336. })
  337.  
  338. TEAM_WEED = DarkRP.createJob("Weed Dealer", {
  339. color = Color(23, 0, 52, 255),
  340. model = "models/player/group03/male_01.mdl",
  341. description = [[Grow Weed and sell it]],
  342. weapons = {"weapon_fists"},
  343. command = "weed",
  344. max = 1,
  345. salary = 100,
  346. admin = 0,
  347. vote = false,
  348. hasLicense = false,
  349. category = "Citizens",
  350. })
  351.  
  352. TEAM_BREW = DarkRP.createJob("Brewer", {
  353. color = Color(23, 0, 52, 255),
  354. model = "models/player/Group03/Male_06.mdl",
  355. description = [[Make beer, wine, Etc and sell it]],
  356. weapons = {"weapon_fists"},
  357. command = "brew",
  358. max = 1,
  359. salary = 100,
  360. admin = 0,
  361. vote = false,
  362. hasLicense = false,
  363. category = "Citizens",
  364. })
  365.  
  366. TEAM_TERRORIST = DarkRP.createJob("Terrorist", {
  367. color = Color(80, 45, 0, 255),
  368. model = "models/player/leet.mdl",
  369. description = [[You attack the streets, and the Police Force.]],
  370. weapons = {"weapon_fists", "lockpick", "weapon_cuff_rope"},
  371. command = "terrorist",
  372. max = 2,
  373. salary = 105,
  374. admin = 0,
  375. vote = false,
  376. hasLicense = false,
  377. category = "Criminals",
  378. })
  379.  
  380. TEAM_TERRORISTL = DarkRP.createJob("Terrorist Leader", {
  381. color = Color(80, 45, 0, 255),
  382. model = "models/player/leet.mdl",
  383. description = [[You attack the streets, and the Police Force. You lead the other Terrorists]],
  384. weapons = {"weapon_fists", "lockpick", "m9k_ak74", "m9k_suicide_bomb", "m9k_usp", "weapon_cuff_rope"},
  385. command = "terroristleader",
  386. max = 1,
  387. salary = 105,
  388. admin = 0,
  389. vote = false,
  390. hasLicense = false,
  391. category = "VIP",
  392. customCheck = function(ply) return CLIENT or
  393. table.HasValue({"superadmin", "admin", "vip", "headadmin", "moderator", "owner", "coowner", "tmod", "Community Owner"}, ply:GetNWString("usergroup"))
  394. end,
  395. CustomCheckFailMsg = "VIP Only!",
  396. })
  397.  
  398. TEAM_EASTL = DarkRP.createJob("Bloodz Leader", {
  399. color = Color(0, 255, 0),
  400. model = "models/player/bloodz/slow_1.mdl",
  401. description = [[You are the leader of the Blood Gang you do not like the Crip and you constantly Raid them and do anything to show people you are better than the Crips.]],
  402. weapons = {"weapon_fists", "lockpick", "keypad_cracker", "m9k_uzi"},
  403. command = "eastsidel",
  404. max = 1,
  405. salary = 400,
  406. admin = 0,
  407. vote = false,
  408. canPickpocket = true,
  409. hasLicense = false,
  410. category = "VIP",
  411. customCheck = function(ply) return CLIENT or
  412. table.HasValue({"superadmin", "admin", "vip", "headadmin", "moderator", "owner", "coowner", "tmod", "Community Owner"}, ply:GetNWString("usergroup"))
  413. end,
  414. CustomCheckFailMsg = "VIP Only!",
  415. })
  416.  
  417. TEAM_EASTG = DarkRP.createJob("Bloodz Gangster", {
  418. color = Color(0, 255, 0),
  419. model = {"models/player/bloodz/slow_2.mdl", "models/player/bloodz/slow_3.mdl"},
  420. description = [[You are A Blood Gangster and you do what the leader tells you to do and you stay with him.]],
  421. weapons = {"weapon_fists", "lockpick"},
  422. command = "eastg",
  423. max = 3,
  424. salary = 350,
  425. admin = 0,
  426. vote = false,
  427. hasLicense = false,
  428. category = "Criminals",
  429. })
  430.  
  431. TEAM_WESTL = DarkRP.createJob("Crips Leader", {
  432. color = Color(20, 74, 214, 255),
  433. model = "models/player/cripz/slow_1.mdl",
  434. description = [[You are the leader of the Crip Gang you Do not like the Blood and you constantly Raid them and do anything to show people you are better than the Blood.]],
  435. weapons = {"weapon_fists", "lockpick", "keypad_cracker", "m9k_uzi"},
  436. command = "westsidel",
  437. max = 1,
  438. salary = 400,
  439. admin = 0,
  440. vote = false,
  441. hasLicense = false,
  442. category = "VIP",
  443. customCheck = function(ply) return CLIENT or
  444. table.HasValue({"superadmin", "admin", "vip", "headadmin", "moderator", "owner", "coowner", "tmod", "Community Owner"}, ply:GetNWString("usergroup"))
  445. end,
  446. CustomCheckFailMsg = "VIP Only!",
  447. })
  448.  
  449. TEAM_WESTG = DarkRP.createJob("Crips Gangster", {
  450. color = Color(20, 74, 214, 255),
  451. model = {"models/player/cripz/slow_2.mdl", "models/player/cripz/slow_3.mdl"},
  452. description = [[You are A West Side Gangster and you do what the leader tells you to do and you stay with him.]],
  453. weapons = {"weapon_fists", "lockpick"},
  454. command = "westg",
  455. max = 3,
  456. salary = 350,
  457. admin = 0,
  458. vote = false,
  459. hasLicense = false,
  460. category = "Criminals",
  461. })
  462.  
  463. TEAM_GUARD = DarkRP.createJob("Guard", {
  464. color = Color(0,200,50,255),
  465. model = {"models/player/odessa.mdl"},
  466. description = [[People pay you an amount of money to guard them on the street, or at home.]],
  467. weapons = {"weapon_fists", "m9k_knife"},
  468. command = "guard",
  469. max = 2,
  470. salary = 85,
  471. admin = 0,
  472. vote = false,
  473. hasLicense = true,
  474. category = "Citizens",
  475. })
  476.  
  477. TEAM_BODYGUARD = DarkRP.createJob("Body Guard", {
  478. color = Color(0,200,50,255),
  479. model = "models/player/barney.mdl",
  480. description = [[People pay you an amount of money to guard them on the street, or at home.]],
  481. weapons = {"weapon_fists", "m9k_knife", "m9k_mp7"},
  482. command = "bodyguard",
  483. max = 2,
  484. salary = 85,
  485. admin = 0,
  486. vote = false,
  487. hasLicense = true,
  488. category = "Citizens",
  489. })
  490.  
  491. TEAM_MOD = DarkRP.createJob("Moderator On Duty", {
  492. color = Color(0, 0, 0, 255),
  493. model = {"models/player/combine_super_soldier.mdl"},
  494. description = [[.]],
  495. weapons = {"weapon_cuff_shackles", "arrest_stick", "unarrest_stick", "staff_lockpick"},
  496. command = "mod",
  497. max = 0,
  498. salary = 0,
  499. admin = 0,
  500. vote = false,
  501. hasLicense = true,
  502. candemote = false,
  503. category = "Staff",
  504. PlayerSpawn = function(ply)
  505. ply:SetMaxHealth(999998)
  506. ply:SetHealth(999998)
  507. end,
  508. customCheck = function(ply) return CLIENT or
  509. table.HasValue({"moderator"}, ply:GetNWString("usergroup"))
  510. end,
  511. CustomCheckFailMsg = "Moderators Only!",
  512. })
  513.  
  514. TEAM_AOD = DarkRP.createJob("Admin On Duty", {
  515. color = Color(0, 0, 0, 255),
  516. model = {"models/player/combine_super_soldier.mdl"},
  517. description = [[.]],
  518. weapons = {"weapon_cuff_shackles", "arrest_stick", "unarrest_stick", "staff_lockpick"},
  519. command = "aod",
  520. max = 0,
  521. salary = 0,
  522. admin = 0,
  523. vote = false,
  524. hasLicense = true,
  525. candemote = false,
  526. category = "Staff",
  527. PlayerSpawn = function(ply)
  528. ply:SetMaxHealth(999998)
  529. ply:SetHealth(999998)
  530. end,
  531. customCheck = function(ply) return CLIENT or
  532. table.HasValue({"admin"}, ply:GetNWString("usergroup"))
  533. end,
  534. CustomCheckFailMsg = "Admins Only!",
  535. })
  536.  
  537. TEAM_SAOD = DarkRP.createJob("Super Admin On Duty", {
  538. color = Color(0, 0, 0, 255),
  539. model = {"models/player/combine_super_soldier.mdl"},
  540. description = [[.]],
  541. weapons = {"weapon_cuff_shackles", "arrest_stick", "unarrest_stick", "staff_lockpick"},
  542. command = "saod",
  543. max = 0,
  544. salary = 0,
  545. admin = 0,
  546. vote = false,
  547. hasLicense = true,
  548. candemote = false,
  549. category = "Staff",
  550. PlayerSpawn = function(ply)
  551. ply:SetMaxHealth(999998)
  552. ply:SetHealth(999998)
  553. end,
  554. customCheck = function(ply) return CLIENT or
  555. table.HasValue({"superadmin"}, ply:GetNWString("usergroup"))
  556. end,
  557. CustomCheckFailMsg = "Super Admins Only!",
  558. })
  559.  
  560. TEAM_HAOD = DarkRP.createJob("Head Admin On Duty", {
  561. color = Color(0, 0, 0, 255),
  562. model = {"models/player/combine_super_soldier.mdl"},
  563. description = [[.]],
  564. weapons = {"weapon_cuff_shackles", "arrest_stick", "unarrest_stick", "staff_lockpick"},
  565. command = "haod",
  566. max = 0,
  567. salary = 0,
  568. admin = 0,
  569. vote = false,
  570. hasLicense = true,
  571. candemote = false,
  572. category = "Staff",
  573. PlayerSpawn = function(ply)
  574. ply:SetMaxHealth(999998)
  575. ply:SetHealth(999998)
  576. end,
  577. customCheck = function(ply) return CLIENT or
  578. table.HasValue({"headadmin"}, ply:GetNWString("usergroup"))
  579. end,
  580. CustomCheckFailMsg = "Head Admins Only!",
  581. })
  582.  
  583. TEAM_OWNER = DarkRP.createJob("Owner On Duty", {
  584. color = Color(0, 0, 0, 255),
  585. model = {"models/player/combine_super_soldier.mdl"},
  586. description = [[.]],
  587. weapons = {"weapon_cuff_shackles", "arrest_stick", "unarrest_stick", "staff_lockpick"},
  588. command = "owner",
  589. max = 0,
  590. salary = 0,
  591. admin = 0,
  592. vote = false,
  593. hasLicense = true,
  594. candemote = false,
  595. category = "Staff",
  596. PlayerSpawn = function(ply)
  597. ply:SetMaxHealth(999998)
  598. ply:SetHealth(999998)
  599. end,
  600. customCheck = function(ply) return CLIENT or
  601. table.HasValue({"owner"}, ply:GetNWString("usergroup"))
  602. end,
  603. CustomCheckFailMsg = "Owner Only!",
  604. })
  605.  
  606. TEAM_BLACKMARKET = DarkRP.createJob("Black Market Dealer", {
  607. color = Color(20, 74, 214, 255),
  608. model = {"models/player/magnusson.mdl"},
  609. description = [[You are A Black Market Dealer.]],
  610. weapons = {"weapon_fists", "m9k_coltpython"},
  611. command = "blackmarket",
  612. max = 2,
  613. salary = 100,
  614. admin = 0,
  615. vote = false,
  616. hasLicense = false,
  617. category = "Citizens",
  618. })
  619.  
  620. TEAM_RAPE = DarkRP.createJob("Rapist", {
  621. color = Color(47, 79, 79, 255),
  622. VIPOnly = true,
  623. model = {"models/player/zombie_fast.mdl"},
  624. description = [[I got a popsicle down in the basement.]],
  625. weapons = {"weapon_fists", "weapon_rape", "", "weapon_cuff_elastic", "lockpick"},
  626. command = "rapist",
  627. max = 2,
  628. salary = GAMEMODE.Config.normalsalary,
  629. admin = 0,
  630. vote = false,
  631. hasLicense = false,
  632. category = "VIP",
  633. customCheck = function(ply) return CLIENT or
  634. table.HasValue({"superadmin", "admin", "vip", "headadmin", "moderator", "owner"}, ply:GetNWString("usergroup"))
  635. end,
  636. CustomCheckFailMsg = "VIP Only!",
  637. })
  638.  
  639. TEAM_VAPE = DarkRP.createJob("Vape Dealer", {
  640. color = Color(47, 79, 79, 255),
  641. VIPOnly = true,
  642. model = {"models/emmaemmerich/sneakingsuit/playermodel/vapepm.mdl"},
  643. description = [[Sell Vapes, Vape Erry Day.]],
  644. weapons = {"weapon_fists", ""},
  645. command = "vape",
  646. max = 1,
  647. salary = GAMEMODE.Config.normalsalary,
  648. admin = 0,
  649. vote = false,
  650. hasLicense = true,
  651. category = "VIP",
  652. customCheck = function(ply) return CLIENT or
  653. table.HasValue({"superadmin", "admin", "vip", "headadmin", "moderator", "owner"}, ply:GetNWString("usergroup"))
  654. end,
  655. CustomCheckFailMsg = "VIP Only!",
  656. })
  657.  
  658. TEAM_GANG = DarkRP.createJob("Gangster", {
  659. color = Color(75, 75, 75, 255),
  660. model = {
  661. "models/player/Group03/Female_01.mdl",
  662. "models/player/Group03/Female_02.mdl",
  663. "models/player/Group03/Female_03.mdl",
  664. "models/player/Group03/Female_04.mdl",
  665. "models/player/Group03/Female_06.mdl",
  666. "models/player/group03/male_01.mdl",
  667. "models/player/Group03/Male_02.mdl",
  668. "models/player/Group03/male_03.mdl",
  669. "models/player/Group03/Male_04.mdl",
  670. "models/player/Group03/Male_05.mdl",
  671. "models/player/Group03/Male_06.mdl",
  672. "models/player/Group03/Male_07.mdl",
  673. "models/player/Group03/Male_08.mdl",
  674. "models/player/Group03/Male_09.mdl"},
  675. description = [[The lowest person of crime.
  676. A gangster generally works for the Mobboss who runs the crime family.
  677. The Mob boss sets your agenda and you follow it or you might be punished.]],
  678. weapons = {"weapon_fists"},
  679. command = "gangster",
  680. max = 3,
  681. salary = GAMEMODE.Config.normalsalary,
  682. admin = 0,
  683. vote = false,
  684. hasLicense = false,
  685. category = "Criminals",
  686. })
  687.  
  688. TEAM_MOB = DarkRP.createJob("Mob boss", {
  689. color = Color(25, 25, 25, 255),
  690. model = "models/player/gman_high.mdl",
  691. description = [[The Mob boss is the boss of the criminals in the city.
  692. With his power he coordinates the gangsters and forms an efficient crime organization.
  693. He has the ability to break into houses by using a lockpick.
  694. The Mob boss posesses the ability to unarrest you.]],
  695. weapons = {"lockpick", "unarrest_stick"},
  696. command = "mobboss",
  697. max = 1,
  698. salary = GAMEMODE.Config.normalsalary * 1.34,
  699. admin = 0,
  700. vote = false,
  701. hasLicense = false,
  702. category = "Criminals",
  703. })
  704.  
  705. TEAM_GUN = DarkRP.createJob("Gun Dealer", {
  706. color = Color(255, 140, 0, 255),
  707. model = "models/player/monk.mdl",
  708. description = [[A Gun Dealer is the only person who can sell guns to other people.
  709. Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
  710. weapons = {"weapon_fists"},
  711. command = "gundealer",
  712. max = 2,
  713. salary = GAMEMODE.Config.normalsalary,
  714. admin = 0,
  715. vote = false,
  716. hasLicense = false,
  717. category = "Citizens",
  718. })
  719.  
  720. TEAM_MEDIC = DarkRP.createJob("Medic", {
  721. color = Color(47, 79, 79, 255),
  722. model = "models/player/kleiner.mdl",
  723. description = [[With your medical knowledge you work to restore players to full health.
  724. Without a medic, people cannot be healed.
  725. Left click with the Medical Kit to heal other players.
  726. Right click with the Medical Kit to heal yourself.]],
  727. weapons = {"weapon_fists", "med_kit"},
  728. command = "medic",
  729. max = 3,
  730. salary = GAMEMODE.Config.normalsalary,
  731. admin = 0,
  732. vote = false,
  733. hasLicense = false,
  734. medic = true,
  735. category = "Citizens",
  736. })
  737.  
  738. TEAM_HOBO = DarkRP.createJob("Hobo", {
  739. color = Color(80, 45, 0, 255),
  740. model = "models/player/corpse1.mdl",
  741. description = [[The lowest member of society. Everybody laughs at you.
  742. You have no home.
  743. Beg for your food and money
  744. Sing for everyone who passes to get money
  745. Make your own wooden home somewhere in a corner or outside someone else's door]],
  746. weapons = {"weapon_fists", "weapon_bugbait", "weapon_angryhobo2015"},
  747. command = "hobo",
  748. max = 5,
  749. salary = 0,
  750. admin = 0,
  751. vote = false,
  752. hasLicense = false,
  753. candemote = false,
  754. hobo = true,
  755. category = "Citizens",
  756. })
  757.  
  758. TEAM_HOBO = DarkRP.createJob("Pet", {
  759. color = Color(80, 45, 0, 255),
  760. model = "models/doge_player/doge_player.mdl",
  761. description = [[Be a Good Boy, find an owner, and protect them.
  762. You have no home.
  763. Beg for your food and money]],
  764. weapons = {"weapon_fists", "weapon_pet"},
  765. command = "hobo2",
  766. max = 5,
  767. salary = 0,
  768. admin = 0,
  769. vote = false,
  770. hasLicense = false,
  771. candemote = false,
  772. hobo = true,
  773. category = "Citizens",
  774. })
  775.  
  776. AddAgenda("Gangster's agenda", TEAM_MOB, {TEAM_GANG})
  777. AddAgenda("Police agenda", TEAM_MAYOR, {TEAM_CHIEF, TEAM_POLICE})
  778. AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
  779. AddDoorGroup("Gundealer only", TEAM_GUN)
  780. DarkRP.addHitmanTeam(TEAM_HITMAN)
  781. DarkRP.addHitmanTeam(TEAM_PHITMAN)
Add Comment
Please, Sign In to add comment