jobs


SUBMITTED BY: F0013Y

DATE: Aug. 18, 2017, 10:51 p.m.

FORMAT: Lua

SIZE: 18.5 kB

HITS: 570

  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. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  7. Once you've done that, copy and paste the job to this file and edit it.
  8. The default jobs can be found here:
  9. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  10. For examples and explanation please visit this wiki page:
  11. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  12. Add jobs under the following line:
  13. ---------------------------------------------------------------------------]]
  14. TEAM_HG = DarkRP.createJob("Heavy Gun Dealer", {
  15. color = Color(80, 45, 0, 255),
  16. model = "models/player/odessa.mdl",
  17. description = [[Your job is to sell bigger guns to the people.]],
  18. weapons = {"m9k_m92beretta", "weaponchecker"},
  19. command = "heavygundealer",
  20. max = 5,
  21. salary = 80,
  22. admin = 0,
  23. vote = false,
  24. hasLicense = true,
  25. })
  26. TEAM_GUARD = DarkRP.createJob("Guard", {
  27. color = Color(0,200,50,255),
  28. model = "models/player/guard_pack/guard_02.mdl",
  29. description = [[People pay you an amount of money to guard them on the street, or at home.]],
  30. weapons = {"m9k_m92beretta"},
  31. command = "guard",
  32. max = 2,
  33. salary = 85,
  34. admin = 0,
  35. vote = false,
  36. hasLicense = true,
  37. })
  38. TEAM_LG = DarkRP.createJob("Light Gun Dealer", {
  39. color = Color(80, 45, 0, 255),
  40. model = "models/player/odessa.mdl",
  41. description = [[Your job is to sell bigger guns to the people.]],
  42. weapons = {"m9k_m92beretta", "weaponchecker"},
  43. command = "lightgundealer",
  44. max = 5,
  45. salary = 80,
  46. admin = 0,
  47. vote = false,
  48. hasLicense = true,
  49. })
  50. TEAM_CPCHIEF = DarkRP.createJob("Chief Of Police", {
  51. color = Color(20, 20, 255, 255),
  52. model = "models/player/combine_soldier_prisonguard.mdl",
  53. description = [[The Chief is the leader of the Civil Protection unit.
  54. Coordinate the police force to enforce law in the city.
  55. Hit a player with arrest baton to put them in jail.
  56. Bash a player with a stunstick and they may learn to obey the law.
  57. The Battering Ram can break down the door of a criminal, with a warrant for his/her arrest.
  58. Type /wanted <name> to alert the public to the presence of a criminal.
  59. Type /jailpos to set the Jail Position]],
  60. weapons = {"arrest_stick", "unarrest_stick", "m9k_1897winchester", "weapon_cuff_police", "stunstick", "door_ram", "weaponchecker"},
  61. command = "civilprotectionchief",
  62. max = 1,
  63. salary = 65,
  64. admin = 0,
  65. vote = true,
  66. hasLicense = true,
  67. chief = true,
  68. category = "Police",
  69. })
  70. TEAM_CPPOLICE = DarkRP.createJob("Police Officer", {
  71. color = Color(25, 25, 170, 255),
  72. model = {"models/player/police.mdl", "models/player/police_fem.mdl"},
  73. description = [[The protector of every citizen that lives in the city.
  74. You have the power to arrest criminals and protect innocents.
  75. Hit a player with your arrest baton to put them in jail.
  76. Bash a player with a stunstick and they may learn to obey the law.
  77. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  78. The Battering Ram can also unfreeze frozen props (if enabled).
  79. Type /wanted <name> to alert the public to the presence of a criminal.]],
  80. weapons = {"arrest_stick", "unarrest_stick", "m9k_ragingbull", "stunstick", "door_ram", "weaponchecker", "weapon_cuff_police"},
  81. command = "civilprotection",
  82. max = 5,
  83. salary = GAMEMODE.Config.normalsalary * 1.45,
  84. admin = 0,
  85. vote = true,
  86. hasLicense = true,
  87. category = "Police",
  88. })
  89. TEAM_COMB = DarkRP.createJob("Community Builder", {
  90. color = Color(47, 79, 79, 255),
  91. model = {"models/player/hostage/hostage_04.mdl"},
  92. description = [[I have the right to block off any tunnels and build a community.]],
  93. weapons = {"weapon_arc_atmcard", "laserpointer", "weaponchecker"},
  94. command = "communitybuilder",
  95. max = 2,
  96. salary = GAMEMODE.Config.normalsalary,
  97. admin = 0,
  98. vote = false,
  99. hasLicense = true,
  100. category = "Citizens"
  101. })
  102. TEAM_POLICEFBI = AddExtraTeam("FBI", {
  103. color = Color(50, 90, 255, 255),
  104. model = "models/player/riot.mdl",
  105. description = [[ [Gold Donator] As a F.B.I Special Agent its your job to find
  106. Terrorists and kill or arrest them.....
  107. SALARY:120]],
  108. weapons = {"hl2_combo_fists", "weapon_mad_m4", "weapon_mad_p228", "weapon_cuff_police", "weapon_stungun", "weapon_cuff_police", "arrest_stick", "unarrest_stick"},
  109. command = "fbi",
  110. max = 2,
  111. salary = 120,
  112. admin = 0,
  113. vote = false,
  114. hasLicense = false,
  115. category = "F.B.I"
  116. })
  117. TEAM_NINJgA = AddExtraTeam("Ninja", {
  118. color = Color(255, 93, 0, 255),
  119. model = "models/player/lordvipes/mk9_cyrax/cyrax.mdl",
  120. description = [[As a ninja you can jump from building
  121. to building with you grapling hook. But be careful
  122. because grapling hook is not leagel.
  123. SALARY:90]],
  124. weapons = {"hl2_combo_fists", "grapplehook", "weapon_mad_knife", "climb_swep2", "m9k_damascus", "weapon_kidnapper", "lockpick"},
  125. command = "ninjsa",
  126. max = 2,
  127. salary = 65,
  128. admin = 0,
  129. vote = false,
  130. hasLicense = false,
  131. category = "Citizens"
  132. })
  133. TEAM_DRUGCARTEL = AddExtraTeam("Mexican Cartel Mobster", {
  134. color = Color(100, 100, 100, 255),
  135. model = "models/player/Group03/male_03.mdl",
  136. description = [[You work for the Mexican Drug Cartel,
  137. You take orders from the Mexican Drug Cartel boss only.
  138. SALARY:45]],
  139. weapons = {"hl2_combo_fists"},
  140. command = "mexicandrugcartelmobster",
  141. max = 5,
  142. salary = 45,
  143. admin = 0,
  144. vote = false,
  145. hasLicense = false,
  146. category = "Cartel"
  147. })
  148. TEAM_DRUGCARTELBOSS = AddExtraTeam("Mexican Drug Cartel Boss", {
  149. color = Color(10, 10, 10, 255),
  150. model = "models/player/monk.mdl",
  151. description = [[As the mexican drug boss you have the athority to
  152. tell the mexican drug cartel what to do. But be careful because
  153. police informent will be looking out for you
  154. SALARY:50]],
  155. weapons = {"lockpick", "unarrest_stick", "hl2_combo_fists"},
  156. command = "mexicandrugcartelboss",
  157. max = 1,
  158. salary = 50,
  159. admin = 0,
  160. vote = false,
  161. hasLicense = false,
  162. category = "Cartel"
  163. })
  164. TEAM_PTHIEF = AddExtraTeam("Pro Thief", {
  165. color = Color(111, 199, 175, 255),
  166. model = "models/player/arctic.mdl",
  167. description = [[Your are a pro thief, Brake into peoples homes
  168. and places of business to piss them off!
  169. Take what you can and run!
  170. You may not shoot people in there own only in robbery.
  171. homes or places of business. only in robbery.
  172. to shoot you!.
  173. SALARY:60]],
  174. weapons = {"keypad_cracker", "prolockpick", "hl2_combo_fists", "m9k_deagle"},
  175. command = "prothief",
  176. max = 3,
  177. salary = 60,
  178. admin = 0,
  179. vote = false,
  180. hasLicense = false,
  181. category = "Criminals"
  182. })
  183. TEAM_LAWYER = AddExtraTeam("Lawyer", {
  184. color = Color(100, 150, 200, 255),
  185. model = "models/player/hostage/hostage_04.mdl",
  186. description = [[As a lawyer you are responsible for fighting
  187. on your clints behalf this includes bailing him out of jail and or
  188. pvp confrontation.
  189. SALARY:60]],
  190. weapons = {"unarrest_stick", "hl2_combo_fists"},
  191. command = "lawyer",
  192. max = 3,
  193. salary = 60,
  194. admin = 0,
  195. vote = true,
  196. hasLicense = false,
  197. category = "Citizens"
  198. })
  199. TEAM_MD = DarkRP.createJob("Mayors Daughter", {
  200. color = Color(255,100,100,255),
  201. model = "models/player/alyx.mdl",
  202. description = [[You are the mayors daughter, walk around with your dad
  203. just chill around. But be careful, you never know when somebody
  204. is waiting to kidnap you!]],
  205. weapons = {"weapon_stungun"},
  206. command = "mayorsdaughter",
  207. max = 1,
  208. salary = 80,
  209. admin = 0,
  210. vote = false,
  211. hasLicense = false,
  212. category = "Police"
  213. })
  214. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  215. color = Color(0, 0, 0, 255),
  216. model = "models/player/edward_kenway.mdl",
  217. description = [[People hire you to take out other people,
  218. this job require you to be completely focussed.
  219. A single breath can make you loose a shot.]],
  220. weapons = {"m9k_m24"},
  221. command = "hitman",
  222. max = 2,
  223. salary = 65,
  224. admin = 0,
  225. vote = false,
  226. hasLicense = false,
  227. category = "Criminals",
  228. })
  229. TEAM_THIEF = DarkRP.createJob("Thief", {
  230. color = Color(0, 0, 0, 255),
  231. model = "models/redninja/guard_02.mdl",
  232. description = [[You are a thief, rob people, lockpick their house and steal their plants]],
  233. weapons = {"lockpick"}, -- You may wanna find a pickpocket swep and add it here.
  234. command = "thief",
  235. max = 2,
  236. salary = 65,
  237. admin = 0,
  238. vote = false,
  239. hasLicense = false,
  240. category = "Criminals",
  241. })
  242. TEAM_DRUG = DarkRP.createJob("Drug Dealer", {
  243. color = Color(51, 204, 255, 255),
  244. model = "models/player/Kleiner.mdl",
  245. description = [[You deal drugs to those in need.
  246. Be careful, may get arrested if caught in the act!]],
  247. weapons = {},
  248. command = "drugdealer",
  249. max = 2,
  250. salary = 65,
  251. admin = 0,
  252. vote = false,
  253. hasLicense = false,
  254. category = "Criminal",
  255. })
  256. TEAM_MAYOR4 = DarkRP.createJob("Secert Service", {
  257. color = Color(911, 78, 99, 3255),
  258. model = "models/player/adam_jensen.mdl",
  259. description = [[The Prime Minister is in the city keep him safe .
  260. If you are the Prime Minister BodyGuards you may create and accept warrants also unlike the mayor you run the country.
  261. Type /wanted <name> to warrant a player.
  262. Type /jailpos to set the Jail Position.
  263. Type /lockdown initiate a lockdown of the city.
  264. Everyone must be inside during a lockdown.
  265. The cops patrol the area.
  266. /unlockdown to end a lockdown]],
  267. weapons = {"arrest_stick", "unarrest_stick", "m9k_glock", "stunstick", "door_ram", "weaponchecker", "m9k_mp5", "weapon_arc_atmcard", "weapon_cuff_police", "weapon_stungun"},
  268. command = "mayorbodyguard",
  269. max = 3,
  270. salary = 45,
  271. admin = 0,
  272. vote = true,
  273. hasLicense = false,
  274. category = "Police"
  275. })
  276. TEAM_HOTELM = AddExtraTeam("Hotel Manager", {
  277. color = Color(102, 0, 102, 255),
  278. model = "models/player/magnusson.mdl",
  279. description = [[You are the manager of the gmod hotel take good care of it,
  280. Also you can sell out the rooms to people to make some cash!.]],
  281. weapons = {"hl2_combo_fists", "weapon_arc_atmcard"},
  282. command = "hotelmanager",
  283. max = 1,
  284. salary = 45,
  285. admin = 0,
  286. vote = false,
  287. hasLicense = false,
  288. category = "Citizens"
  289. })
  290. TEAM_POLICEUP = DarkRP.createJob("Undercover Cop", {
  291. color = Color(25, 25, 170, 255),
  292. model = {"models/fbi_pack/fbi_03.mdl"},
  293. description = [[
  294. The protector of every citizen that lives in the city.
  295. You have the power to arrest criminals and protect innocents.
  296. Hit a player with your arrest baton to put them in jail.
  297. Bash a player with a stunstick and they may learn to obey the law.
  298. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  299. The Battering Ram can also unfreeze frozen props (if enabled).
  300. Type /wanted <name> to alert the public to the presence of a criminal.]],
  301. weapons = {"arrest_stick",
  302. "unarrest_stick",
  303. "m9k_glock",
  304. "stunstick",
  305. "door_ram",
  306. "weaponchecker",
  307. "hl2_combo_fists", "weapon_arc_atmcard", "weapon_cuff_police", "weapon_stungun"},
  308. command = "undercoverpolice",
  309. max = 6,
  310. salary = 45,
  311. admin = 0,
  312. vote = true,
  313. hasLicense = true,
  314. category = "Police"
  315. })
  316. TEAM_ADMIN = AddExtraTeam("Admin On Duty ", {
  317. color = Color(50,0,150,255, 255),
  318. VIPOnly = true,
  319. model = {
  320. "models/player/combine_super_soldier.mdl"},
  321. description = [[the Super Admin may help admin the server if he is needed]],
  322. weapons = {
  323. "hl2_combo_fists", "weapon_cuff_police", "unarrest_stick", "arrest_stick", "vc_repair", "weapon_medkit", "weaponchecker", "weapon_keypadchecker"
  324. },
  325. command = "admin",
  326. max = 5,
  327. salary = 50,
  328. admin = 0,
  329. vote = false,
  330. hasLicense = false,
  331. category = "Staff"
  332. })
  333. TEAM_GUARDSA = DarkRP.createJob("Security Guard", {
  334. color = Color(591, 242, 80, 093),
  335. model = {"models/player/odessa.mdl"},
  336. description = [[Help out the gun shop or some club or somthink .
  337. You have the power to unarrest criminals and protect innocents.
  338. Hit a player with your unarrest baton to let the players out of jail.
  339. Bash a player with a stunstick and they may learn to obey the law.
  340. .
  341. ).
  342. Type /wanted <name> to alert the public to the presence of a criminal.]],
  343. weapons = {
  344. "stunstick",
  345. "weaponchecker",
  346. "hl2_combo_fists", "weapon_arc_atmcard", "weapon_cuff_police", "weapon_stungun"},
  347. command = "securityguard",
  348. max = 4,
  349. salary = 66,
  350. admin = 0,
  351. vote = true,
  352. hasLicense = true,
  353. category = "Citizens"
  354. })
  355. TEAM_ADAASDA = DarkRP.createJob("Italian Mafia", {
  356. color = Color(255, 153, 0, 255),
  357. model = "models/player/gman_high.mdl",
  358. description = [[The Mafia Don is the boss of the criminals in the city.
  359. With his power he coordinates the gangsters and forms an efficient crime organization.
  360. He has the ability to break into houses by using a lockpick.
  361. The Mafia Don posesses the ability to unarrest you.]],
  362. weapons = {
  363. "lockpick",
  364. "unarrest_stick",
  365. "keypad_cracker",
  366. "hl2_combo_fists", "weapon_arc_atmcard"
  367. },
  368. command = "italianmafia",
  369. max = 8,
  370. salary = 25,
  371. admin = 0,
  372. vote = false,
  373. hasLicense = false,
  374. category = "Mafia"
  375. })
  376. TEAM_GANG2 = DarkRP.createJob("Mafia Memeber", {
  377. color = Color(127, 433, 0, 222),
  378. model = "models/grandtheftauto5/michael.mdl",
  379. description = [[
  380. The lowest person of crime.
  381. A Mafia Member works for the Mafia Don who runs the crime family.
  382. The Mafia Don sets your agenda and you follow it or you might be punished.]],
  383. weapons = {
  384. "hl2_combo_fists",
  385. "keypad_cracker",
  386. "lockpick", "weapon_arc_atmcard"
  387. },
  388. command = "russianmafia",
  389. max = 6,
  390. salary = 25,
  391. admin = 0,
  392. vote = false,
  393. hasLicense = false,
  394. category = "Mafia"
  395. })
  396. TEAM_MOB2 = DarkRP.createJob("Mafia Leader", {
  397. color = Color(127, 433, 0, 222),
  398. model = "models/player/guerilla.mdl",
  399. description = [[The Mafia Don is the boss of the criminals in the city.
  400. With his power he coordinates the gangsters and forms an efficient crime organization.
  401. He has the ability to break into houses by using a lockpick.
  402. The Mafia Don posesses the ability to unarrest you.]],
  403. weapons = {
  404. "lockpick",
  405. "unarrest_stick",
  406. "keypad_cracker",
  407. "hl2_combo_fists",
  408. },
  409. command = "russianmafialeader",
  410. max = 1,
  411. salary = GAMEMODE.Config.normalsalary * 1.34,
  412. admin = 0,
  413. vote = false,
  414. hasLicense = false,
  415. category = "Mafia"
  416. })
  417. TEAM_Doctor = DarkRP.createJob("Doctor", {
  418. color = Color(47, 79, 79, 255),
  419. model = "models/player/Kleiner.mdl",
  420. description = [[With your medical knowledge you work to restore players to full health.
  421. Without a medic, people cannot be healed.
  422. Left click with the Medical Kit to heal other players.
  423. Right click with the Medical Kit to heal yourself.]],
  424. weapons = {
  425. "med_kit",
  426. "hl2_combo_fists"},
  427. command = "doctor",
  428. max = 1,
  429. salary = 50,
  430. admin = 0,
  431. vote = false,
  432. hasLicense = false,
  433. category = "Citizens"
  434. })
  435. TEAM_POLICESN = DarkRP.createJob("Swat Sniper", {
  436. color = Color(25, 25, 170, 255),
  437. model = {"models/player/swat.mdl"},
  438. description = [[The protector of every citizen that lives in the city.
  439. You have the power to arrest criminals and protect innocents.
  440. Hit a player with your arrest baton to put them in jail.
  441. Bash a player with a stunstick and they may learn to obey the law.
  442. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  443. The Battering Ram can also unfreeze frozen props (if enabled).
  444. Type /wanted <name> to alert the public to the presence of a criminal.]],
  445. weapons = {arrest_stick, unarrest_stick, m9k_m98b, stunstick, door_ram, weaponchecker, weapon_arc_atmcard, m9k_svt40, weapon_cuff_police, weapon_stungun},
  446. command = "swatsniper",
  447. max = 2,
  448. salary = 85,
  449. admin = 0,
  450. vote = true,
  451. hasLicense = true,
  452. category = "S.W.A.T"
  453. })
  454. --[[---------------------------------------------------------------------------
  455. Define which team joining players spawn into and what team you change to if demoted
  456. ---------------------------------------------------------------------------]]
  457. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  458. --[[---------------------------------------------------------------------------
  459. Define which teams belong to civil protection
  460. Civil protection can set warrants, make people wanted and do some other police related things
  461. ---------------------------------------------------------------------------]]
  462. GAMEMODE.CivilProtection = {
  463. [TEAM_POLICE] = true,
  464. [TEAM_CHIEF] = true,
  465. [TEAM_MAYOR] = true,
  466. }
  467. --[[---------------------------------------------------------------------------
  468. Jobs that are hitmen (enables the hitman menu)
  469. ---------------------------------------------------------------------------]]
  470. DarkRP.addHitmanTeam(TEAM_MOB)

comments powered by Disqus