Advertisement
mobjune

Untitled

Nov 21st, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.68 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_GUN = DarkRP.createJob("Arms Dealer", {
  22. color = Color(255, 140, 0, 255),
  23. model = "models/player/monk.mdl",
  24. description = [[A Gun Dealer is the only person who can sell guns to other people.
  25. Make sure you aren't caught selling illegal firearms to the public! You might get arrested!]],
  26. weapons = {"weapon_fists", "fas2_glock20", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool", "pocket", "weapon_physgun"},
  27. command = "gundealer",
  28. max = 2,
  29. salary = GAMEMODE.Config.normalsalary,
  30. admin = 0,
  31. vote = false,
  32. hasLicense = false
  33. })
  34.  
  35. TEAM_PROTHEIF = DarkRP.createJob("Pro Thief", {
  36. color = Color(255,0,0,255),
  37. model = "models/player/guerilla.mdl",
  38. description = [[Raid :Yes Mug: Yes Kidnapping: Yes]],
  39. weapons = {"weapon_fists", "lockpick", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool","keypad_cracker", "weapon_physgun"},
  40. command = "jobprotheif",
  41. max = 6,
  42. salary = 60,
  43. admin = 0,
  44. vote = false,
  45. hasLicense = false,
  46. })
  47.  
  48. TEAM_COMBATMEDIC = DarkRP.createJob("Combat Medic", {
  49. color = Color(0, 255, 34, 255),
  50. model = "models/player/Group03m/male_07.mdl",
  51. description = [[You may not kidnap, mug, or raid alone. You may only raid with thieves, gangsters,and thugs. Heal your buddies.]],
  52. weapons = {"fas2_ifak" ,"weapon_fists", "lockpick", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool","keypad_cracker", "weapon_physgun"},
  53. command = "jobcombatmedic",
  54. max = 4,
  55. salary = 50,
  56. admin = 0,
  57. vote = false,
  58. hasLicense = false,
  59. })
  60.  
  61. TEAM_THEIF = DarkRP.createJob("Theif", {
  62. color = Color(255,0,0,255),
  63. model = "models/player/group01/male_01.mdl",
  64. description = [[Raid: Yes Mug: Yes Kidnapping: No]],
  65. weapons = {"weapon_fists", "lockpick", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool","keypad_cracker", "weapon_physgun"},
  66. command = "jobtheif",
  67. max = 8,
  68. salary = 45,
  69. admin = 0,
  70. vote = false,
  71. hasLicense = false,
  72. })
  73.  
  74. TEAM_MUSICIAN = DarkRP.createJob("Musician", {
  75. color = Color(242, 255, 0, 255),
  76. model = "models/player/humans/suits1/male_02.mdl",
  77. description = [[You play music for anyone and can take donations for your work. You may not have guns.]],
  78. weapons = {"weapon_fists", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool", "weapon_physgun"},
  79. command = "jobmusician",
  80. max = 2,
  81. salary = 75,
  82. admin = 0,
  83. vote = false,
  84. hasLicense = false,
  85. })
  86.  
  87. TEAM_GUN = DarkRP.createJob("Advanced Arms Dealer", {
  88. color = Color(232,198,7,255),
  89. model = "models/player/monk.mdl",
  90. description = [[Sell guns to others. No Self-Supplying.]],
  91. weapons = {"weapon_fists", "fas2_glock20", "keys", "weapon_physcannon", "gmod_camera", "gmod_tool", "weapon_physgun"},
  92. command = "jobadvancedarmsdealer",
  93. max = 5,
  94. salary = 60,
  95. admin = 0,
  96. vote = false,
  97. hasLicense = false,
  98. })
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105. -- Insert customCheck here if you have one and want one.
  106.  
  107.  
  108.  
  109.  
  110. /*---------------------------------------------------------------------------
  111. Define which team joining players spawn into and what team you change to if demoted
  112. ---------------------------------------------------------------------------*/
  113. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  114.  
  115.  
  116. /*---------------------------------------------------------------------------
  117. Define which teams belong to civil protection
  118. Civil protection can set warrants, make people wanted and do some other police related things
  119. ---------------------------------------------------------------------------*/
  120. GAMEMODE.CivilProtection = {
  121. [TEAM_POLICE] = true,
  122. [TEAM_CHIEF] = true,
  123. [TEAM_MAYOR] = true,
  124. }
  125.  
  126. /*---------------------------------------------------------------------------
  127. Jobs that are hitmen (enables the hitman menu)
  128. ---------------------------------------------------------------------------*/
  129. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement