Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.25 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_SWAT = DarkRP.createJob("S.W.A.T Commander", {
  21. color = Color(30, 45, 105, 255),
  22. model = "models/player/riot.mdl",
  23. description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are The commander of the S.W.A.T team]],
  24. weapons = {"arrest_stick", "unarrest_stick", "m9k_glock", "m9k_aw50", "weapon_mp52", "stunstick", "door_ram", "weaponchecker", "nova_speedgun"},
  25. command = "swatcommander",
  26. max = 1,
  27. salary = 125,
  28. admin = 0,
  29. vote = true,
  30. hasLicense = true,
  31. })
  32. TEAM_SWAT = DarkRP.createJob("S.W.A.T Medic", {
  33. color = Color(30, 45, 105, 255),
  34. model = "models/player/riot.mdl",
  35. description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are the medic in the group, you should provide medical help to your team]],
  36. weapons = {"arrest_stick", "m9k_acr", "stunstick", "door_ram", "weaponchecker", "med_kit", "nova_speedgun"},
  37. command = "swatmedicr",
  38. max = 1,
  39. salary = 125,
  40. admin = 0,
  41. vote = true,
  42. hasLicense = true,
  43. })
  44. TEAM_SWAT = DarkRP.createJob("S.W.A.T Leader", {
  45. color = Color(30, 45, 105, 255),
  46. model = "models/player/swat.mdl",
  47. description = [[ Do everything you can to keep the city safe. If theres no mayor, you're in charge.]],
  48. weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "m9k_ak47", "nova_speedgun"},
  49. command = "swatl",
  50. max = 1,
  51. salary = 210,
  52. admin = 0,
  53. vote = true,
  54. hasLicense = true,
  55. })
  56. TEAM_SWAT = DarkRP.createJob("S.W.A.T Sniper", {
  57. color = Color(30, 45, 105, 255),
  58. model = "models/player/riot.mdl",
  59. description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are a Sniper Specialist]],
  60. weapons = {"arrest_stick", "unarrest_stick", "m9k_glock", "m9k_aw50", "m9k_f2000", "stunstick", "door_ram", "weaponchecker", "nova_speedgun"},
  61. command = "swatsniper",
  62. max = 1,
  63. salary = 125,
  64. admin = 0,
  65. vote = true,
  66. hasLicense = true,
  67. })
  68. TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
  69. color = Color(80, 45, 0, 255),
  70. model = "models/player/swat.mdl",
  71. description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city.]],
  72. weapons = {"arrest_stick", "unarrest_stick", "m9k_glock", "m9k_f2000", "stunstick", "door_ram", "weaponchecker", "nova_speedgun"},
  73. command = "swat",
  74. max = 2,
  75. salary = 120,
  76. admin = 0,
  77. vote = true,
  78. hasLicense = true,
  79. })
  80. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  81. color = Color(0, 0, 0, 255),
  82. model = "models/player/phoenix.mdl",
  83. description = [[People hire you to send people to a looong vacation.]],
  84. weapons = {"m9k_m98b", "m9k_usp"},
  85. command = "hitman",
  86. max = 1,
  87. salary = 65,
  88. admin = 0,
  89. vote = false,
  90. hasLicense = false,
  91. })
  92. TEAM_MS = DarkRP.createJob("Mayors Son", {
  93. color = Color(255,100,100,255),
  94. model = "models/player/barney.mdl",
  95. description = [[You are the mayors son, Walk around and relax with your father, but be
  96. careful. People might kidnap you for exchange of cash!]],
  97. weapons = {},
  98. command = "mayorsson",
  99. max = 1,
  100. salary = 90,
  101. admin = 0,
  102. vote = false,
  103. hasLicense = false
  104. })
  105. TEAM_MD = DarkRP.createJob("Mayors Daughter", {
  106. color = Color(255,100,100,255),
  107. model = "models/player/alyx.mdl",
  108. description = [[You are the mayors daughter, Walk around and relax with your father, but be
  109. careful. People might kidnap you for exchange of cash!]],
  110. weapons = {},
  111. command = "mayorsdaughter",
  112. max = 1,
  113. salary = 90,
  114. admin = 0,
  115. vote = false,
  116. hasLicense = false
  117. })
  118. TEAM_MBODYGUARD = DarkRP.createJob("Mayors BodyGuard", {
  119. color = Color(0,200,50,255),
  120. model = "models/player/barney.mdl",
  121. description = [[You are the Mayors private Bodyguard. Your job is to cover him
  122. with your life.]],
  123. weapons = {"m9k_hk45"},
  124. command = "mayorsbodyguard",
  125. max = 2,
  126. salary = 85,
  127. admin = 0,
  128. vote = false,
  129. hasLicense = true,
  130. })
  131. TEAM_THIEF = DarkRP.createJob("Thief", {
  132. color = Color(0, 0, 0, 255),
  133. model = "models/player/arctic.mdl",
  134. description = [[You are a thief, rob people, break into houses and steal printers]],
  135. weapons = {"lockpick", "m9k_deagle", "keypad_cracker"},
  136. command = "thief",
  137. max = 2,
  138. salary = 65,
  139. admin = 0,
  140. vote = false,
  141. hasLicense = false,
  142. })
  143. TEAM_THIEFL = DarkRP.createJob("Thief Leader", {
  144. color = Color(0, 0, 0, 255),
  145. model = "models/player/arctic.mdl",
  146. description = [[You are a thief leader, rob people, break into houses and steal printers.
  147. You lead the other Thiefs]],
  148. weapons = {"pro_lockpick_update", "m9k_deagle", "keypad_cracker"},
  149. command = "thiefleader",
  150. max = 1,
  151. salary = 75,
  152. admin = 0,
  153. vote = false,
  154. hasLicense = false,
  155. })
  156. TEAM_THIEFS = DarkRP.createJob("Thief Specialist", {
  157. color = Color(0, 0, 0, 255),
  158. model = "models/player/arctic.mdl",
  159. description = [[You are a Specialist among the thiefs, rob people, break into houses and steal printers.
  160. Show the other thiefs how it's done!]],
  161. weapons = {"pro_lockpick_update", "keypad_cracker"},
  162. command = "thiefspecialist",
  163. max = 1,
  164. salary = 105,
  165. admin = 0,
  166. vote = false,
  167. hasLicense = false,
  168. })
  169. TERRORIST = DarkRP.createJob("Terrorist", {
  170. color = Color(80, 45, 0, 255),
  171. model = "models/player/guerilla.mdl",
  172. description = [[You attack the streets, and the Police Force.]],
  173. weapons = {"lockpick", "m9k_ak47", "m9k_suicide_bomb"},
  174. command = "terrorist",
  175. max = 2,
  176. salary = 105,
  177. admin = 0,
  178. vote = false,
  179. hasLicense = false,
  180. })
  181. TEAM_WESTL = DarkRP.createJob("West Side Leader", {
  182. color = Color(20, 74, 214, 255),
  183. model = "models/player/Group03/male_08.mdl",
  184. description = [[You are the leader of the West side Gang you Do not like the East Side and you constantly Raid them and do anything to show people you are better than the East Side.]],
  185. weapons = {"m9k_deagle"},
  186. command = "westsidel",
  187. max = 1,
  188. salary = 400,
  189. admin = 0,
  190. vote = false,
  191. hasLicense = false,
  192. })
  193.  
  194. TEAM_EASTL = DarkRP.createJob("East Side Leader", {
  195. color = Color(0, 255, 0),
  196. model = "models/player/Group03/male_03.mdl",
  197. description = [[You are the leader of the East side Gang you do not like the West Side and you constantly Raid them and do anything to show people you are better than the West Side.]],
  198. weapons = {"lockpick", "keypad_cracker"},
  199. command = "eastsidel",
  200. max = 1,
  201. salary = 100,
  202. admin = 0,
  203. vote = false,
  204. canPickpocket = true,
  205. hasLicense = false,
  206. })
  207. TEAM_EASTG = DarkRP.createJob("East Side Gangster", {
  208. color = Color(0, 255, 0),
  209. model = "models/player/Group03m/male_03.mdl",
  210. description = [[You are A East Side Gangster and you do what the leader tells you to do and you stay with him.]],
  211. weapons = {"lockpick"},
  212. command = "eastg",
  213. max = 4,
  214. salary = 350,
  215. admin = 0,
  216. vote = false,
  217. hasLicense = false,
  218. })
  219. TEAM_STAFF = DarkRP.createJob("Staff On Duty", {
  220. color = Color(170, 0, 0, 255),
  221. model = "models/player/combine_soldier.mdl",
  222. description = [[Being an admin requires a great responsibility, when you become this job you have to take
  223. your job as an admin serious, and help the ones who is in need of an admin.]],
  224. weapons = {},
  225. command = "adminonduty",
  226. max = 0,
  227. salary = 100,
  228. admin = 1,
  229. vote = false,
  230. hasLicense = false,
  231.  
  232. })
  233. TEATEAM_OWNER = DarkRP.createJob("Owner On Duty", {
  234. color = Color(170, 0, 0, 255),
  235. model = "models/freeman/player/left_shark.mdl",
  236. description = [[Being a Head super admin requires a great responsibility, when you become this job you have to take
  237. your job as an admin serious, and help the ones who is in need of a superadmin. And teach the other superadmins common sense.]],
  238. weapons = {"arrest_stick", "unarrest_stick"},
  239. command = "DEV",
  240. max = 0,
  241. salary = 200,
  242. admin = 2,
  243. vote = false,
  244. hasLicense = false,
  245. })
  246. TEAM_MECHANIC = DarkRP.createJob("Mechanic", {
  247. color = Color(255, 0, 0, 255),
  248. model = {"models/player/barney.mdl"},
  249. description = [[Mechanic Charge People or car upgrades]],
  250. weapons = {"nova_mechanic"},
  251. command = "mechanic",
  252. max = 2,
  253. salary = 1000,
  254. admin = 0,
  255. vote = false,
  256. hasLicense = false,
  257. candemote = true,
  258. category = "Citizens",
  259. PlayerSpawn = function(ply)
  260. ply:SetMaxHealth(100)
  261. ply:SetHealth(100)
  262. ply:SetArmor(100)
  263. end
  264. })
  265. --[[---------------------------------------------------------------------------
  266. Define which team joining players spawn into and what team you change to if demoted
  267. ---------------------------------------------------------------------------]]
  268. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  269.  
  270.  
  271. --[[---------------------------------------------------------------------------
  272. Define which teams belong to civil protection
  273. Civil protection can set warrants, make people wanted and do some other police related things
  274. ---------------------------------------------------------------------------]]
  275. GAMEMODE.CivilProtection = {
  276. [TEAM_POLICE] = true,
  277. [TEAM_CHIEF] = true,
  278. [TEAM_MAYOR] = true,
  279. [TEAM_SWAT] = true,
  280. }
  281.  
  282. --[[---------------------------------------------------------------------------
  283. Jobs that are hitmen (enables the hitman menu)
  284. ---------------------------------------------------------------------------]]
  285. DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement