Advertisement
Guest User

dark rp looap jobs

a guest
Jul 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.04 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_CITIZEN = DarkRP.createJob("Citizen", {
  19. color = Color(0, 255, 71, 255),
  20. model = {
  21. "models/player/Group01/Female_01.mdl",
  22. "models/player/Group01/Female_02.mdl",
  23. "models/player/Group01/Female_03.mdl",
  24. "models/player/Group01/Female_04.mdl",
  25. "models/player/Group01/Female_06.mdl",
  26. "models/player/group01/male_01.mdl",
  27. "models/player/Group01/Male_02.mdl",
  28. "models/player/Group01/male_03.mdl",
  29. "models/player/Group01/Male_04.mdl",
  30. "models/player/Group01/Male_05.mdl",
  31. "models/player/Group01/Male_06.mdl",
  32. "models/player/Group01/Male_07.mdl",
  33. "models/player/Group01/Male_08.mdl",
  34. "models/player/Group01/Male_09.mdl"
  35. },
  36. 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.]],
  37. weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup"},
  38. command = "citizen",
  39. max = 0,
  40. salary = 200,
  41. admin = 0,
  42. vote = false,
  43. hasLicense = false,
  44. candemote = false,
  45. category = "Citizens",
  46. PlayerSpawn = function(ply)
  47. ply:SetMaxHealth(150)
  48. ply:SetHealth(150)
  49. ply:SetArmor(0)
  50. end,
  51.  
  52. })
  53.  
  54.  
  55. TEAM_GUARD = DarkRP.createJob("Guard", {
  56. color = Color(203, 23, 219, 255),
  57. model = {
  58. "models/bigsmoke/smoke.mdl"
  59.  
  60. },
  61. description = [[Guard your person who highers who.]],
  62. weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup","m9k_m416"},
  63. command = "Guard",
  64. max = 0,
  65. salary = 200,
  66. admin = 0,
  67. vote = false,
  68. hasLicense = false,
  69. candemote = false,
  70. category = "Citizens",
  71. PlayerSpawn = function(ply)
  72. ply:SetMaxHealth(150)
  73. ply:SetHealth(350)
  74. ply:SetArmor(20)
  75. end,
  76. })
  77.  
  78. TEAM_LIGHTDEALER = DarkRP.createJob("Light Gun Dealer", {
  79. color = Color(255, 193, 0, 255),
  80. model = "models/player/monk.mdl",
  81. description = [[A Gun Dealer is the only person who can sell guns to other people.
  82. Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
  83. weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup"},
  84. command = "Light ",
  85. max = 3,
  86. salary = 550,
  87. admin = 0,
  88. vote = false,
  89. hasLicense = true,
  90. category = "Gun Dealer",
  91. PlayerSpawn = function(ply)
  92. ply:SetMaxHealth(300)
  93. ply:SetHealth(300)
  94. ply:SetArmor(0)
  95. end,
  96.  
  97. })
  98.  
  99. TEAM_HEAVYDEALER = DarkRP.createJob("Heavy Gun Dealer", {
  100. color = Color(255, 193, 0, 255),
  101. model = "models/player/monk.mdl",
  102. description = [[A Gun Dealer is the only person who can sell guns to other people.
  103. Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
  104. weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup"},
  105. command = "Heavy",
  106. max = 3,
  107. salary = 550,
  108. admin = 0,
  109. vote = false,
  110. hasLicense = true,
  111. category = "Gun Dealer",
  112. PlayerSpawn = function(ply)
  113. ply:SetMaxHealth(300)
  114. ply:SetHealth(300)
  115. ply:SetArmor(0)
  116. end,
  117. customCheck = function(ply) return
  118. table.HasValue({"Owner", "Head of staff", "superadmin", "admin", "Vip", "Junior Admin", "Senior Admin"}, ply:GetNWString("usergroup"))
  119. end,
  120. CustomCheckFailMsg = "This is VIP only!",
  121. })
  122.  
  123. TEAM_BLACKMARKETDEALER = DarkRP.createJob("Black Market Dealer", {
  124. color = Color(255, 193, 0, 255),
  125. model = "models/player/monk.mdl",
  126. description = [[A Gun Dealer is the only person who can sell guns to other people.
  127. Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
  128. weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup"},
  129. command = "Black",
  130. max = 3,
  131. salary = 550,
  132. admin = 0,
  133. vote = false,
  134. hasLicense = true,
  135. category = "Gun Dealer",
  136. PlayerSpawn = function(ply)
  137. ply:SetMaxHealth(300)
  138. ply:SetHealth(300)
  139. ply:SetArmor(0)
  140. end,
  141. customCheck = function(ply) return
  142. table.HasValue({"Owner", "Head of staff", "superadmin", "admin", "Vip", "Junior Admin", "Senior Admin"}, ply:GetNWString("usergroup"))
  143. end,
  144. CustomCheckFailMsg = "This is VIP only!",
  145. })
  146.  
  147. TEAM_HOBO = DarkRP.createJob("Hobo", {
  148. color = Color(80, 45, 0, 255),
  149. model = "models/jessev92/player/l4d/m9-hunter.mdl",
  150. description = [[The lowest member of society. Everybody laughs at you.
  151. You have no home.
  152. Beg for your food and money
  153. Sing for everyone who passes to get money
  154. Make your own wooden home somewhere in a corner or outside someone else's door]],
  155. weapons = {"weapon_physgun","weapon_bugbait","gmod_tool","itemstore_pickup"},
  156. command = "hobo",
  157. max = 4,
  158. salary = 0,
  159. admin = 0,
  160. vote = false,
  161. hasLicense = false,
  162. candemote = false,
  163. hobo = true,
  164. category = "Citizens",
  165. PlayerSpawn = function(ply)
  166. ply:SetMaxHealth(350)
  167. ply:SetHealth(300)
  168. ply:SetArmor(0)
  169. end,
  170. })
  171.  
  172. TEAM_KIDNAPPER = DarkRP.createJob("Kidnapper", {
  173. color = Color(0, 0, 0, 255),
  174. model = {"models/darksouls/characters/hollow_thief.mdl"},
  175. description = [[Kidnappers are nobdy and will be nobdy the only the cops are aware of the kidnappers and trying to hide them from the town ]],
  176. weapons = {"weapon_physgun","gmod_tool","itemstore_pickup","keys", "csgo_gut_rustcoat", "weapon_r_baton"},
  177. command = "Kidnapp",
  178. max = 3,
  179. salary = 400,
  180. admin = 0,
  181. vote = true,
  182. hasLicense = false,
  183. candemote = true,
  184. category = "Criminals",
  185. PlayerSpawn = function(ply)
  186. ply:SetMaxHealth(370)
  187. ply:SetHealth(370)
  188. ply:SetArmor(0)
  189. end,
  190. })
  191.  
  192. TEAM_THIEF = DarkRP.createJob("Thief", {
  193. color = Color(0, 0, 0, 255),
  194. model = {"models/player/wisay/thief.mdl"},
  195. description = [[Thief are people who ran out of ways to make money so they do not follow the rules by the mayor ]],
  196. weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup", "m9k_hk45","pickpocket","lockpick"},
  197. command = "Thiefsz",
  198. max = 6,
  199. salary = 400,
  200. admin = 0,
  201. vote = true,
  202. hasLicense = false,
  203. candemote = true,
  204. category = "Criminals",
  205. PlayerSpawn = function(ply)
  206. ply:SetMaxHealth(370)
  207. ply:SetHealth(370)
  208. ply:SetArmor(0)
  209. end,
  210. })
  211.  
  212. TEAM_HACKER = DarkRP.createJob("Hacker", {
  213. color = Color(173, 173, 173, 255),
  214. model = {"models/player/lulsec.mdl"},
  215. description = [[Thief are people who ran out of ways to make money so they do not follow the rules by the mayor ]],
  216. weapons = {"weapon_physgun","gmod_tool","keys","itemstore_pickup", "m9k_ragingbull", "keypad_cracker"},
  217. command = "HackerSZ",
  218. max = 3,
  219. salary = 400,
  220. admin = 0,
  221. vote = true,
  222. hasLicense = false,
  223. candemote = true,
  224. category = "Criminals",
  225. PlayerSpawn = function(ply)
  226. ply:SetMaxHealth(370)
  227. ply:SetHealth(370)
  228. ply:SetArmor(0)
  229. end,
  230. })
  231.  
  232.  
  233.  
  234. TEAM_POLICE = DarkRP.createJob("Police Officer", {
  235. color = Color(34, 31, 245, 255),
  236. model = {
  237. "models/kerry/player/police_chicago_01.mdl",
  238. "models/kerry/player/police_chicago_02.mdl",
  239. "models/kerry/player/police_chicago_03.mdl",
  240. "models/kerry/player/police_chicago_04.mdl",
  241. "models/kerry/player/police_chicago_05.mdl",
  242. "models/kerry/player/police_chicago_06.mdl",
  243. "models/kerry/player/police_chicago_07.mdl",
  244. "models/kerry/player/police_chicago_08.mdl",
  245. "models/kerry/player/police_chicago_09.mdl"
  246. },
  247. description = [[The Police is the law in forcer of the Police officer.
  248. Coordinate the police force to enforce law in the city.
  249. Hit a player with arrest baton to put them in jail.
  250. Bash a player with a stunstick and they may learn to obey the law.
  251. The Battering Ram can break down the door of a criminal, with a warrant for his/her arrest.
  252. Type /wanted <name> to alert the public to the presence of a criminal]],
  253. weapons = {"weapon_physgun", "gmod_tool", "itemstore_pickup","keys", "unarrest_stick", "arrest_stick", "stunstick", "m9k_m4a1", "m9k_glock"},
  254. command = "POLICEOFFC",
  255. max = 6,
  256. salary = 400,
  257. admin = 0,
  258. vote = false,
  259. hasLicense = true,
  260. candemote = true,
  261. category = "Police",
  262. PlayerSpawn = function(ply)
  263. ply:SetMaxHealth(400)
  264. ply:SetHealth(400)
  265. ply:SetArmor(50)
  266. end,
  267. })
  268.  
  269. TEAM_MAYORSGUARD = DarkRP.createJob("Mayors Guard", {
  270. color = Color(34, 31, 245, 255),
  271. model = {
  272. "models/player/smith.mdl"
  273.  
  274. },
  275. description = [[Guard the Mayor dont let anyone hurt him or her!]],
  276. weapons = {"weapon_physgun", "gmod_tool","keys", "itemstore_pickup", "unarrest_stick", "arrest_stick", "stunstick", "weapon_combineshield", "m9k_scar", "m9k_remington870"},
  277. command = "Guardpolice",
  278. max = 2,
  279. salary = 400,
  280. admin = 0,
  281. vote = false,
  282. hasLicense = true,
  283. candemote = true,
  284. category = "Police",
  285. PlayerSpawn = function(ply)
  286. ply:SetMaxHealth(450)
  287. ply:SetHealth(450)
  288. ply:SetArmor(50)
  289. end,
  290. })
  291.  
  292. TEAM_RIOTPOLICE = DarkRP.createJob("Roit Police", {
  293. color = Color(34, 31, 245, 255),
  294. model = {
  295. "models/player/guard_pack/guard_01.mdl",
  296. "models/player/guard_pack/guard_02.mdl",
  297. "models/player/guard_pack/guard_03.mdl",
  298. "models/player/guard_pack/guard_04.mdl",
  299. "models/player/guard_pack/guard_09.mdl",
  300. "models/player/guard_pack/guard_07.mdl"
  301. },
  302. description = [[The Police is the law in forcer of the Police officer.
  303. Coordinate the police force to enforce law in the city.
  304. Hit a player with arrest baton to put them in jail.
  305. Bash a player with a stunstick and they may learn to obey the law.
  306. The Battering Ram can break down the door of a criminal, with a warrant for his/her arrest.
  307. Type /wanted <name> to alert the public to the presence of a criminal]],
  308. weapons = {"weapon_physgun", "gmod_tool","keys", "itemstore_pickup", "unarrest_stick", "arrest_stick", "stunstick", "weapon_riotshield", "m9k_browningauto5", "m9k_deagle"},
  309. command = "riotpolice",
  310. max = 4,
  311. salary = 400,
  312. admin = 0,
  313. vote = false,
  314. hasLicense = true,
  315. candemote = true,
  316. category = "Police",
  317. PlayerSpawn = function(ply)
  318. ply:SetMaxHealth(450)
  319. ply:SetHealth(450)
  320. ply:SetArmor(50)
  321. end,
  322. })
  323.  
  324. TEAM_POLICEGUARD = DarkRP.createJob("Mayor", {
  325. color = Color(34, 85, 85, 255),
  326. model = {"models/fearless/mayor1.mdl",
  327. "models/fearless/mayor2.mdl"
  328.  
  329. },
  330. description = [[TThe Mayor of the city creates laws to govern the city.
  331. If you are the mayor you may create and accept warrants.
  332. Type /wanted <name> to warrant a player.
  333. Type /jailpos to set the Jail Position.
  334. Type /lockdown initiate a lockdown of the city.
  335. Everyone must be inside during a lockdown.
  336. The cops patrol the area]],
  337. weapons = {"weapon_physgun", "gmod_tool","keys", "itemstore_pickup", "unarrest_stick", "arrest_stick", "stunstick", "m9k_deagle"},
  338. command = "Mayor",
  339. max = 1,
  340. salary = 503,
  341. admin = 0,
  342. vote = true,
  343. hasLicense = true,
  344. candemote = true,
  345. category = "Police",
  346. PlayerSpawn = function(ply)
  347. ply:SetMaxHealth(400)
  348. ply:SetHealth(500)
  349. ply:SetArmor(30)
  350. end,
  351. })
  352.  
  353. TEAM_EML_COOK = DarkRP.createJob("Meth Cook", {
  354. color = Color(0, 128, 255, 255),
  355. model = {
  356. "models/agent_47/agent_47.mdl",
  357. "models/player/voikanaa/snoop_dogg.mdl"},
  358. description = [[The lowest person of crime.
  359. A meth cook generally works for the Mobboss who runs the crime family.]],
  360. weapons = {"weapon_physgun", "gmod_tool","keys", "itemstore_pickup"},
  361. command = "methcook",
  362. max = 3,
  363. salary = 0,
  364. admin = 0,
  365. vote = false,
  366. hasLicense = false
  367. candemote = true,
  368. category = "Criminals",
  369. PlayerSpawn = function(ply)
  370. ply:SetMaxHealth(370)
  371. ply:SetHealth(370)
  372. ply:SetArmor(0)
  373. end,
  374.  
  375. })
  376.  
  377. TEAM_MASTERTHIEF = AddExtraTeam("Master Thief", {
  378. color = Color(255, 0, 0, 255),
  379. model = "models/player/arctic.mdl",
  380. description = [[As a Master Thief you will break into peoples
  381. houses steal there items leave and try not to get
  382. caught by the police you can not mug people on the
  383. streets!
  384. Raid = Yes
  385. Job = V.I.P ]],
  386. weapons = {"hl2_combo_fists","pro_lockpick","m9k_deagle","m9k_m16a4_acog","m9k_m16a4_acog","m9k_famas"},
  387. command = "mastertheif",
  388. max = 4,
  389. salary = 75,
  390. admin = 1,
  391. vote = false,
  392. hasLicense = false
  393. candemote = true,
  394. category = "Criminals",
  395. PlayerSpawn = function(ply)
  396. ply:SetMaxHealth(370)
  397. ply:SetHealth(370)
  398. ply:SetArmor(0)
  399. end,
  400. customCheck = function(ply) return
  401. table.HasValue({"Owner", "Head of staff", "superadmin", "admin", "Vip", "Junior Admin", "Senior Admin"}, ply:GetNWString("usergroup"))
  402. end,
  403. CustomCheckFailMsg = "This is VIP only!",
  404. })
  405.  
  406. TEAM_GANG = AddExtraTeam("Gangster", {
  407. color = Color(75, 75, 75, 255),
  408. model = {
  409. "models/player/Group03/Female_01.mdl",
  410. "models/player/Group03/Female_02.mdl",
  411. "models/player/Group03/Female_03.mdl",
  412. "models/player/Group03/Female_04.mdl",
  413. "models/player/Group03/Female_06.mdl",
  414. "models/player/group03/male_01.mdl",
  415. "models/player/Group03/Male_02.mdl",
  416. "models/player/Group03/male_03.mdl",
  417. "models/player/Group03/Male_04.mdl",
  418. "models/player/Group03/Male_05.mdl",
  419. "models/player/Group03/Male_06.mdl",
  420. "models/player/Group03/Male_07.mdl",
  421. "models/player/Group03/Male_08.mdl",
  422. "models/player/Group03/Male_09.mdl"},
  423. description = [[The lowest person of crime.
  424. A gangster generally works for the Mobboss who runs the crime family.
  425. The Mobboss sets your agenda and you follow it or you might be punished.]],
  426. weapons = {"m9k_usp", "lockpick"},
  427. command = "gangster",
  428. max = 7,
  429. salary = 45,
  430. admin = 0,
  431. vote = false,
  432. hasLicense = false
  433. candemote = true,
  434. category = "Criminals",
  435. PlayerSpawn = function(ply)
  436. ply:SetMaxHealth(370)
  437. ply:SetHealth(370)
  438. ply:SetArmor(0)
  439. end,
  440. })
  441.  
  442. TEAM_MOB = AddExtraTeam("Mob boss", {
  443. color = Color(25, 25, 25, 255),
  444. model = "models/player/gman_high.mdl",
  445. description = [[The Mobboss is the boss of the criminals in the city.
  446. With his power he coordinates the gangsters and forms an efficent crime
  447. organization.
  448. He has the ability to break into houses by using a lockpick.
  449. The Mobboss also can unarrest you.]],
  450. weapons = {"lockpick", "unarrest_stick","m9k_deagle","m9k_m4a1"},
  451. command = "mobboss",
  452. max = 1,
  453. salary = 60,
  454. admin = 0,
  455. vote = false,
  456. hasLicense = false,
  457. candemote = true,
  458. category = "Criminals",
  459. PlayerSpawn = function(ply)
  460. ply:SetMaxHealth(370)
  461. ply:SetHealth(370)
  462. ply:SetArmor(0)
  463. end,
  464.  
  465.  
  466. })
  467.  
  468. TEAM_MOB= AddExtraTeam("Hitman", {
  469. color = Color(84, 69, 0, 298),
  470. model = "models/player/guerilla.mdl",
  471. description = [[Your a hitman you are weak compared to you master the Elite Hitmen you cant do what they can and don't have the skills you spawn with the weapons ether ]],
  472. weapons = {"m9k_usp","m9k_intervention"},
  473. command = "Hitman",
  474. max = 5,
  475. salary = 65,
  476. admin = 0,
  477. vote = true,
  478. hasLicense = false
  479. candemote = true,
  480. category = "Criminals",
  481. PlayerSpawn = function(ply)
  482. ply:SetMaxHealth(380)
  483. ply:SetHealth(380)
  484. ply:SetArmor(0)
  485. end,
  486. customCheck = function(ply) return
  487. table.HasValue({"Owner", "Head of staff", "superadmin", "admin", "Vip", "Junior Admin", "Senior Admin"}, ply:GetNWString("usergroup"))
  488. end,
  489. CustomCheckFailMsg = "This is VIP only!",
  490.  
  491. })
  492.  
  493. TEAM_STAFF = DarkRP.createJob("Staff On Duty", {
  494. color = Color(0, 239, 255, 255),
  495. model = {"models/player/anon/anon.mdl"},
  496. description = [[Help The Players]],
  497. weapons = {"weapon_arc_atmcard","weapon_keypadchecker","unarrest_stick","arrest_stick","door_ram",},
  498. command = "staff",
  499. max = 100,
  500. salary = 0,
  501. admin = 1,
  502. vote = false,
  503. hasLicense = true,
  504. candemote = true,
  505. category = "Citizens",
  506. PlayerSpawn = function(ply)
  507. ply:SetMaxHealth(380)
  508. ply:SetHealth(380)
  509. ply:SetArmor(0)
  510. end,
  511. customCheck = function(ply) return
  512. table.HasValue({"Owner", "Head of staff", "superadmin", "admin", "Vip", "Junior Admin", "Senior Admin"}, ply:GetNWString("usergroup"))
  513. end,
  514. CustomCheckFailMsg = "This is VIP only!",
  515. })
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527. --[[---------------------------------------------------------------------------
  528. Define which team joining players spawn into and what team you change to if demoted
  529. ---------------------------------------------------------------------------]]
  530. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  531. --[[---------------------------------------------------------------------------
  532. Define which teams belong to civil protection
  533. Civil protection can set warrants, make people wanted and do some other police related things
  534. ---------------------------------------------------------------------------]]
  535. GAMEMODE.CivilProtection = {
  536. [TEAM_POLICE] = true,
  537. [TEAM_CHIEF] = true,
  538. [TEAM_MAYOR] = true,
  539. }
  540. --[[---------------------------------------------------------------------------
  541. Jobs that are hitmen (enables the hitman menu)
  542. ---------------------------------------------------------------------------]]
  543. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement