Advertisement
Guest User

jobs

a guest
Jul 15th, 2019
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.05 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. TEAM_GUN = DarkRP.createJob("Gun Dealer", {
  19. color = Color(255, 92, 0, 255),
  20. model = {"models/player/monk.mdl"},
  21. description = [[Can sell guns, but can not raid only defend his shop]],
  22. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "itemstore_pickup"},
  23. command = "Gun Dealer",
  24. max = 2,
  25. salary = 100,
  26. admin = 0,
  27. vote = false,
  28. hasLicense = true,
  29. candemote = false,
  30. category = "Dealers",
  31. PlayerSpawn = function(ply)
  32. ply:SetMaxHealth(100)
  33. ply:SetHealth(100)
  34. end
  35. })
  36.  
  37. TEAM_BGUN = DarkRP.createJob("Blackmarket Dealer", {
  38. color = Color(0, 0, 0, 255),
  39. model = {"models/player/eli.mdl"},
  40. description = [[Sell some of those illigal guns, but can not raid]],
  41. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "itemstore_pickup"},
  42. command = "BM Dealer",
  43. max = 2,
  44. salary = 150,
  45. admin = 0,
  46. vote = false,
  47. hasLicense = false,
  48. candemote = false,
  49. category = "Dealers",
  50. PlayerSpawn = function(ply)
  51. ply:SetMaxHealth(100)
  52. ply:SetHealth(100)
  53. end
  54. })
  55.  
  56. TEAM_POLICE = DarkRP.createJob("Civil Protection", {
  57. color = Color(0, 33, 156, 255),
  58. model = {"models/dpfilms/metropolice/playermodels/pm_arctic_police.mdl"},
  59. description = [[Your job is to protect the city you do not raid that is left to the bounty hunters, you arrest people for doing illigal things or if they are wanted.]],
  60. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_mp5", "m9k_m92beretta", "arrest_stick", "unarrest_stick", "weaponchecker", "weapon_cuff_standard", "itemstore_pickup", "stunstick", "zwf_sniffer"},
  61. command = "CP",
  62. max = 5,
  63. salary = 150,
  64. admin = 0,
  65. vote = true,
  66. hasLicense = true,
  67. candemote = false,
  68. category = "Civil Protection",
  69. PlayerSpawn = function(ply)
  70. ply:SetMaxHealth(150)
  71. ply:SetHealth(150)
  72. end
  73. })
  74.  
  75. TEAM_CITIZEN = DarkRP.createJob("Citizen", {
  76. color = Color(20, 150, 20, 255),
  77. model = {"models/player/Group01/Female_01.mdl", "models/player/Group01/Female_02.mdl", "models/player/Group01/Female_03.mdl", "models/player/Group01/Female_04.mdl", "models/player/Group01/Female_06.mdl", "models/player/group01/male_01.mdl", "models/player/Group01/Male_02.mdl", "models/player/Group01/male_03.mdl", "models/player/Group01/Male_04.mdl", "models/player/Group01/Male_05.mdl", "models/player/Group01/Male_06.mdl", "models/player/Group01/Male_07.mdl", "models/player/Group01/Male_08.mdl", "models/player/Group01/Male_09.mdl"},
  78. description = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.]],
  79. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "itemstore_pickup"},
  80. command = "citizen",
  81. max = 0,
  82. salary = 0,
  83. admin = 0,
  84. vote = false,
  85. hasLicense = false,
  86. candemote = false,
  87. category = "Citizens",
  88. PlayerSpawn = function(ply)
  89. ply:SetMaxHealth(100)
  90. ply:SetHealth(100)
  91. ply:SetArmor(0)
  92. end
  93. })
  94.  
  95. TEAM_FITE = DarkRP.createJob("Fight Club Manager", {
  96. color = Color(150, 5, 137, 255),
  97. model = {"models/player/soldier_stripped.mdl"},
  98. description = [[Manage a fight club where players can gamble and punch each other for money. Don't forget the number one rule, can not raid]],
  99. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "itemstore_pickup"},
  100. command = "Fight Club",
  101. max = 2,
  102. salary = 100,
  103. admin = 0,
  104. vote = false,
  105. hasLicense = false,
  106. candemote = false,
  107. category = "Citizens",
  108. PlayerSpawn = function(ply)
  109. ply:SetMaxHealth(100)
  110. ply:SetHealth(100)
  111. ply:SetArmor(0)
  112. end
  113. })
  114.  
  115. TEAM_MONSTER = DarkRP.createJob("Sewer Monster", {
  116. color = Color(150, 5, 137, 255),
  117. model = {"models/player/hellknight/hellknight.mdl"},
  118. description = [[You are the creatures of the thriving underworld. you can only base in the sewers and underground areas. you can KOS anyone who is not a sewer monster underground. can not raid]],
  119. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "itemstore_pickup", "m9k_knife"},
  120. command = "smonster",
  121. max = 10,
  122. salary = 100,
  123. admin = 0,
  124. vote = false,
  125. hasLicense = false,
  126. candemote = false,
  127. category = "Criminal",
  128. PlayerSpawn = function(ply)
  129. ply:SetMaxHealth(100)
  130. ply:SetHealth(100)
  131. ply:SetArmor(50)
  132. end
  133. })
  134.  
  135. TEAM_HOTEL = DarkRP.createJob("Hotel Owner", {
  136. color = Color(254, 255, 152, 255),
  137. model = {"models/player/hostage/hostage_02.mdl"},
  138. description = [[Charge rent for people that base in your highly-secure hotel. can not raid]],
  139. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "itemstore_pickup"},
  140. command = "Hotel Owner",
  141. max = 1,
  142. salary = 100,
  143. admin = 0,
  144. vote = false,
  145. hasLicense = false,
  146. candemote = false,
  147. category = "Citizens",
  148. PlayerSpawn = function(ply)
  149. ply:SetMaxHealth(100)
  150. ply:SetHealth(100)
  151. ply:SetArmor(0)
  152. end
  153. })
  154.  
  155. TEAM_CHIEF = DarkRP.createJob("Civil Protection Chief", {
  156. color = Color(20, 20, 255, 255),
  157. model = {"models/dpfilms/metropolice/playermodels/pm_biopolice.mdl"},
  158. description = [[You have the same job as the CP you protect the city and PD you do not raid, that's left to your bounty hunters. You arrest wanted people or if they are doing illigal activities.]],
  159. weapons = {"itemstore_pickup", "weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_mp5", "m9k_m92beretta", "arrest_stick", "unarrest_stick", "stunstick", "weaponchecker", "weapon_cuff_standard", "zwf_sniffer"},
  160. command = "CCP",
  161. max = 1,
  162. salary = 200,
  163. admin = 0,
  164. vote = true,
  165. hasLicense = true,
  166. chief = true,
  167. NeedToChangeFrom = TEAM_POLICE,
  168. category = "Civil Protection",
  169. PlayerSpawn = function(ply)
  170. ply:SetMaxHealth(150)
  171. ply:SetHealth(150)
  172. ply:SetArmor(50)
  173. end
  174. })
  175.  
  176. TEAM_SWATL = DarkRP.createJob("Swat Leader", {
  177. color = Color(0, 186, 186, 255),
  178. model = {"models/player/pmc_4/pmc__01.mdl"},
  179. description = [[Be the leader of a elite group of personel trained to combat the most deadly threats to the city.]],
  180. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "arrest_stick", "unarrest_stick", "m9k_m3", "m9k_ragingbull", "door_ram", "weapon_cuff_tactical", "itemstore_pickup", "stunstick", "zwf_sniffer"},
  181. command = "Swat Leader",
  182. max = 1,
  183. salary = 200,
  184. admin = 0,
  185. vote = true,
  186. hasLicense = true,
  187. candemote = false,
  188. category = "VIP",
  189. PlayerSpawn = function(ply)
  190. ply:SetMaxHealth(150)
  191. ply:SetHealth(150)
  192. ply:SetArmor(50)
  193. end,
  194. customCheck = function(ply) return CLIENT or table.HasValue({"VIP", "superadmin", "Owner", "Staff-Manager", "admin", "Developer", "Titan", "Legend"}, ply:GetNWString("usergroup")) end,
  195. CustomCheckFailMsg = "This job is VIP Only"
  196. })
  197.  
  198. TEAM_SWATA = DarkRP.createJob("Swat Assault Unit", {
  199. color = Color(58, 150, 133, 255),
  200. model = {"models/player/pmc_4/pmc__09.mdl"},
  201. description = [[Be an elite task force member.]],
  202. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "arrest_stick", "unarrest_stick", "m9k_m16a4_acog", "m9k_hk45", "weapon_cuff_tactical", "itemstore_pickup", "stunstick", "zwf_sniffer"},
  203. command = "Swat Assault",
  204. max = 5,
  205. salary = 200,
  206. admin = 0,
  207. vote = true,
  208. hasLicense = true,
  209. candemote = false,
  210. category = "Civil Protection",
  211. PlayerSpawn = function(ply)
  212. ply:SetMaxHealth(150)
  213. ply:SetHealth(150)
  214. ply:SetArmor(0)
  215. end
  216. })
  217.  
  218. TEAM_SWATS = DarkRP.createJob("Swat Sniper", {
  219. color = Color(58, 150, 133, 255),
  220. model = {"models/player/pmc_4/pmc__02.mdl"},
  221. description = [[You are the silent killer of the special task force of the city.]],
  222. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "arrest_stick", "unarrest_stick", "m9k_m24", "m9k_colt1911", "weapon_cuff_tactical", "itemstore_pickup", "stunstick", "zwf_sniffer"},
  223. command = "Swat Sniper",
  224. max = 1,
  225. salary = 200,
  226. admin = 0,
  227. vote = true,
  228. hasLicense = true,
  229. candemote = false,
  230. category = "Civil Protection",
  231. PlayerSpawn = function(ply)
  232. ply:SetMaxHealth(150)
  233. ply:SetHealth(150)
  234. ply:SetArmor(25)
  235. end
  236. })
  237.  
  238. TEAM_SWATM = DarkRP.createJob("Swat Medic Unit", {
  239. color = Color(2, 59, 59, 255),
  240. model = {"models/player/pmc_4/pmc__14.mdl"},
  241. description = [[Heal your fellow police. Assist in Swat raids.]],
  242. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "arrest_stick", "unarrest_stick", "m9k_mp5", "med_kit", "m9k_colt1911", "weapon_cuff_tactical", "itemstore_pickup", "stunstick", "zwf_sniffer"},
  243. command = "Swat Medic",
  244. max = 2,
  245. salary = 175,
  246. admin = 0,
  247. vote = true,
  248. hasLicense = true,
  249. candemote = false,
  250. category = "Civil Protection",
  251. PlayerSpawn = function(ply)
  252. ply:SetMaxHealth(100)
  253. ply:SetHealth(100)
  254. ply:SetArmor(25)
  255. end
  256. })
  257.  
  258. TEAM_SERVICE = DarkRP.createJob("Secret Service", {
  259. color = Color(58, 150, 133, 255),
  260. model = {"models/dpfilms/metropolice/playermodels/pm_rtb_police.mdl"},
  261. description = [[You protect the Mayor with your life never leave his side.]],
  262. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "arrest_stick", "unarrest_stick", "m9k_m416", "weapon_cuff_tactical", "itemstore_pickup", "stunstick"},
  263. command = "Service",
  264. max = 3,
  265. salary = 250,
  266. admin = 0,
  267. vote = true,
  268. hasLicense = true,
  269. candemote = false,
  270. category = "VIP",
  271. PlayerSpawn = function(ply)
  272. ply:SetMaxHealth(125)
  273. ply:SetHealth(125)
  274. ply:SetArmor(50)
  275. end,
  276. customCheck = function(ply) return CLIENT or table.HasValue({"VIP", "superadmin", "Owner", "Staff-Manager", "admin", "Developer", "Titan", "Legend"}, ply:GetNWString("usergroup")) end,
  277. CustomCheckFailMsg = "This job is VIP Only"
  278. })
  279.  
  280. TEAM_MAYOR = DarkRP.createJob("Mayor", {
  281. color = Color(150, 20, 20, 255),
  282. model = {"models/fearless/mayor1.mdl" , "models/fearless/mayor2.mdl"},
  283. description = [[The Mayor of the city creates laws to serve the greater good
  284. of the people.
  285. If you are the mayor you may create and accept warrants.
  286. Type /wanted <name> to warrant a player
  287. Type /jailpos to set the Jail Position
  288. Type /lockdown initiate a lockdown of the city.
  289. Everyone must be inside during a lockdown.
  290. The cops patrol the area
  291. /unlockdown to end a lockdown]],
  292. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_ragingbull", "itemstore_pickup", "stunstick", "arrest_stick", "unarrest_stick"},
  293. command = "mayor",
  294. max = 1,
  295. salary = 350,
  296. admin = 0,
  297. vote = true,
  298. hasLicense = false,
  299. mayor = true,
  300. category = "Civil Protection",
  301. PlayerDeath = function(ply, weapon, killer)
  302. ply:teamBan()
  303. ply:changeTeam(GAMEMODE.DefaultTeam, true)
  304.  
  305. if killer:IsPlayer() then
  306. DarkRP.notifyAll(0, 4, "The mayor has been killed and is therefor demoted.")
  307. else
  308. DarkRP.notifyAll(0, 4, "The mayor has died and is therefor demoted.")
  309. end
  310. end
  311. })
  312.  
  313. TEAM_HOBO = DarkRP.createJob("Hobo", {
  314. color = Color(80, 45, 0, 255),
  315. model = {"models/player/corpse1.mdl"},
  316. description = [[You're a hobo, go get some peoples money]],
  317. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "weapon_bugbait", "itemstore_pickup"},
  318. command = "hobo",
  319. max = 5,
  320. salary = 0,
  321. admin = 0,
  322. vote = false,
  323. hasLicense = false,
  324. candemote = false,
  325. hobo = true,
  326. category = "Citizens",
  327. PlayerSpawn = function(ply)
  328. ply:SetMaxHealth(100)
  329. ply:SetHealth(100)
  330. end
  331. })
  332.  
  333. TEAM_HOBOL = DarkRP.createJob("Hobo Lord", {
  334. color = Color(80, 45, 0, 255),
  335. model = {"models/player/charple.mdl"},
  336. description = [[you are the fearless leader of the mighty hobos.]],
  337. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "weapon_bugbait", "itemstore_pickup", "weapon_crowbar"},
  338. command = "hobol",
  339. max = 1,
  340. salary = 10,
  341. admin = 0,
  342. vote = false,
  343. hasLicense = false,
  344. candemote = false,
  345. hobo = true,
  346. category = "Citizens",
  347. PlayerSpawn = function(ply)
  348. ply:SetMaxHealth(100)
  349. ply:SetHealth(100)
  350. end
  351. })
  352.  
  353. TEAM_ROBOCOP = DarkRP.createJob("Robo Cop", {
  354. color = Color(58, 150, 133, 255),
  355. model = {"models/kryptonite/robocop/robocop_upd.mdl"},
  356. description = [[You are the most advanced tech the GOV has to offer in protecting the citizens of the city. can not raid "unless warrant issued"]],
  357. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "arrest_stick", "unarrest_stick", "m9k_m3", "weapon_cuff_tactical", "itemstore_pickup", "stunstick", "zwf_sniffer"},
  358. command = "Rcop",
  359. max = 1,
  360. salary = 350,
  361. admin = 0,
  362. vote = true,
  363. hasLicense = true,
  364. candemote = false,
  365. category = "VIP",
  366. PlayerSpawn = function(ply)
  367. ply:SetMaxHealth(125)
  368. ply:SetHealth(125)
  369. ply:SetArmor(100)
  370. end,
  371. customCheck = function(ply) return CLIENT or table.HasValue({"VIP", "superadmin", "Owner", "Staff-Manager", "admin", "Developer", "Titan", "Legend"}, ply:GetNWString("usergroup")) end,
  372. CustomCheckFailMsg = "This job is VIP Only"
  373. })
  374.  
  375. TEAM_PTHIEF = DarkRP.createJob("Pro Thief", {
  376. color = Color(71, 71, 115, 255),
  377. model = {"models/player/suits/robber_tie.mdl", "models/player/suits/robber_shirt.mdl"},
  378. description = [[your the best at stealing. can raid]],
  379. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "pro_lockpick_update", "prokeypadcracker", "itemstore_pickup"},
  380. command = "Pro",
  381. max = 5,
  382. salary = 200,
  383. admin = 0,
  384. vote = false,
  385. hasLicense = false,
  386. candemote = false,
  387. category = "VIP",
  388. PlayerSpawn = function(ply)
  389. ply:SetMaxHealth(100)
  390. ply:SetHealth(100)
  391. end,
  392. customCheck = function(ply) return CLIENT or table.HasValue({"VIP", "superadmin", "Owner", "Staff-Manager", "admin", "Developer", "Titan", "Legend"}, ply:GetNWString("usergroup")) end,
  393. CustomCheckFailMsg = "This job is VIP Only"
  394. })
  395.  
  396. TEAM_TERROR = DarkRP.createJob("Terrorist Leader", {
  397. color = Color(135, 105, 29, 255),
  398. model = {"models/jessev92/kuma/characters/osama_ply.mdl"},
  399. description = [[You are the Leader of the terroist cell.You Can Terror Every Ten Minutes. can raid]],
  400. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_ak47", "itemstore_pickup"},
  401. command = "terror",
  402. max = 1,
  403. salary = 200,
  404. admin = 0,
  405. vote = false,
  406. hasLicense = false,
  407. candemote = false,
  408. category = "VIP",
  409. PlayerSpawn = function(ply)
  410. ply:SetMaxHealth(100)
  411. ply:SetHealth(100)
  412. ply:SetArmor(0)
  413. end,
  414. customCheck = function(ply) return CLIENT or table.HasValue({"VIP", "superadmin", "Owner", "Staff-Manager", "admin", "Developer", "Titan", "Legend"}, ply:GetNWString("usergroup")) end,
  415. CustomCheckFailMsg = "This job is VIP Only"
  416. })
  417.  
  418. TEAM_HH = DarkRP.createJob("Hank Hill", {
  419. color = Color(135, 105, 29, 255),
  420. model = {"models/player/hank/hank_hill_pm.mdl"},
  421. description = [[Propane and Propane accesorys. can raid]],
  422. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_ithacam37", "m9k_coltpython", "itemstore_pickup", "weapon_vape_american", "pack_swswep_canyon"},
  423. command = "hh",
  424. max = 1,
  425. salary = 200,
  426. admin = 0,
  427. vote = false,
  428. hasLicense = true,
  429. candemote = false,
  430. category = "Custom Class",
  431. PlayerSpawn = function(ply)
  432. ply:SetMaxHealth(100)
  433. ply:SetHealth(100)
  434. ply:SetArmor(0)
  435. end,
  436. customCheck = function(ply) return CLIENT or ply:SteamID("SteamId") == "STEAM_0:0:51604781" or ply:SteamID()=="STEAM_0:0:53275979" end,
  437. CustomCheckFailMsg = "This job is for Forrestrump only"
  438. })
  439.  
  440. TEAM_DP = DarkRP.createJob("DP", {
  441. color = Color(255, 0, 0, 255),
  442. model = {"models/pechenko_121/deadpool/chr_deadpool2.mdl", "models/pechenko_121/deadpool/chr_deadpooldpooly.mdl", "models/pechenko_121/deadpool/chr_deadpoolskin.mdl", "models/pechenko_121/deadpool/chr_deadpoolultimate.mdl"},
  443. description = [[The death pools up to $1m]],
  444. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_deagle", "m9k_usas", "itemstore_pickup", "weapon_vape_medicinal", "weapon_cuff_elastic", "pro_lockpick_update", "prokeypadcracker", "m9k_an94"},
  445. command = "dp",
  446. max = 1,
  447. salary = 200,
  448. admin = 0,
  449. vote = false,
  450. hasLicense = true,
  451. candemote = false,
  452. category = "Custom Class",
  453. PlayerSpawn = function(ply)
  454. ply:SetMaxHealth(100)
  455. ply:SetHealth(100)
  456. ply:SetArmor(0)
  457. end,
  458. customCheck = function(ply) return CLIENT or ply:SteamID("SteamId") == "STEAM_0:0:53275979" end,
  459. CustomCheckFailMsg = "This job is for sombody else"
  460. })
  461.  
  462. TEAM_THIEF = DarkRP.createJob("Thief", {
  463. color = Color(145, 145, 145, 255),
  464. model = {"models/player/arctic.mdl", "models/player/phoenix.mdl"},
  465. description = [[go comit crimes with your friends. can raid]],
  466. weapons = {"lockpick", "itemstore_pickup"},
  467. command = "thief",
  468. max = 10,
  469. salary = 85,
  470. admin = 0,
  471. vote = false,
  472. hasLicense = false,
  473. candemote = false,
  474. category = "Criminal",
  475. PlayerSpawn = function(ply)
  476. ply:SetMaxHealth(100)
  477. ply:SetHealth(100)
  478. end
  479. })
  480.  
  481. TEAM_TERRORCELL = DarkRP.createJob("Terrorist Cell Member", {
  482. color = Color(145, 145, 145, 255),
  483. model = {"models/player/kuma/alqaeda_commando.mdl","models/player/kuma/taliban_bomber.mdl","models/player/kuma/taliban_grunt.mdl","models/player/kuma/taliban_rpg.mdl"},
  484. description = [[Follow your glorius leader in the path to Allah. can raid. you can not call terror.]],
  485. weapons = {"lockpick", "itemstore_pickup", "m9k_hk45"},
  486. command = "tcell",
  487. max = 5,
  488. salary = 100,
  489. admin = 0,
  490. vote = false,
  491. hasLicense = false,
  492. candemote = false,
  493. category = "Criminal",
  494. PlayerSpawn = function(ply)
  495. ply:SetMaxHealth(100)
  496. ply:SetHealth(100)
  497. end
  498. })
  499.  
  500. TEAM_CULTIST = DarkRP.createJob("Cultist", {
  501. color = Color(145, 145, 145, 255),
  502. model = {"models/bala/monsterboys.mdl"},
  503. description = [[You are a Cult member and you roam the streets with your brothers looking for lambs to slaughter. can not raid]],
  504. weapons = {"lockpick", "itemstore_pickup", "m9k_knife"},
  505. command = "cultist",
  506. max = 5,
  507. salary = 100,
  508. admin = 0,
  509. vote = false,
  510. hasLicense = false,
  511. candemote = false,
  512. category = "Criminal",
  513. PlayerSpawn = function(ply)
  514. ply:SetMaxHealth(100)
  515. ply:SetHealth(100)
  516. end
  517. })
  518.  
  519. TEAM_CTHUG = DarkRP.createJob("Cripz Thug", {
  520. color = Color(5, 0, 255, 255),
  521. model = {"models/player/cripz/slow_3.mdl"},
  522. description = [[Fight against Crips. If you advert "War with bloodz A/D?" and the bloodz accept, you may rdm any blood for the next 5 minutes. can only raid rival gang bases]],
  523. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_hk45", "itemstore_pickup"},
  524. command = "Crip Thug",
  525. max = 6,
  526. salary = 100,
  527. admin = 0,
  528. vote = false,
  529. hasLicense = false,
  530. candemote = false,
  531. category = "Criminal",
  532. PlayerSpawn = function(ply)
  533. ply:SetMaxHealth(100)
  534. ply:SetHealth(100)
  535. ply:SetArmor(0)
  536. end
  537. })
  538.  
  539. TEAM_CRIPL = DarkRP.createJob("Cripz Leader", {
  540. color = Color(5, 0, 255, 255),
  541. model = {"models/player/cripz/slow_2.mdl"},
  542. description = [[You control Bloodz vs Cripz wars. If you advert "War with bloodz A/D?" and the bloodz accept, you may rdm any blood for the next 5 minutes. can only raid rival gang bases]],
  543. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_hk45", "itemstore_pickup"},
  544. command = "Crip Leader",
  545. max = 1,
  546. salary = 200,
  547. admin = 0,
  548. vote = true,
  549. hasLicense = false,
  550. candemote = false,
  551. category = "Criminal",
  552. PlayerSpawn = function(ply)
  553. ply:SetMaxHealth(100)
  554. ply:SetHealth(100)
  555. ply:SetArmor(25)
  556. end
  557. })
  558.  
  559. TEAM_BTHUG = DarkRP.createJob("Bloodz Thug", {
  560. color = Color(201, 0, 0, 255),
  561. model = {"models/player/bloodz/slow_2.mdl"},
  562. description = [[Fight against Crips. If you advert "War with crips A/D?" and the crips accept, you may rdm any crip for the next 5 minutes. can only raid rival gang bases]],
  563. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_hk45", "itemstore_pickup"},
  564. command = "Blood Thug",
  565. max = 6,
  566. salary = 100,
  567. admin = 0,
  568. vote = false,
  569. hasLicense = false,
  570. candemote = false,
  571. category = "Criminal",
  572. PlayerSpawn = function(ply)
  573. ply:SetMaxHealth(100)
  574. ply:SetHealth(100)
  575. ply:SetArmor(0)
  576. end
  577. })
  578.  
  579. TEAM_BLOODL = DarkRP.createJob("Bloodz Leader", {
  580. color = Color(201, 0, 0, 255),
  581. model = {"models/player/bloodz/slow_1.mdl"},
  582. description = [[You control Bloodz vs Cripz wars. If you advert "War with crips A/D?" and the crips accept, you may rdm any crip for the next 5 minutes. can only raid rival gang bases]],
  583. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_hk45", "itemstore_pickup"},
  584. command = "Blood Leader",
  585. max = 1,
  586. salary = 200,
  587. admin = 0,
  588. vote = true,
  589. hasLicense = false,
  590. candemote = false,
  591. category = "Criminal",
  592. PlayerSpawn = function(ply)
  593. ply:SetMaxHealth(100)
  594. ply:SetHealth(100)
  595. ply:SetArmor(25)
  596. end
  597. })
  598.  
  599. TEAM_NINJA = DarkRP.createJob("Ninja", {
  600. color = Color(161, 161, 161, 255),
  601. model = {"models/player/phoenix.mdl"},
  602. description = [[sneaky beaky like. can raid]],
  603. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "lockpick", "itemstore_pickup", "climb_swep2"},
  604. command = "Ninja",
  605. max = 3,
  606. salary = 100,
  607. admin = 0,
  608. vote = false,
  609. hasLicense = false,
  610. candemote = false,
  611. category = "Criminal",
  612. PlayerSpawn = function(ply)
  613. ply:SetMaxHealth(100)
  614. ply:SetHealth(100)
  615. end
  616. })
  617.  
  618. TEAM_BHUNTER = DarkRP.createJob("Bounty Hunter", {
  619. color = Color(0, 120, 255, 255),
  620. model = {"models/player/pmc_4/pmc__04.mdl"},
  621. description = [[Your job is to go and raid/capture wanted people, the CP Chief is your commanding officer]],
  622. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_m16a4_acog", "m9k_hk45", "arrest_stick", "unarrest_stick", "door_ram", "weapon_cuff_tactical", "itemstore_pickup"},
  623. command = "BH",
  624. max = 2,
  625. salary = 300,
  626. admin = 0,
  627. vote = true,
  628. hasLicense = true,
  629. candemote = false,
  630. category = "Civil Protection",
  631. PlayerSpawn = function(ply)
  632. ply:SetMaxHealth(150)
  633. ply:SetHealth(150)
  634. ply:SetArmor(50)
  635. end
  636. })
  637.  
  638. TEAM_MEDI = DarkRP.createJob("Medic", {
  639. color = Color(255, 255, 255, 255),
  640. model = {"models/player/kleiner.mdl"},
  641. description = [[Heal people or start a clinic. can not raid]],
  642. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "med_kit", "itemstore_pickup"},
  643. command = "Medic",
  644. max = 3,
  645. salary = 100,
  646. admin = 0,
  647. vote = false,
  648. hasLicense = false,
  649. candemote = false,
  650. category = "Citizens",
  651. PlayerSpawn = function(ply)
  652. ply:SetMaxHealth(100)
  653. ply:SetHealth(100)
  654. ply:SetArmor(0)
  655. end
  656. })
  657.  
  658. TEAM_BANKG = DarkRP.createJob("Bank Guard", {
  659. color = Color(5, 110, 0, 255),
  660. model = {"models/player/guard_pack/guard_01.mdl", "models/player/guard_pack/guard_02.mdl", "models/player/guard_pack/guard_03.mdl", "models/player/guard_pack/guard_04.mdl", "models/player/guard_pack/guard_05.mdl", "models/player/guard_pack/guard_06.mdl", "models/player/guard_pack/guard_07.mdl", "models/player/guard_pack/guard_08.mdl", "models/player/guard_pack/guard_09.mdl"},
  661. description = [[You do what ever the Banker tells you wether its dealing with customers or fending off crooks trying to rob the bank. can not raid]],
  662. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_ump45", "itemstore_pickup"},
  663. command = "BankG",
  664. max = 5,
  665. salary = 100,
  666. admin = 0,
  667. vote = false,
  668. hasLicense = true,
  669. candemote = false,
  670. category = "Bank",
  671. PlayerSpawn = function(ply)
  672. ply:SetMaxHealth(100)
  673. ply:SetHealth(100)
  674. ply:SetArmor(50)
  675. end
  676. })
  677.  
  678. TEAM_BANKER = DarkRP.createJob("Banker", {
  679. color = Color(5, 110, 0, 255),
  680. model = {"models/player/gman_high.mdl"},
  681. description = [[You are the Banker you control the bank and can store printers legaly for a fee for other players, and protect the vault with your guards. can not raid]],
  682. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "weapon_fists", "m9k_coltpython", "itemstore_pickup"},
  683. command = "Banker",
  684. max = 1,
  685. salary = 250,
  686. admin = 0,
  687. vote = true,
  688. hasLicense = true,
  689. candemote = false,
  690. category = "Bank",
  691. PlayerSpawn = function(ply)
  692. ply:SetMaxHealth(100)
  693. ply:SetHealth(100)
  694. end
  695. })
  696.  
  697. TEAM_SOD = DarkRP.createJob("Staff On Duty", {
  698. color = Color(37, 224, 224, 255),
  699. model = {"models/player/combine_super_soldier.mdl"},
  700. description = [[You are part of the Staff team, take sits and be fair. DONT ABUSE]],
  701. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "staff_lockpick", "weapon_keypadchecker", "itemstore_pickup"},
  702. command = "SOD",
  703. max = 0,
  704. salary = 10,
  705. admin = 0,
  706. vote = false,
  707. hasLicense = false,
  708. candemote = false,
  709. category = "Staff",
  710. PlayerSpawn = function(ply)
  711. ply:SetMaxHealth(1000)
  712. ply:SetHealth(1000)
  713. end,
  714. customCheck = function(ply) return CLIENT or table.HasValue({"admin", "Developer", "superadmin", "Owner", "Moderator", "Tmod"}, ply:GetNWString("usergroup")) end,
  715. CustomCheckFailMsg = "This job is for the Staff team Only"
  716. })
  717.  
  718. TEAM_SAOD = DarkRP.createJob("SuperAdmin On Duty", {
  719. color = Color(37, 224, 224, 255),
  720. model = {"models/player/anon/anon.mdl"},
  721. description = [[You are a higher Staff the others look up to you be a good boi]],
  722. weapons = {"weapon_physgun", "keys", "weapon_physcannon", "gmod_tool", "staff_lockpick", "weapon_keypadchecker", "itemstore_pickup"},
  723. command = "SAOD",
  724. max = 0,
  725. salary = 10,
  726. admin = 1,
  727. vote = false,
  728. hasLicense = false,
  729. candemote = false,
  730. category = "Staff",
  731. PlayerSpawn = function(ply)
  732. ply:SetMaxHealth(99999999)
  733. ply:SetHealth(99999999)
  734. end,
  735. customCheck = function(ply) return CLIENT or table.HasValue({"Developer", "superadmin", "Owner", "Staff-Manager"}, ply:GetNWString("usergroup")) end,
  736. CustomCheckFailMsg = "This job is for Higher Staff"
  737. })
  738.  
  739. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  740. color = Color(0, 0, 0, 255),
  741. model = "models/player/leet.mdl",
  742. description = [[People hire you to take out other people,
  743. this job require you to be completely focussed.
  744. A single breath can make you loose a shot.]],
  745. weapons = {"m9k_m24"},
  746. command = "hitman",
  747. max = 2,
  748. salary = 65,
  749. admin = 0,
  750. vote = true,
  751. hasLicense = false,
  752. category = "Criminal",
  753. PlayerSpawn = function(ply)
  754. ply:SetMaxHealth(100)
  755. ply:SetHealth(100)
  756. ply:SetArmor(25)
  757. end,
  758. })
  759.  
  760. TEAM_ASSASSIN = DarkRP.createJob("Assassin", {
  761. color = Color(0, 0, 0, 255),
  762. model = "models/player/agent_47.mdl",
  763. description = [[You are the absoulute best at what you do kill without mercy]],
  764. weapons = {"m9k_aw50"},
  765. command = "assassin",
  766. max = 2,
  767. salary = 100,
  768. admin = 0,
  769. vote = true,
  770. hasLicense = false,
  771. category = "VIP",
  772. PlayerSpawn = function(ply)
  773. ply:SetMaxHealth(100)
  774. ply:SetHealth(100)
  775. ply:SetArmor(25)
  776. end,
  777. customCheck = function(ply) return CLIENT or table.HasValue({"VIP", "superadmin", "Owner", "Staff-Manager", "admin", "Developer", "Titan", "Legend"}, ply:GetNWString("usergroup")) end,
  778. CustomCheckFailMsg = "This job is VIP Only"
  779. })
  780.  
  781. --[[---------------------------------------------------------------------------
  782. Define which team joining players spawn into and what team you change to if demoted
  783. ---------------------------------------------------------------------------]]
  784. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  785.  
  786. --[[---------------------------------------------------------------------------
  787. Define which teams belong to civil protection
  788. Civil protection can set warrants, make people wanted and do some other police related things
  789. ---------------------------------------------------------------------------]]
  790. GAMEMODE.CivilProtection = {
  791. [TEAM_POLICE] = true,
  792. [TEAM_CHIEF] = true,
  793. [TEAM_MAYOR] = true,
  794. [TEAM_ROBOCOP] = true,
  795. [TEAM_SERVICE] = true,
  796. [TEAM_SWATM] = true,
  797. [TEAM_SWATA] = true,
  798. [TEAM_SWATS] = true,
  799. [TEAM_SWATL] = true,
  800. [TEAM_CHIEF] = true,
  801. [TEAM_ROBOCOP] = true,
  802. }
  803.  
  804. --[[---------------------------------------------------------------------------
  805. Jobs that are hitmen (enables the hitman menu)
  806. ---------------------------------------------------------------------------]]
  807. DarkRP.addHitmanTeam(TEAM_HITMAN)
  808. DarkRP.addHitmanTeam(TEAM_ASSASSIN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement