Advertisement
Guest User

skrrr

a guest
Dec 11th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.42 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. TEAM_THIEF = DarkRP.createJob("Thief", {
  20. color = Color(0, 0, 0, 255),
  21. model = "models/player/robber.mdl",
  22. description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],
  23. weapons = {"lockpick"}, -- You may wanna find a pickpocket swep and add it here.
  24. command = "thief",
  25. max = 0,
  26. salary = 65,
  27. admin = 0,
  28. vote = false,
  29. hasLicense = false,
  30. category = "Citizens",
  31. })
  32.  
  33. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  34. color = Color(0, 0, 0, 255),
  35. model = "models/player/sunabouzu.mdl",
  36. description = [[People hire you to take out other people,
  37. this job require you to be completely focussed.
  38. A single breath can make you loose a shot.]],
  39. weapons = {"m9k_m24"},
  40. command = "hitman",
  41. max = 1,
  42. salary = 65,
  43. admin = 0,
  44. vote = false,
  45. hasLicense = false,
  46. category = "Citizens",
  47. })
  48.  
  49. TEAM_SS = DarkRP.createJob("Secret Service", {
  50. color = Color(100, 20, 20, 255),
  51. model = "models/player/macdguy.mdl",
  52. description = [[You are responsible for protecting the mayor.
  53. Take care of the old fellow, he is vanuarable to terrorists all the time! Before he enters a room, you need to make sure its secure.]],
  54. weapons = {"weapon_deagle2", "stunstick", "weaponchecker"},
  55. command = "ss",
  56. max = 2,
  57. salary = 65,
  58. admin = 0,
  59. vote = true,
  60. hasLicense = false,
  61. ammo = {
  62. ["pistol"] = 60,
  63. },
  64. category = "Civil Protection",
  65. })
  66.  
  67. TEAM_SWAT = DarkRP.createJob("Swat", {
  68. color = Color(25, 25, 170, 255),
  69. model = {"models/player/swat.mdl"},
  70. description = [[The protector of every citizen that lives in the city.
  71. You have the power to arrest criminals and protect innocents.
  72. Hit a player with your arrest baton to put them in jail.
  73. Bash a player with a stunstick and they may learn to obey the law.
  74. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  75. The Battering Ram can also unfreeze frozen props (if enabled).
  76. Type /wanted <name> to alert the public to the presence of a criminal.]],
  77. weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
  78. command = "Swat",
  79. max = 4,
  80. salary = 85,
  81. admin = 0,
  82. vote = true,
  83. hasLicense = true,
  84. help = {
  85. "Please don't abuse your job",
  86. "When you arrest someone they are auto transported to jail.",
  87. "They are auto let out of jail after some time",
  88. "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  89. "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  90. "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  91. "Type /jailpos to set the jail position"
  92. },
  93. category = "Civil Protection",
  94. })
  95.  
  96. TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {
  97. color = Color(170, 0, 0, 255),
  98. model = "models/player/zeus_combine_v2/zeus_combine_v2.mdl",
  99. description = [[Admin on duty is when you as an admin, is ready to make sure the server stays at its best.
  100. It's up to you to patrol and respond to admin calls.]],
  101. weapons = {},
  102. command = "aod",
  103. max = 0,
  104. salary = 100,
  105. admin = 0,
  106. vote = false,
  107. hasLicense = false,
  108. category = "Others"
  109. })
  110.  
  111. TEAM_MD = DarkRP.createJob("Mayors Daughter", {
  112. color = Color(255,100,100,255),
  113. model = "models/player/alyx.mdl",
  114. description = [[You are the mayors daughter, walk around with your dad
  115. just chill around. But be careful, you never know when somebody
  116. is waiting to kidnap you!]],
  117. weapons = {},
  118. command = "mayorsdaughter",
  119. max = 1,
  120. salary = 80,
  121. admin = 0,
  122. vote = false,
  123. hasLicense = false
  124. })
  125.  
  126. TEAM_GUARD = DarkRP.createJob("Guard", {
  127. color = Color(0,200,50,255),
  128. model = "models/player/barney.mdl",
  129. description = [[People will pay for protection, use your weapon or buy one from the local gundealer.]],
  130. weapons = {"weapon_deagle2"},
  131. command = "guardd",
  132. max = 1,
  133. salary = 85,
  134. admin = 0,
  135. vote = false,
  136. hasLicense = true,
  137. category = "Citizens",
  138. })
  139.  
  140. TEAM_JUH = DarkRP.createJob("Juggernaut", {
  141. color = Color(20, 20, 255, 255),
  142. model = "models/player/robber.mdl",
  143. description = [[]],
  144. weapons = {"m9k_minigun"}, -- You may wanna find a pickpocket swep and add it here.
  145. command = "jug",
  146. max = 1,
  147. salary = 150,
  148. admin = 0,
  149. vote = true,
  150. hasLicense = false,
  151. category = "Civil Prottection",
  152. PlayerSpawn = function(ply) ply:SetHealth(500) end,
  153. })
  154.  
  155. TEAM_SWATL = DarkRP.createJob("Swat Leader", {
  156. color = Color(20, 20, 255, 255),
  157. model = {"models/codmw2/codmw2hexe.mdl"},
  158. description = [[The protector of every citizen that lives in the city.
  159. You have the power to arrest criminals and protect innocents.
  160. Hit a player with your arrest baton to put them in jail.
  161. Bash a player with a stunstick and they may learn to obey the law.
  162. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  163. The Battering Ram can also unfreeze frozen props (if enabled).
  164. Type /wanted <name> to alert the public to the presence of a criminal.]],
  165. weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
  166. command = "SwatLeader1",
  167. max = 1,
  168. salary = 150,
  169. admin = 0,
  170. vote = true,
  171. hasLicense = true,
  172. help = {
  173. "Please don't abuse your job",
  174. "When you arrest someone they are auto transported to jail.",
  175. "They are auto let out of jail after some time",
  176. "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  177. "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  178. "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  179. "Type /jailpos to set the jail position"
  180. },
  181. category = "Civil Protection",
  182. })
  183.  
  184. TEAM_SWATS = DarkRP.createJob("Swat Sniper", {
  185. color = Color(20, 20, 255, 255),
  186. model = "models/mw2guy/diver/diver_03.mdl",
  187. description = [[The protector of every citizen that lives in the city.
  188. You have the power to arrest criminals and protect innocents.
  189. Hit a player with your arrest baton to put them in jail.
  190. Bash a player with a stunstick and they may learn to obey the law.
  191. The Battering Ram can break down the door of a criminal, with a warrant for their arrest.
  192. The Battering Ram can also unfreeze frozen props (if enabled).
  193. Type /wanted <name> to alert the public to the presence of a criminal.]],
  194. weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs"},
  195. command = "Swat",
  196. max = 1,
  197. salary = 120,
  198. admin = 0,
  199. vote = true,
  200. hasLicense = true,
  201. help = {
  202. "Please don't abuse your job",
  203. "When you arrest someone they are auto transported to jail.",
  204. "They are auto let out of jail after some time",
  205. "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
  206. "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
  207. "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
  208. "Type /jailpos to set the jail position"
  209. },
  210. category = "Civil Protection",
  211. })
  212.  
  213. TEAM_TERROR = DarkRP.createJob("Terrorist", {
  214. color = Color(255, 140, 0, 255),
  215. model = "models/codplayers/opfor4.mdl",
  216. description = [[]],
  217. weapons = {"m9k_ak47"}, -- You may wanna find a pickpocket swep and add it here.
  218. command = "terrorist",
  219. max = 3,
  220. salary = 150,
  221. admin = 0,
  222. vote = true,
  223. hasLicense = false,
  224. category = "Other",
  225. })
  226.  
  227. TEAM_TERRORL = DarkRP.createJob("Terrorist Leader", {
  228. color = Color(255, 140, 0, 255),
  229. model = "models/codplayers/opfor4.mdl",
  230. description = [[]],
  231. weapons = {"m9k_ak47", "m9k_ied_detonator", "m9k_suicide_bomb", "m9k_proxy_mine", "m9k_rpg7"}
  232. command = "terroristl",
  233. max = 1,
  234. salary = 150,
  235. admin = 0,
  236. vote = true,
  237. hasLicense = false,
  238. category = "Other",
  239. })
  240.  
  241. TEAM_MTHEIF = DarkRP.createJob("Master Thief", {
  242. color = Color(0, 0, 0, 255),
  243. model = {"models/player/robber.mdl"},
  244. description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],
  245. weapons = {"lockpick", "m9k_tec9", "pickpocket"},
  246. command = "MThief",
  247. max = 10,
  248. salary = 500,
  249. admin = 0,
  250. vote = false,
  251. hasLicense = false,
  252. candemote = false,
  253. category = "Other",
  254. PlayerSpawn = function(ply)
  255. ply:SetMaxHealth(150)
  256. ply:SetHealth(150)
  257. ply:SetArmor(0)
  258. end,
  259. customCheck = function(ply) return CLIENT or
  260. table.HasValue({"Premiumvip"}, ply:GetNWString("usergroup"))
  261. end,
  262. CustomCheckFailMsg = "Premium only man :(",
  263. })
  264.  
  265. TEAM_SADMIN = DarkRP.createJob("Superadmin on duty", {
  266. color = Color(150, 20, 20, 255),
  267. model = "models/player/zeus_combine_v2/zeus_combine_v2.mdl",
  268. description = [[get on duty fag ur SA]],
  269. weapons = {},
  270. command = "saod",
  271. max = 0,
  272. salary = 100,
  273. admin = 0,
  274. vote = false,
  275. hasLicense = false,
  276. category = "Citizens",
  277. })
  278.  
  279. TEAM_DOGPET = DarkRP.createJob("Dog", {
  280. color = Color(166, 142, 142, 255),
  281. model = {"models/ssb4/duck_hunt_dog_player.mdl"},
  282. description = [[You're a dog. Go around and be someones pet or bark]],
  283. weapons = {"weapon_fists", "weapon_dogswep"},
  284. command = " dogpetman1",
  285. max = 6,
  286. salary = 100,
  287. admin = 0,
  288. vote = false,
  289. hasLicense = false,
  290. candemote = true,
  291. category = "Citizens",
  292. })
  293.  
  294. TEAM_SPARKS = DarkRP.createJob("King", {
  295. color = Color(45, 104, 158, 255),
  296. model = {"models/zed/zed.mdl"},
  297. description = [[You can do anything( Sparks Custom Job )]],
  298. weapons = {"m9k_damascus", "m9k_jackhammer", "m9k_striker12", "m9k_spas12", "m9k+deagle", "m9k_luger", "m9k_pkm", "grapplehookv2", "weapon_rope_knife", "weapon_rape", "weapon_camo", "m9k_honeybadger", "m9k_mp40", "m9k_mp7", "pro_lockpick_update", "lockpick", "pocket", "med_kit", "awpdragon", "weapon_crowbar"},
  299. command = "Sparkyz",
  300. max = 2,
  301. salary = 1000,
  302. admin = 0,
  303. vote = false,
  304. hasLicense = false,
  305. candemote = false,
  306. category = "Other",
  307. customCheck = function(ply) return CLIENT or
  308. table.HasValue({"Owner"}, ply:GetNWString("usergroup"))
  309. end,
  310. CustomCheckFailMsg = "Spark Only",
  311. })
  312.  
  313. --[[---------------------------------------------------------------------------
  314. Define which team joining players spawn into and what team you change to if demoted
  315. ---------------------------------------------------------------------------]]
  316. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  317. --[[---------------------------------------------------------------------------
  318. Define which teams belong to civil protection
  319. Civil protection can set warrants, make people wanted and do some other police related things
  320. ---------------------------------------------------------------------------]]
  321. GAMEMODE.CivilProtection = {
  322. [TEAM_POLICE] = true,
  323. [TEAM_CHIEF] = true,
  324. [TEAM_MAYOR] = true,
  325. }
  326. --[[---------------------------------------------------------------------------
  327. Jobs that are hitmen (enables the hitman menu)
  328. ---------------------------------------------------------------------------]]
  329. DarkRP.addHitmanTeam(TEAM_HITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement