Advertisement
Guest User

Untitled

a guest
Feb 28th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.97 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_ADMIN = DarkRP.createJob("Admin On Duty", {
  21. color = Color(150, 20, 20, 255),
  22. model = "models/player/zeus_combine_v2/zeus_combine_v2.mdl",
  23. description = [[eh]],
  24. weapons = {"med_kit"},
  25. command = "aod",
  26. max = 5,
  27. salary = 100,
  28. admin = 1,
  29. vote = false,
  30. hasLicense = false,
  31. })
  32. TEAM_SADMIN = DarkRP.createJob("Moderator on duty", {
  33. color = Color(150, 20, 20, 255),
  34. model = "models/player/zeus_combine_v2/zeus_combine_v2.mdl",
  35. description = [[yolo]],
  36. weapons = {"med_kit", "unarrest_stick"},
  37. command = "saod",
  38. max = 5,
  39. salary = 100,
  40. admin = 0,
  41. vote = false,
  42. hasLicense = false,
  43. customCheck = function(ply) return ply:GetUserGroup() == "Moderator" end,
  44.  
  45. })
  46. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  47. color = Color(0, 0, 0, 255),
  48. model = "models/player/sunabouzu.mdl",
  49. description = [[People hire you to take out other people,
  50. this job require you to be completely focussed.
  51. A single breath can make you loose a shot.]],
  52. weapons = {"m9k_m24", "lockpick"},
  53. command = "hitman",
  54. max = 1,
  55. salary = 65,
  56. admin = 0,
  57. vote = true,
  58. hasLicense = false,
  59. })
  60. TEAM_KIDNAPPER = DarkRP.createJob("Kidnapper", {
  61. color = Color(0, 0, 0, 255),
  62. model = "models/player/stripped.mdl",
  63. description = [[Kidnap people and sell them for money!]],
  64. weapons = {"m9k_nerve_gas", "weapon_cuff_elastic"},
  65. command = "mugg",
  66. max = 2,
  67. salary = 50,
  68. admin = 0,
  69. vote = true,
  70. hasLicense = false,
  71. customCheck = function(ply) return table.HasValue({"Moderator", "VIP", "Admin", "superadmin", "Owner"}, ply:GetNWString("usergroup")) end
  72. })
  73. TEAM_DRUGCARTEL = AddExtraTeam("Mexican Drug Lord", {
  74. color = Color(10, 10, 10, 255),
  75. model = "models/player/css_leet.mdl",
  76. description = [[As the mexican drug boss you have the authority to
  77. tell the mexican drug cartel what to do. But be careful because
  78. police informent will be looking out for you.
  79. Mexican Drug Lord's can declare a war against SWAT / DEA agents, if the SWAT Leader agrees.
  80. SALARY:50]],
  81. weapons = {"lockpick", "unarrest_stick", "m9k_m92beretta"},
  82. command = "drugcartelboss",
  83. max = 1,
  84. salary = 50,
  85. admin = 0,
  86. vote = true,
  87. hasLicense = false,
  88. })
  89. TEAM_DRUGMEMBER = AddExtraTeam("Mexican Cartel Members", {
  90. color = Color(10, 10, 10, 255),
  91. model = "models/player/male17.mdl",
  92. description = [[Mug and raid people for weed and meth.
  93. SALARY:50]],
  94. weapons = {"lockpick", "unarrest_stick", "m9k_m29satan"},
  95. command = "drugcartel",
  96. max = 4,
  97. salary = 50,
  98. admin = 0,
  99. vote = false,
  100. hasLicense = false,
  101. })
  102. TEAM_DEA = AddExtraTeam("DEA Agent", {
  103. color = Color(10, 10, 10, 255),
  104. model = "models/player/css_riot.mdl",
  105. description = [[Check houses with drugs with warrants, and have a war against the Mexican Drug Cartel!]],
  106. weapons = {"lockpick", "arrest_stick", "m9k_m29satan"},
  107. command = "dea",
  108. max = 3,
  109. salary = 50,
  110. admin = 0,
  111. vote = false,
  112. hasLicense = false,
  113. })
  114. TEAM_SS = AddExtraTeam("Secret Service", {
  115. color = Color(255, 10, 10, 255),
  116. model = "models/player/combine_soldier.mdl",
  117. description = [[As a secret service agent, it is your job to make sure the
  118. mayor is safe under any Circumstances. But you are still under
  119. the authority of the police chief.
  120.  
  121. SALARY:50]],
  122. weapons = {"m9k_mp5sd", "arrest_stick", "unarrest_stick"},
  123. command = "secretservice",
  124. max = 2,
  125. salary = 50,
  126. admin = 0,
  127. vote = true,
  128. hasLicense = true,
  129. })
  130. TEAM_SWATCO = AddExtraTeam("S.W.A.T Commander", {
  131. color = Color(10, 10, 100, 255),
  132. model = "models/player/urban.mdl",
  133. description = [[ [Donator Job] As a S.W.A.T Commander it is your
  134. job to infiltrate
  135. drug labs and and asisest police officers on high level raids.
  136. You are still under the athorty of the police cheif.
  137.  
  138. SALARY:130]],
  139. weapons = {"arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "m9k_honeybadger"},
  140. command = "swatco",
  141. max = 1,
  142. salary = 130,
  143. admin = 0,
  144. vote = true,
  145. hasLicense = true,
  146. customCheck = function(ply) return table.HasValue({"Moderator", "VIP", "Admin", "superadmin", "Owner"}, ply:GetNWString("usergroup")) end,
  147. NeedToChangeFrom = TEAM_SWAT,
  148. })
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156. --[[---------------------------------------------------------------------------
  157. Define which team joining players spawn into and what team you change to if demoted
  158. ---------------------------------------------------------------------------]]
  159. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  160.  
  161.  
  162. --[[---------------------------------------------------------------------------
  163. Define which teams belong to civil protection
  164. Civil protection can set warrants, make people wanted and do some other police related things
  165. ---------------------------------------------------------------------------]]
  166. GAMEMODE.CivilProtection = {
  167. [TEAM_POLICE] = true,
  168. [TEAM_CHIEF] = true,
  169. [TEAM_MAYOR] = true,
  170. [TEAM_SWAT] = true,
  171. }
  172.  
  173. --[[---------------------------------------------------------------------------
  174. Jobs that are hitmen (enables the hitman menu)
  175. ---------------------------------------------------------------------------]]
  176. DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement