Advertisement
Guest User

1232133

a guest
Mar 26th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.41 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.  
  22. TEAM_SMIECIARZ = DarkRP.createJob("Śmieciarz", {
  23. color = Color(133, 133, 133, 255),
  24. model = {"models/snowred/dab9595/hex/odessa.mdl"},
  25. description = [[Śmieciarz to cuchnąca sprawa. Chyba najgorsza praca w tym mieście. Jeździ śmieciarką i zbiera śmieci.]],
  26. weapons = {},
  27. command = "325235342412343awedar4324",
  28. max = 6,
  29. salary = 2,
  30. admin = 0,
  31. vote = false,
  32. hasLicense = false,
  33. candemote = false
  34. })
  35.  
  36. TEAM_MEDYK = DarkRP.createJob("Lekarz", {
  37. color = Color(250, 249, 249, 255),
  38. model = {
  39. "models/player/portal/male_02_medic.mdl",
  40. "models/player/portal/male_04_medic.mdl",
  41. "models/player/portal/male_05_medic.mdl",
  42. "models/player/portal/male_06_medic.mdl",
  43. "models/player/portal/male_07_medic.mdl",
  44. "models/player/portal/male_08_medic.mdl",
  45. "models/player/portal/male_09_medic.mdl"
  46. },
  47. description = [[Lekarz leczy ludzi gdy coś dzieje się z ich zdrowiem. ]],
  48. weapons = {},
  49. command = "32523534244123565466578696775432421",
  50. max = 6,
  51. salary = 5,
  52. admin = 0,
  53. vote = false,
  54. hasLicense = false,
  55. candemote = false
  56. })
  57.  
  58. TEAM_POL_6 = DarkRP.createJob("SWAT", {
  59. color = Color(34, 85, 85, 255),
  60. model = {"models/piket_playermodel/piket_playermodel.mdl"},
  61. description = [[SWAT to jednostka specjalna Policji.]],
  62. weapons = {"fas2_ifak", "fas2_deagle", "weapon_stungun", "fas2_m67", "fas2_m4a1", "fas2_sg552", "fas2_dv2", "fas2_ammobox"},
  63. command = "swat",
  64. max = 0,
  65. salary = 1000,
  66. admin = 0,
  67. vote = false,
  68. hasLicense = true,
  69. candemote = false,
  70. category = "Other",
  71. PlayerSpawn = function(ply)
  72. ply:SetMaxHealth(100)
  73. ply:SetHealth(100)
  74. ply:SetArmor(400)
  75. end
  76. })
  77.  
  78. TEAM_POL_5 = DarkRP.createJob("Komendant", {
  79. color = Color(34, 85, 85, 255),
  80. model = {
  81. "models/taggart/police01/male_01.mdl",
  82. "models/taggart/police01/male_02.mdl",
  83. "models/taggart/police01/male_03.mdl",
  84. "models/taggart/police01/male_04.mdl",
  85. "models/taggart/police01/male_05.mdl",
  86. "models/taggart/police01/male_06.mdl",
  87. "models/taggart/police01/male_07.mdl",
  88. "models/taggart/police01/male_08.mdl",
  89. "models/taggart/police01/male_09.mdl"
  90. },
  91. description = [[Komendant to najwyższa ranga w policji]],
  92. weapons = {"policebadge", "fas2_mp5sd6", "weapon_stungun", "fas2_deagle", "fas2_m4a1", "fas2_m67", "fas2_ifak"},
  93. command = "komendant",
  94. max = 0,
  95. salary = 500,
  96. admin = 0,
  97. vote = false,
  98. hasLicense = true,
  99. candemote = false,
  100. category = "Other",
  101. PlayerSpawn = function(ply)
  102. ply:SetMaxHealth(100)
  103. ply:SetHealth(100)
  104. ply:SetArmor(100)
  105. end
  106. })
  107.  
  108. TEAM_POL_4 = DarkRP.createJob("Porucznik", {
  109. color = Color(34, 85, 85, 255),
  110. model = {
  111. "models/taggart/police01/male_01.mdl",
  112. "models/taggart/police01/male_02.mdl",
  113. "models/taggart/police01/male_03.mdl",
  114. "models/taggart/police01/male_04.mdl",
  115. "models/taggart/police01/male_05.mdl",
  116. "models/taggart/police01/male_06.mdl",
  117. "models/taggart/police01/male_07.mdl",
  118. "models/taggart/police01/male_08.mdl",
  119. "models/taggart/police01/male_09.mdl"
  120. },
  121. description = [[Porucznik to prawie najwyższa ranga Policjanta]],
  122. weapons = {"policebadge", "fas2_mp5sd6", "weapon_stungun", "fas2_deagle", "fas2_m3s90"},
  123. command = "porucznik",
  124. max = 0,
  125. salary = 500,
  126. admin = 0,
  127. vote = false,
  128. hasLicense = true,
  129. candemote = false,
  130. category = "Other",
  131. PlayerSpawn = function(ply)
  132. ply:SetMaxHealth(100)
  133. ply:SetHealth(100)
  134. ply:SetArmor(100)
  135. end
  136. })
  137.  
  138. TEAM_POL_3 = DarkRP.createJob("Sierżant", {
  139. color = Color(34, 85, 85, 255),
  140. model = {
  141. "models/taggart/police01/male_01.mdl",
  142. "models/taggart/police01/male_02.mdl",
  143. "models/taggart/police01/male_03.mdl",
  144. "models/taggart/police01/male_04.mdl",
  145. "models/taggart/police01/male_05.mdl",
  146. "models/taggart/police01/male_06.mdl",
  147. "models/taggart/police01/male_07.mdl",
  148. "models/taggart/police01/male_08.mdl",
  149. "models/taggart/police01/male_09.mdl"
  150. },
  151. description = [[Sierżant jest wyższą rangą policjanta.]],
  152. weapons = {"fas2_glock20", "policebadge", "weapon_stungun", "fas2_mp5sd6"},
  153. command = "sierzant",
  154. max = 0,
  155. salary = 400,
  156. admin = 0,
  157. vote = false,
  158. hasLicense = true,
  159. candemote = false,
  160. category = "Other",
  161. PlayerSpawn = function(ply)
  162. ply:SetMaxHealth(100)
  163. ply:SetHealth(100)
  164. ply:SetArmor(100)
  165. end
  166. })
  167.  
  168. TEAM_POL_2 = DarkRP.createJob("Policjant", {
  169. color = Color(34, 85, 85, 255),
  170. model = {
  171. "models/taggart/police01/male_01.mdl",
  172. "models/taggart/police01/male_02.mdl",
  173. "models/taggart/police01/male_03.mdl",
  174. "models/taggart/police01/male_04.mdl",
  175. "models/taggart/police01/male_05.mdl",
  176. "models/taggart/police01/male_06.mdl",
  177. "models/taggart/police01/male_07.mdl",
  178. "models/taggart/police01/male_08.mdl",
  179. "models/taggart/police01/male_09.mdl"
  180. },
  181. description = [[Policjant pilnuje porządku w mieście, składa się on z wielu innych rang.]],
  182. weapons = {"fas2_glock20", "weapon_stungun", "policebadge"},
  183. command = "policjant",
  184. max = 0,
  185. salary = 400,
  186. admin = 0,
  187. vote = false,
  188. hasLicense = true,
  189. candemote = false,
  190. category = "Other",
  191. PlayerSpawn = function(ply)
  192. ply:SetMaxHealth(100)
  193. ply:SetHealth(100)
  194. ply:SetArmor(100)
  195. end
  196. })
  197.  
  198. TEAM_POL_1 = DarkRP.createJob("Kadet", {
  199. color = Color(34, 85, 85, 255),
  200. model = {
  201. "models/taggart/police01/male_01.mdl",
  202. "models/taggart/police01/male_02.mdl",
  203. "models/taggart/police01/male_03.mdl",
  204. "models/taggart/police01/male_04.mdl",
  205. "models/taggart/police01/male_05.mdl",
  206. "models/taggart/police01/male_06.mdl",
  207. "models/taggart/police01/male_07.mdl",
  208. "models/taggart/police01/male_08.mdl",
  209. "models/taggart/police01/male_09.mdl"
  210. },
  211. description = [[Ranga przyznawana na początku drogi Policjanta]],
  212. weapons = {},
  213. command = "kadet",
  214. max = 0,
  215. salary = 250,
  216. admin = 0,
  217. vote = false,
  218. hasLicense = true,
  219. candemote = false,
  220. category = "Other",
  221. PlayerSpawn = function(ply)
  222. ply:SetMaxHealth(100)
  223. ply:SetHealth(100)
  224. ply:SetArmor(0)
  225. end
  226. })
  227.  
  228. TEAM_CITIZEN = DarkRP.createJob("Obywatel", {
  229. color = Color(0, 255, 0, 255),
  230. model = {
  231. "models/player/group01/female_01.mdl",
  232. "models/player/group01/female_02.mdl",
  233. "models/player/group01/female_03.mdl",
  234. "models/player/group01/female_04.mdl",
  235. "models/player/group01/female_06.mdl",
  236. "models/player/group01/female_07.mdl",
  237. "models/player/group01/male_01.mdl",
  238. "models/player/group01/male_02.mdl",
  239. "models/player/group01/male_03.mdl",
  240. "models/player/group01/male_04.mdl",
  241. "models/player/group01/male_05.mdl",
  242. "models/player/group01/male_06.mdl",
  243. "models/player/group01/male_07.mdl",
  244. "models/player/group01/male_08.mdl",
  245. "models/player/group01/male_09.mdl"
  246. },
  247. description = [[Obywatel to najniższa osoba w społeczeństwie. Może zatrudnić się w jakimś biznesie lub pracować dorywczo.]],
  248. weapons = {},
  249. command = "325235342441346547567657543423123`12",
  250. max = 0,
  251. salary = 0,
  252. admin = 0,
  253. vote = false,
  254. hasLicense = false,
  255. candemote = false
  256. })
  257.  
  258. TEAM_KEBAB = DarkRP.createJob("Pracownik (Donger kebab)", {
  259. color = Color(0, 255, 0, 255),
  260. model = {
  261. "models/player/group01/female_01.mdl",
  262. "models/player/group01/female_02.mdl",
  263. "models/player/group01/female_03.mdl",
  264. "models/player/group01/female_04.mdl",
  265. "models/player/group01/female_06.mdl",
  266. "models/player/group01/female_07.mdl",
  267. "models/player/group01/male_01.mdl",
  268. "models/player/group01/male_02.mdl",
  269. "models/player/group01/male_03.mdl",
  270. "models/player/group01/male_04.mdl",
  271. "models/player/group01/male_05.mdl",
  272. "models/player/group01/male_06.mdl",
  273. "models/player/group01/male_07.mdl",
  274. "models/player/group01/male_08.mdl",
  275. "models/player/group01/male_09.mdl"
  276. },
  277. description = [[Pracujesz dorywczo w Donger Kebab.]],
  278. weapons = {},
  279. command = "3252353424413465475672345678987654312",
  280. max = 3,
  281. salary = 0,
  282. admin = 0,
  283. cook = true,
  284. vote = false,
  285. hasLicense = false,
  286. candemote = false
  287. })
  288.  
  289.  
  290. TEAM_MAFIA1 = DarkRP.createJob("Mafia", {
  291. color = Color(214, 133, 41, 255),
  292. model = {
  293. "models/player/humans/suits1/male_01.mdl",
  294. "models/player/humans/suits1/male_02.mdl",
  295. "models/player/humans/suits1/male_03.mdl",
  296. "models/player/humans/suits1/male_04.mdl",
  297. "models/player/humans/suits1/male_05.mdl",
  298. "models/player/humans/suits1/male_06.mdl"
  299. },
  300. description = [[Mafia]],
  301. weapons = {},
  302. command = "wertyuijopcfv",
  303. max = 0,
  304. salary = 0,
  305. admin = 0,
  306. vote = false,
  307. hasLicense = false,
  308. candemote = false
  309. })
  310.  
  311. TEAM_MAFIA2 = DarkRP.createJob("Szef Mafii", {
  312. color = Color(160, 96, 24, 255),
  313. model = {
  314. "models/player/humans/suits1/male_01.mdl",
  315. "models/player/humans/suits1/male_02.mdl",
  316. "models/player/humans/suits1/male_03.mdl",
  317. "models/player/humans/suits1/male_04.mdl",
  318. "models/player/humans/suits1/male_05.mdl",
  319. "models/player/humans/suits1/male_06.mdl"
  320. },
  321. description = [[Szef mafii]],
  322. weapons = {},
  323. command = "qertyuiouyjshtgrf",
  324. max = 1,
  325. salary = 1000,
  326. admin = 0,
  327. vote = false,
  328. hasLicense = false,
  329. candemote = false,
  330. })
  331.  
  332.  
  333. --[[---------------------------------------------------------------------------
  334. Define which team joining players spawn into and what team you change to if demoted
  335. ---------------------------------------------------------------------------]]
  336. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  337.  
  338.  
  339. --[[---------------------------------------------------------------------------
  340. Define which teams belong to civil protection
  341. Civil protection can set warrants, make people wanted and do some other police related things
  342. ---------------------------------------------------------------------------]]
  343. GAMEMODE.CivilProtection = {
  344. [TEAM_POL_1] = true,
  345. [TEAM_POL_2] = true,
  346. [TEAM_POL_3] = true,
  347. [TEAM_POL_4] = true,
  348. [TEAM_POL_5] = true,
  349. [TEAM_POL_6] = true,
  350. }
  351.  
  352. --[[---------------------------------------------------------------------------
  353. Jobs that are hitmen (enables the hitman menu)
  354. ---------------------------------------------------------------------------]]
  355. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement