Advertisement
ldshaul01

Untitled

Aug 4th, 2014
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.79 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. TEAM_CITIZEN = DarkRP.createJob("Citizen", {
  21. color = Color(20, 150, 20, 255),
  22. model = {
  23. "models/player/Group01/Female_01.mdl",
  24. "models/player/Group01/Female_02.mdl",
  25. "models/player/Group01/Female_03.mdl",
  26. "models/player/Group01/Female_04.mdl",
  27. "models/player/Group01/Female_06.mdl",
  28. "models/player/group01/male_01.mdl",
  29. "models/player/Group01/Male_02.mdl",
  30. "models/player/Group01/male_03.mdl",
  31. "models/player/Group01/Male_04.mdl",
  32. "models/player/Group01/Male_05.mdl",
  33. "models/player/Group01/Male_06.mdl",
  34. "models/player/Group01/Male_07.mdl",
  35. "models/player/Group01/Male_08.mdl",
  36. "models/player/Group01/Male_09.mdl"
  37. },
  38. 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.]],
  39. weapons = {},
  40. command = "citizen",
  41. max = 0,
  42. salary = GAMEMODE.Config.normalsalary,
  43. admin = 0,
  44. vote = false,
  45. hasLicense = false,
  46. candemote = false
  47. })
  48.  
  49. TEAM_COOK = AddExtraTeam("Cook", {
  50. color = Color(238, 99, 99, 255),
  51. model = {
  52. "models/player/mossman.mdl"
  53. },
  54. description = [[As a cook, it is your responsibility to feed the other members
  55. of your city.
  56. You can spawn a microwave and sell the food you make:
  57. /Buymicrowave]],
  58. weapons = {},
  59. command = "cook",
  60. max = 2,
  61. salary = 45,
  62. admin = 0,
  63. vote = false,
  64. hasLicense = false
  65. })
  66.  
  67. TEAM_RAP = AddExtraTeam("Rapist", {
  68. color = Color(200, 20, 20, 255),
  69. model = {
  70. "models/Humans/Group01/Male_Cheaple.mdl"
  71. },
  72. description = [[You can go around and and rape people!
  73. Be sure not to get caught!
  74. Don't do it in public.]],
  75. weapons = {"bb_css_knife_alt", "weapon_rape"},
  76. command = "rape",
  77. max = 2,
  78. salary = 5,
  79. admin = 0,
  80. vote = false,
  81. hasLicense = false
  82. })
  83.  
  84. TEAM_GANG = DarkRP.createJob("Gangster", {
  85. color = Color(75, 75, 75, 255),
  86. model = {
  87. "models/player/Group03/Female_01.mdl",
  88. "models/player/Group03/Female_02.mdl",
  89. "models/player/Group03/Female_03.mdl",
  90. "models/player/Group03/Female_04.mdl",
  91. "models/player/Group03/Female_06.mdl",
  92. "models/player/group03/male_01.mdl",
  93. "models/player/Group03/Male_02.mdl",
  94. "models/player/Group03/male_03.mdl",
  95. "models/player/Group03/Male_04.mdl",
  96. "models/player/Group03/Male_05.mdl",
  97. "models/player/Group03/Male_06.mdl",
  98. "models/player/Group03/Male_07.mdl",
  99. "models/player/Group03/Male_08.mdl",
  100. "models/player/Group03/Male_09.mdl"
  101. },
  102. description = [[The lowest person of crime.
  103. A gangster generally works for the Mobboss who runs the crime family.
  104. The Mob boss sets your agenda and you follow it or you might be punished.]],
  105. weapons = {},
  106. command = "gangster",
  107. max = 3,
  108. salary = GAMEMODE.Config.normalsalary,
  109. admin = 0,
  110. vote = false,
  111. hasLicense = false
  112. })
  113.  
  114. TEAM_MOB = DarkRP.createJob("Mob boss", {
  115. color = Color(25, 25, 25, 255),
  116. model = {
  117. "models/player/gman_high.mdl"
  118. },
  119. description = [[The Mob boss is the boss of the criminals in the city.
  120. With his power he coordinates the gangsters and forms an efficient crime organization.
  121. He has the ability to break into houses by using a lockpick.
  122. The Mob boss posesses the ability to unarrest you.]],
  123. weapons = {"lockpick", "unarrest_stick"},
  124. command = "mobboss",
  125. max = 1,
  126. salary = GAMEMODE.Config.normalsalary * 1.34,
  127. admin = 0,
  128. vote = false,
  129. hasLicense = false
  130. })
  131.  
  132. TEAM_DEAL = DarkRP.createJob("Drug Dealer", {
  133. color = Color(90, 90, 90, 255),
  134. model = {
  135. "models/player/kuma/taliban_bomber.mdl"
  136. },
  137. description = [[Deal drugs to everyone....
  138. Don't get caught or you will be arrested]],
  139. weapons = {},
  140. command = "ddealer",
  141. max = 3,
  142. salary = GAMEMODE.Config.normalsalary,
  143. admin = 0,
  144. vote = false,
  145. hasLicense = false
  146. })
  147.  
  148. TEAM_THIEF = AddExtraTeam("Thief", {
  149. color = Color(67, 34, 128, 255),
  150. model = {
  151. "models/player/arctic.mdl"
  152. },
  153. description = [[As a Thief you can rob or try over rule you leader "Super Thief"
  154. Warning!: he can kill you back!]],
  155. weapons = {"keypad_cracker", "lockpick"},
  156. command = "thief",
  157. max = 3,
  158. salary = 50,
  159. admin = 0,
  160. vote = false,
  161. hasLicense = false
  162. })
  163.  
  164. TEAM_SUPER = AddExtraTeam("Super Thief", {
  165. color = Color(27, 100, 40, 255),
  166. model = {
  167. "models/player/barney.mdl"
  168. },
  169. description = [[You are the Super Thief you are the laeder
  170. of the thiefs you will send them into "battle"
  171.  
  172. Warning: they can over run you!]],
  173. weapons = {"bb_glock_alt", "lockpick", "climb_swep2", "keypad_cracker"},
  174. command = "sthief",
  175. max = 1,
  176. salary = 150,
  177. admin = 0,
  178. vote = false,
  179. hasLicense = false
  180. })
  181.  
  182. TEAM_HITMAN = AddExtraTeam("Hitman", {
  183. color = Color(100, 100, 100, 255),
  184. model = {
  185. "models/player/agent_47.mdl"
  186. },
  187. description = [[As a Hitman, you kill from a distance. Don't get caught as murder is illegal in this city.]],
  188. weapons = {"m9k_coltpython"},
  189. command = "hitman",
  190. max = 1,
  191. salary = 50,
  192. admin = 0,
  193. vote = false,
  194. hasLicense = false
  195. })
  196.  
  197. TEAM_BGUARD = AddExtraTeam("Body guard", {
  198. color = Color(200, 50, 5, 255),
  199. model = {
  200. "models/player/kuma/taliban_grunt.mdl"
  201. },
  202. description = [[You are a guard you are to guard shops and bases
  203. Warning: You can not raid!]],
  204. weapons = {"stunstick", "bb_deagle_alt"},
  205. command = "guard",
  206. max = 2,
  207. salary = 50,
  208. admin = 0,
  209. vote = false,
  210. hasLicense = false
  211. })
  212.  
  213. TEAM_PIMP = AddExtraTeam("Strip club owner", {
  214. color = Color(130, 30, 30, 255),
  215. model = {
  216. "models/player/eli.mdl"
  217. },
  218. description = [[Keep your Stripers safe!]],
  219. weapons = {"bb_deagle_alt"},
  220. command = "Pimp",
  221. max = 1,
  222. salary = 100,
  223. admin = 0,
  224. vote = true,
  225. hasLicense = false
  226. })
  227.  
  228. TEAM_HOE = AddExtraTeam("Stripper", {
  229. color = Color(130, 30, 30, 255),
  230. model = {
  231. "models/player/alyx.mdl"
  232. },
  233. description = [[Listen to your daddy]],
  234. weapons = {},
  235. command = "Hoe",
  236. max = 5,
  237. salary = 10,
  238. admin = 0,
  239. vote = false,
  240. hasLicense = false
  241. })
  242.  
  243. TEAM_CARDEALER = DarkRP.createJob("Car Dealer", {
  244. color = Color(70, 70, 70, 255),
  245. model = {
  246. "models/player/guerilla.mdl"
  247. },
  248. description = [[Sell cars to the public for a living!]],
  249. weapons = {},
  250. command = "cardealer",
  251. max = 2,
  252. salary = 60,
  253. admin = 0,
  254. vote = false,
  255. hasLicense = false
  256. })
  257.  
  258. TEAM_GUN = DarkRP.createJob("Gun Dealer", {
  259. color = Color(255, 140, 0, 255),
  260. model = {
  261. "models/player/monk.mdl"
  262. },
  263. description = [[A Gun Dealer is the only person who can sell guns to other people.
  264. Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
  265. weapons = {},
  266. command = "gundealer",
  267. max = 2,
  268. salary = GAMEMODE.Config.normalsalary,
  269. admin = 0,
  270. vote = false,
  271. hasLicense = false
  272. })
  273.  
  274.  
  275. TEAM_MGD = AddExtraTeam("M9K Gun Dealer", {
  276. color = Color(110, 35, 35, 245),
  277. model = {
  278. "models/player/riot.mdl"
  279. },
  280. description = [[Sell Military weapons]],
  281. weapons = {},
  282. command = "Mgd",
  283. max = 1,
  284. salary = 80,
  285. admin = 0,
  286. vote = false,
  287. hasLicense = false
  288. })
  289.  
  290. TEAM_PGUARD = AddExtraTeam("Riot Squad", {
  291. color = Color(20, 20, 255, 255),
  292. model = {
  293. "models/player/urban.mdl"
  294. },
  295. description = [[You are the Riot Squad you guard the town with your life
  296.  
  297. Keep a close eye on it.]],
  298. weapons = {"bb_deagle_alt", "stunstick"},
  299. command = "riot",
  300. max = 2,
  301. salary = 50,
  302. admin = 0,
  303. vote = true,
  304. hasLicense = true
  305. })
  306.  
  307. TEAM_SPF = AddExtraTeam("Special Forces", {
  308. color = Color(110, 35, 35, 245),
  309. model = {
  310. "models/player/gasmask.mdl"
  311. },
  312. description = [[Get called in for missions]],
  313. weapons = {"bb_m4a1_alt"},
  314. command = "spf",
  315. max = 3,
  316. salary = 100,
  317. admin = 0,
  318. vote = true,
  319. hasLicense = true
  320. })
  321.  
  322. TEAM_HOSF = AddExtraTeam("Head Of Special Force", {
  323. color = Color(110, 35, 35, 245),
  324. model = {
  325. "models/player/swat.mdl"
  326. },
  327. description = [[You are the head of special force]],
  328. weapons = {"bb_m4a1_alt", "bb_deagle_alt"},
  329. command = "hosf",
  330. max = 1,
  331. salary = 120,
  332. admin = 0,
  333. vote = true,
  334. hasLicense = true
  335. })
  336.  
  337. TEAM_MEDIC = DarkRP.createJob("Medic", {
  338. color = Color(47, 79, 79, 255),
  339. model = {
  340. "models/player/kleiner.mdl"
  341. },
  342. description = [[With your medical knowledge you work to restore players to full health.
  343. Without a medic, people cannot be healed.
  344. Left click with the Medical Kit to heal other players.
  345. Right click with the Medical Kit to heal yourself.]],
  346. weapons = {"med_kit"},
  347. command = "medic",
  348. max = 3,
  349. salary = 80,
  350. admin = 0,
  351. vote = false,
  352. hasLicense = false,
  353. medic = true
  354. })
  355.  
  356. TEAM_POLICEM = AddExtraTeam("Civil Protection Medic", {
  357. color = Color(25, 25, 170, 255),
  358. model = {
  359. "models/player/dod_american.mdl"
  360. },
  361. description = [[Your job is to heal the police and the president]],
  362. weapons = {"bb_glock_alt", "med_kit"},
  363. command = "cpm",
  364. max = 1,
  365. salary = 90,
  366. admin = 0,
  367. vote = true,
  368. hasLicense = true
  369. })
  370.  
  371. TEAM_POLICE = DarkRP.createJob("Civil Protection", {
  372. color = Color(25, 25, 170, 255),
  373. model = {
  374. "models/player/police.mdl", "models/player/police_fem.mdl"
  375. },
  376. description = [[The protector of every citizen that lives in the city.
  377. You have the power to arrest criminals and protect innocents.
  378. Hit a player with your arrest baton to put them in jail.
  379. Bash a player with a stunstick and they may learn to obey the law.
  380. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  381. The Battering Ram can also unfreeze frozen props (if enabled).
  382. Type /wanted <name> to alert the public to the presence of a criminal.]],
  383. weapons = {"arrest_stick", "unarrest_stick", "bb_glock_alt", "stunstick", "door_ram", "weaponchecker"},
  384. command = "cp",
  385. max = 5,
  386. salary = 100,
  387. admin = 0,
  388. vote = true,
  389. hasLicense = true,
  390. ammo = {
  391. ["pistol"] = 60,
  392. }
  393. })
  394.  
  395. TEAM_CHIEF = DarkRP.createJob("Civil Protection Chief", {
  396. color = Color(20, 20, 255, 255),
  397. model = {
  398. "models/player/combine_soldier_prisonguard.mdl"
  399. },
  400. description = [[The Chief is the leader of the Civil Protection unit.
  401. Coordinate the police force to enforce law in the city.
  402. Hit a player with arrest baton to put them in jail.
  403. Bash a player with a stunstick and they may learn to obey the law.
  404. The Battering Ram can break down the door of a criminal, with a warrant for his/her arrest.
  405. Type /wanted <name> to alert the public to the presence of a criminal.
  406. Type /jailpos to set the Jail Position]],
  407. weapons = {"arrest_stick", "unarrest_stick", "bb_deagle_alt", "stunstick", "door_ram", "weaponchecker", "bb_mp5_alt"},
  408. command = "chief",
  409. max = 1,
  410. salary = 120,
  411. admin = 0,
  412. vote = false,
  413. hasLicense = true,
  414. chief = true,
  415. NeedToChangeFrom = TEAM_POLICE,
  416. ammo = {
  417. ["pistol"] = 60,
  418. }
  419. })
  420.  
  421. TEAM_MAYOR = DarkRP.createJob("Mayor", {
  422. color = Color(150, 20, 20, 255),
  423. model = {
  424. "models/player/breen.mdl"
  425. },
  426. description = [[The Mayor of the city creates laws to govern the city.
  427. If you are the mayor you may create and accept warrants.
  428. Type /wanted <name> to warrant a player.
  429. Type /jailpos to set the Jail Position.
  430. Type /lockdown initiate a lockdown of the city.
  431. Everyone must be inside during a lockdown.
  432. The cops patrol the area.
  433. /unlockdown to end a lockdown]],
  434. weapons = {"unarrest_stick"},
  435. command = "mayor",
  436. max = 1,
  437. salary = 150,
  438. admin = 0,
  439. vote = true,
  440. hasLicense = false,
  441. mayor = true
  442. })
  443.  
  444. TEAM_HOBO = DarkRP.createJob("Hobo", {
  445. color = Color(80, 45, 0, 255),
  446. model = {
  447. "models/player/corpse1.mdl"
  448. },
  449. description = [[The lowest member of society. Everybody laughs at you.
  450. You have no home.
  451. Beg for your food and money
  452. Sing for everyone who passes to get money
  453. Make your own wooden home somewhere in a corner or outside someone else's door]],
  454. weapons = {"weapon_bugbait"},
  455. command = "hobo",
  456. max = 5,
  457. salary = 0,
  458. admin = 0,
  459. vote = false,
  460. hasLicense = false,
  461. candemote = false,
  462. hobo = true
  463. })
  464.  
  465. TEAM_KHOBO = AddExtraTeam("King Hobo", {
  466. color = Color(80, 45, 0, 255),
  467. model = {
  468. "models/vortigaunt.mdl"
  469. },
  470. description = [[The lowest member of society. All people see you laugh.
  471. You have no home.
  472. Beg for your food and money
  473. Sing for everyone who passes to get money
  474. Make your own wooden home somewhere in a corner or
  475. outside someone else's door]],
  476. weapons = {"weapon_bugbait"},
  477. command = "khobo",
  478. max = 1,
  479. salary = 2,
  480. admin = 0,
  481. vote = false,
  482. hasLicense = false
  483. })
  484.  
  485.  
  486. TEAM_GHOBO = AddExtraTeam("God Hobo", {
  487. color = Color(80, 45, 0, 255),
  488. model = {
  489. "models/Combine_turrets/Floor_turret.mdl"
  490. },
  491. description = [[The lowest member of society. All people see you laugh.
  492. You have no home.
  493. Beg for your food and money
  494. Sing for everyone who passes to get money
  495. Make your own wooden home somewhere in a corner or
  496. outside someone else's door]],
  497. weapons = {"weapon_bugbait"},
  498. command = "ghobo",
  499. max = 1,
  500. salary = 10,
  501. admin = 0,
  502. vote = false,
  503. hasLicense = false
  504. })
  505.  
  506. TEAM_PET = AddExtraTeam("Pet", {
  507. color = Color(0, 0, 0, 255),
  508. model = {
  509. "models/Lamarr.mdl"
  510. },
  511. description = [[You are pet be a good one]],
  512. weapons = {},
  513. command = "pet",
  514. max = 2,
  515. salary = 15,
  516. admin = 0,
  517. vote = false,
  518. hasLicense = false
  519. })
  520.  
  521. TEAM_SPDRMN = AddExtraTeam("Spiderman", {
  522. color = Color(255, 0, 0, 255),
  523. model = {
  524. "models/player/tasm2spider.mdl"
  525. },
  526. description = [[You are a vigalanty!
  527. Swing around and try to protect the town!]],
  528.  
  529. weapons = {"weapon_fists", "grapplehook"},
  530. command = "spiderman",
  531. max = 1,
  532. salary = 500,
  533. admin = 1,
  534. vote = false,
  535. hasLicense = false
  536. })
  537.  
  538. TEAM_SPDRMN = AddExtraTeam("Batman", {
  539. color = Color(255, 0, 0, 255),
  540. model = {
  541. "models/player/superheroes/batman.mdl"
  542. },
  543. description = [[You are a vigalanty!
  544. Use your super money powers and tools to save the town!]],
  545. weapons = {"weapon_fists", "grapplehook"},
  546. command = "spiderman",
  547. max = 1,
  548. salary = 1000,
  549. admin = 1,
  550. vote = false,
  551. hasLicense = false
  552. })
  553.  
  554. TEAM_AOD = AddExtraTeam("Admin On Duty", {
  555. color = Color(50, 50, 50, 255),
  556. model = {
  557. "models/player/Combine_Super_Soldier.mdl"
  558. },
  559. description = [[While in this class you are an admin.
  560. There is no fun.
  561. There is no messing around.
  562. Enforce the rules and follow them as well]],
  563. weapons = {"bb_m249_alt"},
  564. command = "aod",
  565. max = 3,
  566. salary = 500,
  567. admin = 1,
  568. vote = false,
  569. hasLicense = false
  570. })
  571.  
  572. /*---------------------------------------------------------------------------
  573. Define which team joining players spawn into and what team you change to if demoted
  574. ---------------------------------------------------------------------------*/
  575. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  576.  
  577.  
  578. /*---------------------------------------------------------------------------
  579. Define which teams belong to civil protection
  580. Civil protection can set warrants, make people wanted and do some other police related things
  581. ---------------------------------------------------------------------------*/
  582. GAMEMODE.CivilProtection = {
  583. [TEAM_POLICE] = true,
  584. [TEAM_CHIEF] = true,
  585. [TEAM_MAYOR] = true,
  586. }
  587.  
  588. /*---------------------------------------------------------------------------
  589. Jobs that are hitmen (enables the hitman menu)
  590. ---------------------------------------------------------------------------*/
  591. DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement