Advertisement
Guest User

Gmod Jobs

a guest
Mar 10th, 2016
937
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.43 KB | None | 0 0
  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.  
  21. TEAM_LAWYER = AddExtraTeam("Lawyer", {
  22. color = Color(100, 150, 200, 255),
  23. model = "models/player/hostage/hostage_04.mdl",
  24. description = [[As a lawyer you are responsible for fighting
  25. on your clints behalf this includes bailing him out of jail and or
  26. pvp confrontation.
  27.  
  28. SALARY:60]],
  29. weapons = {"unarrest_stick", "m9k_colt1911"},
  30. command = "lawyer",
  31. max = 3,
  32. salary = 60,
  33. admin = 0,
  34. vote = true,
  35. hasLicense = false
  36. })
  37.  
  38. TEAM_POLICE = AddExtraTeam("Police Officer", {
  39. color = Color(25, 25, 170, 255),
  40. model = "models/player/police.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 them with your arrest baton to put them in jail
  44. Bash them with a stunstick and they might learn better than to disobey
  45. the law.
  46. The Battering Ram can break down the door of a criminal with a warrant
  47. for his/her arrest.
  48. The Battering Ram can also unfreeze frozen props(if enabled).
  49. Type /wanted <name> to alert the public to this criminal
  50. OR go to tab and warrant someone by clicking the warrant button
  51.  
  52. SALARY:50]],
  53. weapons = {"arrest_stick", "unarrest_stick", "m9k_browningauto5", "stunstick", "door_ram", "weaponchecker"},
  54. command = "cp",
  55. max = 4,
  56. salary = 50,
  57. admin = 0,
  58. vote = true,
  59. hasLicense = true
  60. })
  61.  
  62. TEAM_CHIEF = AddExtraTeam("Police Sergeant", {
  63. color = Color(20, 20, 255, 255),
  64. model = "models/player/combine_soldier_prisonguard.mdl",
  65. description = [[The Chief is the leader of the Police Officer's unit.
  66. Coordinate the police forces to bring law to the city
  67. Hit them with arrest baton to put them in jail
  68. Bash them with a stunstick and they might learn better than to
  69. disobey the law.
  70. The Battering Ram can break down the door of a criminal with a
  71. warrant for his/her arrest.
  72. Type /wanted <name> to alert the public to this criminal
  73. Type /jailpos to set the Jail Position
  74.  
  75. SALARY:60]],
  76. weapons = {"arrest_stick", "unarrest_stick", "m9k_honeybadger", "stunstick", "door_ram", "weaponchecker"},
  77. command = "chief",
  78. max = 1,
  79. salary = 60,
  80. admin = 0,
  81. vote = false,
  82. hasLicense = true,
  83. NeedToChangeFrom = TEAM_POLICE
  84. })
  85.  
  86. TEAM_MAYOR = AddExtraTeam("Mayor", {
  87. color = Color(150, 20, 20, 255),
  88. model = "models/player/breen.mdl",
  89. description = [[The Mayor of the city creates laws to serve the greater
  90. good of the people.
  91. If you are the mayor you may create and accept warrants.
  92. Type /wanted <name> to warrant a player
  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.  
  98. SALARY:100]],
  99. weapons = {},
  100. command = "mayor",
  101. max = 1,
  102. salary = 100,
  103. admin = 0,
  104. vote = true,
  105. hasLicense = false
  106. })
  107.  
  108. TEAM_SS = AddExtraTeam("Secret Service", {
  109. color = Color(255, 10, 10, 255),
  110. model = "models/player/combine_soldier.mdl",
  111. description = [[As a secret service agent, it is your job to make sure the
  112. mayor is safe under any Circumstances. But you are still under
  113. the authority of the police chief.
  114.  
  115. SALARY:50]],
  116. weapons = {"m9k_ump45", "m9k_nerve_gas", "m9k_suicide_bomb"},
  117. command = "secretservice",
  118. max = 2,
  119. salary = 50,
  120. admin = 0,
  121. vote = true,
  122. hasLicense = true
  123. })
  124.  
  125. TEAM_HEGUNDEALER = AddExtraTeam("Heavy Gun Dealer", {
  126. color = Color(255, 140, 0, 255),
  127. model = "models/player/hostage/hostage_02.mdl",
  128. description = [[As a gun dealer it is your job to sell light weaponry
  129. to all jobs. The guns prices are at your disposal.
  130.  
  131. SALARY:45]],
  132. weapons = {},
  133. command = "gundealer",
  134. max = 3,
  135. salary = 45,
  136. admin = 0,
  137. vote = false,
  138. hasLicense = true
  139. })
  140.  
  141. TEAM_SPGUNDEALER = AddExtraTeam("Special Gun Dealer", {
  142. color = Color(255, 140, 0, 255),
  143. model = "models/player/hostage/hostage_02.mdl",
  144. description = [[As a gun dealer it is your job to sell light weaponry
  145. to all jobs. The guns prices are at your disposal.
  146.  
  147. SALARY:45]],
  148. weapons = {},
  149. command = "gundealer",
  150. max = 3,
  151. salary = 45,
  152. admin = 0,
  153. vote = false,
  154. hasLicense = true
  155. })
  156.  
  157. TEAM_BOUNTY = AddExtraTeam("Bounty Hunter", {
  158. color = Color(125, 125, 256, 252),
  159. model = "models/player/Group01/Female_02.mdl",
  160. description = [[As a bounty hunter its your job to find wanted players and
  161. take them down to the station.
  162.  
  163. SALARYL:50]],
  164. weapons = {},
  165. command = "bounty",
  166. max = 1,
  167. salary = 50,
  168. admin = 0,
  169. vote = false,
  170. hasLicense = true
  171. })
  172.  
  173. TEAM_HIT = AddExtraTeam("Hit Man", {
  174. color = Color(125, 125, 225, 212),
  175. model = "models/player/group02/male_08.mdl",
  176. description = [[As a hit man its your job to kill the players
  177. that have a "hit" on them.
  178.  
  179. SALARYL:35]],
  180. weapons = {"weapon_mad_auto_glock"},
  181. command = "hitman",
  182. max = 1,
  183. salary = 35,
  184. admin = 0,
  185. vote = false,
  186. hasLicense = false
  187. })
  188.  
  189. TEAM_FIGHT = AddExtraTeam("Fight Club Manager", {
  190. color = Color(125, 125, 200, 255),
  191. model = "models/player/Group01/male_02.mdl",
  192. description = [[As a fight club manager you can set up your fight club
  193. on any state you buy. Both players must agree to the fight clubs terms
  194. before any pvp fights occur.
  195.  
  196. SALARYL:45]],
  197. weapons = {},
  198. command = "fight",
  199. max = 1,
  200. salary = 45,
  201. admin = 0,
  202. vote = false,
  203. hasLicense = false
  204. })
  205.  
  206. TEAM_HOBO = AddExtraTeam("Hobo", {
  207. color = Color(80, 45, 0, 255),
  208. model = "models/player/zombie_fast.mdl",
  209. description = [[The lowest member of society. All people see you laugh.
  210. You have no home.
  211. Beg for your food and money
  212. Sing for everyone who passes to get money
  213. Make your own wooden home somewhere in a corner or
  214. outside someone else's door
  215.  
  216. SALARY:0]],
  217. weapons = {"hl2_combo_fists", "weapon_bugbait"},
  218. command = "hobo",
  219. max = 4,
  220. salary = 0,
  221. admin = 0,
  222. vote = false,
  223. hasLicense = false
  224. })
  225.  
  226. TEAM_BODYGUARD = AddExtraTeam("Body Guard", {
  227. color = Color(0,68,89,255),
  228. model = "models/player/odessa.mdl",
  229. description = [[As a bodyguard it is your job to protect your employer
  230. and his estate.
  231.  
  232. SALARY:60]],
  233. weapons = {},
  234. command = "bodyguard",
  235. max = 2,
  236. salary = 60,
  237. admin = 0,
  238. vote = false,
  239. hasLicense = false
  240. })
  241.  
  242. TEAM_MEDIC = AddExtraTeam("Doctor", {
  243. color = Color(47, 79, 79, 255),
  244. model = "models/player/kleiner.mdl",
  245. description = [[As a medic it is your job to see to people
  246. in need of health. It is up to you weather or not you charge
  247. for you service.
  248.  
  249. SALARY:45]],
  250. weapons = {"weapon_mad_medic"},
  251. command = "doctor",
  252. max = 3,
  253. salary = 45,
  254. admin = 0,
  255. vote = false,
  256. hasLicense = false
  257. })
  258.  
  259. TEAM_THIEF = AddExtraTeam("Thief", {
  260. color = Color(10, 255, 200, 255),
  261. model = "models/player/arctic.mdl",
  262. description = [[Your are a thief, Brake into peoples homes
  263. and places of business to piss them off!
  264. Take what you can and run!
  265. You may not shoot if they ain't a threat.
  266.  
  267. SALARY:45]],
  268. weapons = {"keypad_cracker", "lockpick"},
  269. command = "thief",
  270. max = 3,
  271. salary = 45,
  272. admin = 0,
  273. vote = false,
  274. hasLicense = false
  275. })
  276.  
  277. TEAM_PROTHIEF = AddExtraTeam("Pro Thief", {
  278. color = Color(111, 199, 175, 255),
  279. model = "models/player/arctic.mdl",
  280. description = [[Your are a pro thief, Brake into peoples homes
  281. and places of business to piss them off!
  282. Take what you can and run!
  283. You may not shoot people in there own only in robbery.
  284. homes or places of business. only in robbery.
  285. to shoot you!.
  286.  
  287. SALARY:60]],
  288. weapons = {"fastkeypad_cracker", "fastlockpick"},
  289. command = "prothief",
  290. max = 3,
  291. salary = 60,
  292. admin = 0,
  293. vote = false,
  294. hasLicense = false
  295. })
  296.  
  297. TEAM_HOTEL = AddExtraTeam("Hotel manager", {
  298. color = Color(10, 255, 200, 255),
  299. model = "models/player/Group01/male_08.mdl",
  300. description = [[
  301.  
  302.  
  303. SALARY:55]],
  304. weapons = {},
  305. command = "hotel",
  306. max = 1,
  307. salary = 55,
  308. admin = 0,
  309. vote = false,
  310. hasLicense = false
  311. })
  312.  
  313.  
  314. TEAM_DRUGCARTELBOSS = AddExtraTeam("Mexican Drug Cartel Boss", {
  315. color = Color(10, 10, 10, 255),
  316. model = "models/player/monk.mdl",
  317. description = [[As the mexican drug boss you have the athority to
  318. tell the mexican drug cartel what to do. But be careful because
  319. police informent will be looking out for you
  320.  
  321. SALARY:50]],
  322. weapons = {"lockpick", "unarrest_stick"},
  323. command = "drugcartelboss",
  324. max = 1,
  325. salary = 50,
  326. admin = 0,
  327. vote = false,
  328. hasLicense = false
  329. })
  330.  
  331. TEAM_DRUGCARTEL = AddExtraTeam("Mexican Drug Cartel Mobster", {
  332. color = Color(100, 100, 100, 255),
  333. model = "models/player/Group03/male_03.mdl",
  334. description = [[You work for the Mexican Drug Cartel,
  335. You take orders from the Mexican Drug Cartel boss only.
  336.  
  337. SALARY:45]],
  338. weapons = {},
  339. command = "drugcartel",
  340. max = 5,
  341. salary = 45,
  342. admin = 0,
  343. vote = false,
  344. hasLicense = false
  345. })
  346.  
  347. TEAM_ITALIANMOBBOSS = AddExtraTeam("Italian Mob Boss", {
  348. color = Color(100, 128, 128, 128),
  349. model = "models/player/gman_high.mdl",
  350. description = [[As the italian mob boss you have the athority to
  351. tell the italian mobsters what to do. But be careful because
  352. police informent will be looking out for you
  353.  
  354. SALARY:50]],
  355. weapons = {},
  356. command = "italianmobboss",
  357. max = 1,
  358. salary = 50,
  359. admin = 0,
  360. vote = false,
  361. hasLicense = false
  362. })
  363.  
  364. TEAM_ITALIANMOBSTER = AddExtraTeam("Italian Mobster", {
  365. color = Color(100, 100, 100, 255),
  366. model = "models/player/guerilla.mdl",
  367. description = [[You work for the Italian Mob boss,
  368. You take orders from the Italian mob boss only.
  369.  
  370. SALARY:45]],
  371. weapons = {},
  372. command = "italianmobster",
  373. max = 6,
  374. salary = 45,
  375. admin = 0,
  376. vote = false,
  377. hasLicense = false
  378. })
  379.  
  380. TEAM_SWAT = AddExtraTeam("S.W.A.T", {
  381. color = Color(50, 90, 255, 255),
  382. model = "models/player/urban.mdl",
  383. description = [[ [Donator Job] As a S.W.A.T officer it is your
  384. job to infiltrate
  385. drug labs and and asisest police officers on high level raids.
  386. You are still under the athorty of the police cheif.
  387.  
  388. SALARY:100]],
  389. weapons = {"weapon_mad_mp5", "arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "weapon_mad_p228"},
  390. command = "swat",
  391. max = 3,
  392. salary = 100,
  393. admin = 0,
  394. vote = false,
  395. hasLicense = true
  396. })
  397.  
  398. TEAM_SWATCO = AddExtraTeam("S.W.A.T Commander", {
  399. color = Color(10, 10, 100, 255),
  400. model = "models/player/urban.mdl",
  401. description = [[ [Donator Job] As a S.W.A.T Commander it is your
  402. job to infiltrate
  403. drug labs and and asisest police officers on high level raids.
  404. You are still under the athorty of the police cheif.
  405.  
  406. SALARY:130]],
  407. weapons = {"arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "weapon_mad_m4", "weapon_mad_deagle"},
  408. command = "swatco",
  409. max = 1,
  410. salary = 130,
  411. admin = 0,
  412. vote = false,
  413. hasLicense = true,
  414. NeedToChangeFrom = TEAM_SWAT
  415. })
  416.  
  417.  
  418. TEAM_RAPIST = AddExtraTeam("Rapist", {
  419. color = Color(255, 93, 0, 255),
  420. model = "models/player/charple.mdl",
  421. description = [[As a ninja you can jump from building
  422. to building with you grapling hook. But be careful
  423. because grapling hook is not leagel.
  424.  
  425. SALARY:90]],
  426. weapons = {"weapon_adult"},
  427. command = "rape",
  428. max = 2,
  429. salary = 65,
  430. admin = 0,
  431. vote = false,
  432. hasLicense = false
  433. })
  434.  
  435. TEAM_FBI = AddExtraTeam("F.B.I", {
  436. color = Color(50, 90, 255, 255),
  437. model = "models/player/riot.mdl",
  438. description = [[ [Gold Donator] As a F.B.I Special Agent its your job to find
  439. Terrorists and kill or arrest them.....
  440.  
  441. SALARY:120]],
  442. weapons = {"weapon_mad_m4", "weapon_mad_p228"},
  443. command = "fbi",
  444. max = 2,
  445. salary = 120,
  446. admin = 0,
  447. vote = false,
  448. hasLicense = false
  449. })
  450.  
  451. TEAM_BANK = AddExtraTeam("Downtown Bank Owner", {
  452. color = Color(65, 90, 255, 255),
  453. model = "models/player/Hostage/hostage_04.mdl",
  454. description = [[ [Gold Donator] As a Bank Owner you can store
  455. printers, guns etc.....
  456.  
  457. SALARY:120]],
  458. weapons = {},
  459. command = "bank",
  460. max = 2,
  461. salary = 120,
  462. admin = 0,
  463. vote = false,
  464. hasLicense = false
  465. })
  466.  
  467. TEAM_NG = AddExtraTeam("National Guard", {
  468. color = Color(10, 10, 100, 255),
  469. model = "models/player/gasmask.mdl",
  470. description = [[ [Gold Donator Job] As a member of the National Guard
  471. your job is to protect the citizen from terrorist...
  472. If its allot of Terrorists in the city the Lieutenant Colonel of the
  473. National Guard is in charge over all Law Enforcement in the city.
  474.  
  475. SALARY:150]],
  476. weapons = {"weaponchecker", "weapon_mad_m4", "weapon_mad_p228"},
  477. command = "ng",
  478. max = 5,
  479. salary = 150,
  480. admin = 0,
  481. vote = false,
  482. hasLicense = true
  483. })
  484.  
  485. TEAM_NGLT = AddExtraTeam("National Guard Lieutenant Colonel", {
  486. color = Color(10, 10, 150, 255),
  487. model = "models/player/gasmask.mdl",
  488. description = [[ [Supporter Job] As the Lieutenant Colonel in the
  489. National Guard its your job to be in charge of all Law Enforcement
  490. when its allot of terrorists or attacks in the city.
  491.  
  492. SALARY:230]],
  493. weapons = {"weaponchecker", "weapon_mad_m4", "weapon_mad_p228"},
  494. command = "nglt",
  495. max = 5,
  496. salary = 230,
  497. admin = 0,
  498. vote = false,
  499. hasLicense = true,
  500. customCheck = function(ply)
  501. return ply:IsUserGroup("d_headadmin") or ply:IsUserGroup("developer")
  502. end
  503. })
  504.  
  505. TEAM_ADMIN = AddExtraTeam("Admin On Patrol", {
  506. color = Color(100, 100, 100, 255),
  507. model = {
  508. "models/player/combine_super_soldier.mdl",
  509. },
  510. description = [[Info]],
  511. weapons = {"hl2_combo_fists"},
  512. command = "admin",
  513. max = 3,
  514. salary = 1000,
  515. admin = 0,
  516. vote = false,
  517. hasLicense = false,
  518. customCheck = function(ply)
  519. return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("sadmingolddonator") or ply:IsUserGroup("developer") or ply:IsUserGroup("trialadmin") or ply:IsUserGroup("junioradmin") or ply:IsUserGroup("trialadmingolddonator")
  520. end
  521. })
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535. --[[---------------------------------------------------------------------------
  536. Define which team joining players spawn into and what team you change to if demoted
  537. ---------------------------------------------------------------------------]]
  538. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  539.  
  540.  
  541. --[[---------------------------------------------------------------------------
  542. Define which teams belong to civil protection
  543. Civil protection can set warrants, make people wanted and do some other police related things
  544. ---------------------------------------------------------------------------]]
  545. GAMEMODE.CivilProtection = {
  546. [TEAM_POLICE] = true,
  547. [TEAM_CHIEF] = true,
  548. [TEAM_MAYOR] = true,
  549. }
  550.  
  551. --[[---------------------------------------------------------------------------
  552. Jobs that are hitmen (enables the hitman menu)
  553. ---------------------------------------------------------------------------]]
  554. DarkRP.addHitmanTeam(TEAM_BOUNTY, TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement