Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 KB | None | 0 0
  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.  
  7. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  8. Once you've done that, copy and paste the job to this file and edit it.
  9.  
  10. The default jobs can be found here:
  11. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  12.  
  13. For examples and explanation please visit this wiki page:
  14. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  15.  
  16. Add your custom jobs under the following line:
  17. ---------------------------------------------------------------------------]]
  18.  
  19. DarkRP.createCategory "Foundation Staff"
  20. DarkRP.createCategory "SCP's"
  21.  
  22. --[[---------------------------------------------------------------------------
  23. Define which team joining players spawn into and what team you change to if demoted
  24. ---------------------------------------------------------------------------]]
  25. GAMEMODE.DefaultTeam = TEAM_CLASSD
  26. --[[---------------------------------------------------------------------------
  27. Define which teams belong to civil protection
  28. Civil protection can set warrants, make people wanted and do some other police related things
  29. ---------------------------------------------------------------------------]]
  30. --[[---------------------------------------------------------------------------
  31. Jobs that are hitmen (enables the hitman menu)
  32. ---------------------------------------------------------------------------]]
  33. DarkRP.addHitmanTeam(TEAM_MOB)
  34.  
  35. TEAM_CLASSD = DarkRP.createJob("Class D", {
  36. model = {
  37. "models/scp/human/scp_employee.mdl",
  38. },
  39. description = [[D Class Personnel are assigned to SCP's and experimented on. Your job is to either take on these experiments, or escape the SCP Foundation.]],
  40. weapons = {weapon_fists, keys},
  41. command = "classd",
  42. color = Color(255, 255, 255, 255),
  43. max = 0,
  44. salary = GAMEMODE.Config.normalsalary,
  45. admin = 0,
  46. vote = false,
  47. hasLicense = false,
  48. candemote = false,
  49. category = "Foundation Staff",
  50. PlayerLoadout = function(ply) -- this line is added. Remember a comma at the end of above line if it is not there.
  51. ply:SetHealth(100)
  52. ply:SetArmor(0)
  53. ply:SetWalkSpeed(80)
  54. ply:SetRunSpeed(100)
  55. end,
  56. })
  57. TEAM_SECURITY = DarkRP.createJob("Security", {
  58. model = {
  59. "models/whitemtfguard/player/white_mtf_guard_player.mdl",
  60. },
  61. description = [[Your job is to prevent D Class from escaping, once they escape, however, you cannot leave D Block to catch them! That is NTF's Job.]],
  62. weapons = {weapon_fists, weapon_stunstick, weapon_smg1},
  63. command = "security",
  64. color = Color(255, 255, 255, 255),
  65. max = 5,
  66. salary = GAMEMODE.Config.normalsalary,
  67. admin = 0,
  68. hasLicense = false,
  69. vote = false,
  70. candemote = true,
  71. category = "Foundation Staff",
  72. })
  73. TEAM_RESEARCHER = DarkRP.createJob("Researcher", {
  74. model = {
  75. "models/scp/human/scp_employee.mdl",
  76. },
  77. description = [[D Class Personnel are assigned to SCP's and experimented on. Your job is to either take on these experiments, or escape the SCP Foundation.]],
  78. weapons = {weapon_fists, weapon_stunstick, weapon_pistol, med_kit},
  79. command = "researcher",
  80. color = Color(255, 255, 255, 255),
  81. max = 5,
  82. salary = GAMEMODE.Config.normalsalary,
  83. admin = 0,
  84. vote = false,
  85. hasLicense = true,
  86. candemote = false,
  87. category = "Foundation Staff",
  88. })
  89. TEAM_MTF = DarkRP.createJob("Mobile Task Force", {
  90. model = {
  91. "models/vinrax/player/mtf_guard_player.mdl",
  92. },
  93. description = [[Your job is to recontain escaped SCP's. You can NOT leave the SCP Foundation. You can KOS escaped D Class, but you cannot escort them to D Block. That is NTF's Job.]],
  94. weapons = {weapon_fists, weapon_stunstick, weapon_shotgun},
  95. command = "mtf",
  96. color = Color(255, 255, 255, 255),
  97. max = 5,
  98. salary = GAMEMODE.Config.normalsalary,
  99. admin = 0,
  100. vote = false,
  101. hasLicense = true,
  102. candemote = true,
  103. category = "Foundation Staff",
  104. })
  105. TEAM_NTF = DarkRP.createJob("Nine-Tailed Fox", {
  106. model = {
  107. "models/player/ntf_citizen_female.mdl",
  108. "models/ntfsoldier/ntf_unit.mdl",
  109. "models/player/ntf_citizen_male.mdl",
  110. },
  111. description = [[Your job is to recontain escaped D Class. You can only leave the SCP Foundation if more than five D Class have escaped.]],
  112. weapons = {arrest_stick, weapon_fists, weapon_stunstick, weapon_ar2, weapon_mp52},
  113. command = "ntf",
  114. color = Color(255, 255, 255, 255),
  115. max = 5,
  116. salary = GAMEMODE.Config.normalsalary,
  117. admin = 0,
  118. vote = false,
  119. hasLicense = true,
  120. candemote = true,
  121. category = "Foundation Staff",
  122. })
  123. TEAM_CLERK = DarkRP.createJob("Site Director", {
  124. model = {
  125. "models/scp/humans/clerk/player/scp_clerk_pm.mdl",
  126. },
  127. description = [[Your job is to ]],
  128. weapons = {weapon_fists, weapon_stunstick, arrest_stick, med_kit},
  129. command = "sitedirector",
  130. color = Color(255, 255, 255, 255),
  131. max = 1,
  132. salary = GAMEMODE.Config.normalsalary,
  133. admin = 0,
  134. vote = true,
  135. hasLicense = false,
  136. candemote = true,
  137. category = "Foundation Staff",
  138. })
  139. TEAM_173 = DarkRP.createJob("SCP-173", {
  140. model = {
  141. "models/vinrax/scp173/scp173.mdl",
  142. },
  143. description = [[You are a sentient statue that can attack or move when you are not being looked at. When someone's eyes are shut, you can kill them with ease. SCP Foundation Staff are NOT allowed to kill you]],
  144. weapons = {},
  145. command = "173",
  146. color = Color(255, 255, 255, 255),
  147. max = 0,
  148. salary = GAMEMODE.Config.normalsalary,
  149. admin = 0,
  150. vote = false,
  151. hasLicense = false,
  152. candemote = true,
  153. category = "SCP's",
  154. PlayerLoadout = function(ply) -- this line is added. Remember a comma at the end of above line if it is not there.
  155. ply:SetHealth(9999999999)
  156. ply:SetArmor(0)
  157. ply:SetWalkSpeed(100)
  158. ply:SetRunSpeed(150)
  159. end,
  160. })
  161. TEAM_372 = DarkRP.createJob("SCP-372", {
  162. model = {
  163. "models/372/372.mdl",
  164. },
  165. description = [[You are a genus that flies around and stalks people. You can only kill someone if they attack you. SCP Foundation Staff are allowed to kill you]],
  166. weapons = {},
  167. command = "372",
  168. color = Color(255, 255, 255, 255),
  169. max = 0,
  170. salary = GAMEMODE.Config.normalsalary,
  171. admin = 0,
  172. vote = false,
  173. hasLicense = false,
  174. candemote = true,
  175. category = "SCP's",
  176. PlayerLoadout = function(ply) -- this line is added. Remember a comma at the end of above line if it is not there.
  177. ply:SetHealth(9999)
  178. ply:SetArmor(0)
  179. ply:SetWalkSpeed(200)
  180. ply:SetRunSpeed(200)
  181. end,
  182. })
  183. TEAM_457 = DarkRP.createJob("SCP-457", {
  184. model = {
  185. "models/player/charple.mdl",
  186. },
  187. description = [[You are a flaming man who's job it is to burn the unburnt. If you are attacked, you can go on a 10 minute burning rampage. If you are not hurt, you can not burn. SCP Foundation Staff are allowed to kill you]],
  188. weapons = {},
  189. command = "457",
  190. color = Color(255, 255, 255, 255),
  191. max = 0,
  192. salary = GAMEMODE.Config.normalsalary,
  193. admin = 0,
  194. vote = false,
  195. hasLicense = false,
  196. candemote = true,
  197. category = "SCP's",
  198. PlayerLoadout = function(ply) -- this line is added. Remember a comma at the end of above line if it is not there.
  199. ply:SetHealth(9999)
  200. ply:SetArmor(0)
  201. ply:SetWalkSpeed(100)
  202. ply:SetRunSpeed(100)
  203. end,
  204. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement