Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.05 KB | None | 0 0
  1. categories.lua
  2.  
  3. DarkRP.createCategory{
  4. name = "Pistols", -- The name of the category.
  5. categorises = "shipments", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  6. startExpanded = false, -- Whether the category is expanded when you open the F4 menu.
  7. color = Color(0, 107, 0, 255), -- The color of the category header.
  8. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  9. sortOrder = 1, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  10. }
  11. DarkRP.createCategory{
  12. name = "Shotguns", -- The name of the category.
  13. categorises = "shipments", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  14. startExpanded = false, -- Whether the category is expanded when you open the F4 menu.
  15. color = Color(0, 107, 0, 255), -- The color of the category header.
  16. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  17. sortOrder = 3, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  18. }
  19.  
  20.  
  21. DarkRP.createCategory{
  22. name = "SMGs", -- The name of the category.
  23. categorises = "shipments", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  24. startExpanded = false, -- Whether the category is expanded when you open the F4 menu.
  25. color = Color(0, 107, 0, 255), -- The color of the category header.
  26. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  27. sortOrder = 2, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  28. }
  29.  
  30. DarkRP.createCategory{
  31. name = "Assault Rifles", -- The name of the category.
  32. categorises = "shipments", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  33. startExpanded = false, -- Whether the category is expanded when you open the F4 menu.
  34. color = Color(0, 107, 0, 255), -- The color of the category header.
  35. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  36. sortOrder = 4, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  37. }
  38.  
  39. DarkRP.createCategory{
  40. name = "Sniper Rifles", -- The name of the category.
  41. categorises = "shipments", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  42. startExpanded = false, -- Whether the category is expanded when you open the F4 menu.
  43. color = Color(0, 107, 0, 255), -- The color of the category header.
  44. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  45. sortOrder = 5, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  46. }
  47.  
  48. DarkRP.createCategory{
  49. name = "Police", -- The name of the category.
  50. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  51. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  52. color = Color(0, 107, 0, 255), -- The color of the category header.
  53. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  54. sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  55. }
  56.  
  57. DarkRP.createCategory{
  58. name = "Secret Service", -- The name of the category.
  59. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  60. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  61. color = Color(0, 107, 0, 255), -- The color of the category header.
  62. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  63. sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  64. }
  65.  
  66. DarkRP.createCategory{
  67. name = "Donald Trump", -- The name of the category.
  68. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  69. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  70. color = Color(0, 107, 0, 255), -- The color of the category header.
  71. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  72. sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  73. }
  74.  
  75. DarkRP.createCategory{
  76. name = "SWAT", -- The name of the category.
  77. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  78. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  79. color = Color(0, 107, 0, 255), -- The color of the category header.
  80. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  81. sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  82. }
  83.  
  84. DarkRP.createCategory{
  85. name = "Staff", -- The name of the category.
  86. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  87. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  88. color = Color(0, 107, 0, 255), -- The color of the category header.
  89. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  90. sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  91. }
  92.  
  93. DarkRP.createCategory{
  94. name = "Hitmen", -- The name of the category.
  95. categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
  96. startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
  97. color = Color(0, 107, 0, 255), -- The color of the category header.
  98. canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
  99. sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
  100. }
  101.  
  102. shipments.lua
  103.  
  104. DarkRP.createCategory{
  105. name = "Pistols",
  106. categorises = "shipments",
  107. startExpanded = true,
  108. color = Color(0, 107, 0, 255),
  109. canSee = fp{fn.Id, true},
  110. sortOrder = 255,
  111. }
  112. DarkRP.createShipment("Glock-20", {
  113. model = "models/weapons/w_pist_glock18.mdl",
  114. entity = "fas2_glock20",
  115. price = 10000,
  116. amount = 10,
  117. separate = true,
  118. pricesep = 185,
  119. noship = false,
  120. allowed = {TEAM_GUN},
  121. category = "Pistols",
  122. })
  123. DarkRP.createShipment("IMI Desert Eagle", {
  124. model = "models/weapons/w_pist_deagle.mdl",
  125. entity = "fas2_deagle",
  126. price = 10000,
  127. amount = 10,
  128. separate = true,
  129. pricesep = 185,
  130. noship = false,
  131. allowed = {TEAM_GUN},
  132. category = "Pistols",
  133. })
  134. DarkRP.createShipment("M1911", {
  135. model = "models/weapons/w_1911.mdl",
  136. entity = "fas2_m1911",
  137. price = 10000,
  138. amount = 10,
  139. separate = true,
  140. pricesep = 185,
  141. noship = false,
  142. allowed = {TEAM_GUN},
  143. category = "Pistols",
  144. })
  145. DarkRP.createShipment("OTS-33 Pernach", {
  146. model = "models/weapons/world/pistols/ots33.mdl",
  147. entity = "fas2_ots33",
  148. price = 10000,
  149. amount = 10,
  150. separate = true,
  151. pricesep = 185,
  152. noship = false,
  153. allowed = {TEAM_GUN},
  154. category = "Pistols",
  155. })
  156. DarkRP.createShipment("P226", {
  157. model = "models/weapons/w_pist_p228.mdl",
  158. entity = "fas2_p226"",
  159. price = 10000,
  160. amount = 10,
  161. separate = true,
  162. pricesep = 185,
  163. noship = false,
  164. allowed = {TEAM_GUN},
  165. category = "Pistols",
  166. })
  167. DarkRP.createShipment("Raging Bull", {
  168. model = "models/weapons/w_357.mdl",
  169. entity = "fas2_ragingbull"",
  170. price = 10000,
  171. amount = 10,
  172. separate = true,
  173. pricesep = 185,
  174. noship = false,
  175. allowed = {TEAM_GUN},
  176. category = "Pistols",
  177. })
  178. DarkRP.createCategory{
  179. name = "Shotguns",
  180. categorises = "shipments",
  181. startExpanded = true,
  182. color = Color(0, 107, 0, 255),
  183. canSee = fp{fn.Id, true},
  184. sortOrder = 255,
  185. })
  186. DarkRP.createShipment("Remington 870", {
  187. model = "models/weapons/w_m3.mdl",
  188. entity = "fas2_rem870"",
  189. price = 40000,
  190. amount = 10,
  191. separate = true,
  192. pricesep = 185,
  193. noship = false,
  194. allowed = {TEAM_GUN},
  195. category = "Shotguns",
  196. })
  197. DarkRP.createShipment("KS-23", {
  198. model = "models/weapons/world/shotguns/ks23.mdl",
  199. entity = "fas2_ks23"",
  200. price = 40000,
  201. amount = 10,
  202. separate = true,
  203. pricesep = 185,
  204. noship = false,
  205. allowed = {TEAM_GUN},
  206. category = "Shotguns",
  207. })
  208. DarkRP.createShipment("M3-S90", {
  209. model = "models/weapons/w_m3.mdl",
  210. entity = "fas2_m3s90"",
  211. price = 40000,
  212. amount = 10,
  213. separate = true,
  214. pricesep = 185,
  215. noship = false,
  216. allowed = {TEAM_GUN},
  217. category = "Shotguns",
  218. })
  219. }
  220. DarkRP.createCategory{
  221. name = "Assault Rifles",
  222. categorises = "shipments",
  223. startExpanded = true,
  224. color = Color(0, 107, 0, 255),
  225. canSee = fp{fn.Id, true},
  226. sortOrder = 255,
  227. }
  228.  
  229. DarkRP.createShipment("M4A1", {
  230. model = "models/weapons/w_m4.mdl",
  231. entity = "fas2_m4a1",
  232. price = 75000,
  233. amount = 10,
  234. seperate = true,
  235. pricesep = 500,
  236. noship = false,
  237. allowed = {TEAM_GUN},
  238. category = "Assault Rifles",
  239. })
  240. DarkRP.createShipment("RPK", {
  241. model = "models/weapons/w_ak47.mdl",
  242. entity = "fas2_rpk",
  243. price = 85000,
  244. amount = 10,
  245. seperate = true,
  246. pricesep = 500,
  247. noship = false,
  248. allowed = {TEAM_GUN},
  249. category = "Assault Rifles",
  250. })
  251.  
  252. DarkRP.createShipment("SG550", {
  253. model = "models/weapons/w_sg550.mdl",
  254. entity = "fas2_sg550",
  255. price = 65000,
  256. amount = 10,
  257. seperate = true,
  258. pricesep = 500,
  259. noship = false,
  260. allowed = {TEAM_GUN},
  261. category = "Assault Rifles"
  262. })
  263.  
  264. DarkRP.createShipment("SG552", {
  265. model = "models/weapons/w_sg550.mdl",
  266. entity = "fas2_sg552",
  267. price = 75000,
  268. amount = 10,
  269. seperate = true,
  270. pricesep = 500,
  271. noship = false,
  272. allowed = {TEAM_GUN},
  273. category = "Assault Rifles"
  274. })
  275.  
  276.  
  277. DarkRP.createShipment("TOZ-34", {
  278. model = "models/weapons/world/rifles/ak12.mdl",
  279. entity = "fas2_toz34",
  280. price = 85000,
  281. amount = 10,
  282. seperate = true,
  283. pricesep = 500,
  284. noship = false,
  285. allowed = {TEAM_GUN},
  286. category = "Assault Rifles"
  287. })
  288.  
  289.  
  290.  
  291. DarkRP.createShipment("AK-47", {
  292. model = "models/weapons/w_ak47.mdl",
  293. entity = "fas2_ak47",
  294. price = 85000,
  295. amount = 10,
  296. seperate = true,
  297. pricesep = 500,
  298. noship = false,
  299. allowed = {TEAM_GUN},
  300. category = "Assault Rifles"
  301. })
  302.  
  303.  
  304.  
  305. DarkRP.createShipment("AK-74", {
  306. model = "models/weapons/w_rif_ak47.mdl",
  307. entity = "fas2_74",
  308. price = 85000,
  309. amount = 10,
  310. seperate = true,
  311. pricesep = 500,
  312. noship = false,
  313. allowed = {TEAM_GUN},
  314. category = "Assault Rifles"
  315. })
  316.  
  317. DarkRP.createShipment("AN-94", {
  318. model = "models/weapons/world/rifles/an94.mdl",
  319. entity = "fas2_an94",
  320. price = 95000,
  321. amount = 10,
  322. seperate = true,
  323. pricesep = 500,
  324. noship = false,
  325. allowed = {TEAM_GUN},
  326. category = "Assault Rifles"
  327. })
  328.  
  329. DarkRP.createShipment("AK-12", {
  330. model = "models/weapons/world/rifles/ak12.mdl",
  331. entity = "fas2_ak12",
  332. price = 70000,
  333. amount = 10,
  334. seperate = true,
  335. pricesep = 500,
  336. noship = false,
  337. allowed = {TEAM_GUN},
  338. category = "Assault Rifles"
  339. })
  340.  
  341.  
  342.  
  343. DarkRP.createShipment("Famas F1", {
  344. model = "models/weapons/w_rif_famas.mdl",
  345. entity = "fas2_famas",
  346. price = 55000,
  347. amount = 10,
  348. seperate = true,
  349. pricesep = 500,
  350. noship = false,
  351. allowed = {TEAM_GUN},
  352. category = "Assault Rifles"
  353. })
  354.  
  355. DarkRP.createShipment("G3A3", {
  356. model = "models/weapons/w_g3a3.mdl",
  357. entity = "fas2_g3",
  358. price = 65000,
  359. amount = 10,
  360. seperate = true,
  361. pricesep = 500,
  362. noship = false,
  363. allowed = {TEAM_GUN},
  364. category = "Assault Rifles"
  365. })
  366.  
  367. DarkRP.createShipment("G36e", {
  368. model = "models/weapons/w_g36e.mdl",
  369. entity = "fas2_g36e",
  370. price = 65000,
  371. amount = 10,
  372. seperate = true,
  373. pricesep = 500,
  374. noship = false,
  375. allowed = {TEAM_GUN},
  376. category = "Assault Rifles"
  377. })
  378.  
  379. DarkRP.createShipment("IMI Galil", {
  380. model = "models/weapons/w_rif_galil.mdl",
  381. entity = "fas2_galil",
  382. price = 55000,
  383. amount = 10,
  384. seperate = true,
  385. pricesep = 500,
  386. noship = false,
  387. allowed = {TEAM_GUN},
  388. category = "Assault Rifles"
  389. })
  390.  
  391. DarkRP.createCategory{
  392. name = "SMGs",
  393. categorises = "shipments",
  394. startExpanded = true,
  395. color = Color(0, 107, 0, 255),
  396. canSee = fp{fn.Id, true},
  397. sortOrder = 255,
  398. }
  399.  
  400. DarkRP.createShipment("Mp5 A5", {
  401. model = "models/weapons/w_mp5.mdl",
  402. entity = "fas2_mp5a5",
  403. price = 22000,
  404. amount = 10,
  405. seperate = true,
  406. pricesep = 500,
  407. noship = false,
  408. allowed = {TEAM_GUN},
  409. category = "SMG"
  410. })
  411.  
  412. DarkRP.createShipment("Mp5 K", {
  413. model = "models/weapons/w_mp5.mdl",
  414. entity = "fas2_mp5k",
  415. price = 22000,
  416. amount = 10,
  417. seperate = true,
  418. pricesep = 500,
  419. noship = false,
  420. allowed = {TEAM_GUN},
  421. category = "SMG"
  422. })
  423.  
  424. DarkRP.createShipment("Mp5 SD6", {
  425. model = "models/weapons/w_mp5.mdl",
  426. entity = "fas2_mp5sd6",
  427. price = 22000,
  428. amount = 10,
  429. seperate = true,
  430. pricesep = 500,
  431. noship = false,
  432. allowed = {TEAM_GUN},
  433. category = "SMG"
  434. })
  435.  
  436. DarkRP.createShipment("PP-19 Bizon", {
  437. model = "models/weapons/w_smg_biz.mdl",
  438. entity = "fas2_pp19",
  439. price = 22000,
  440. amount = 10,
  441. seperate = true,
  442. pricesep = 500,
  443. noship = false,
  444. allowed = {TEAM_GUN},
  445. category = "SMGs"
  446. })
  447.  
  448. DarkRP.createShipment("Uzi", {
  449. model = "models/weapons/w_mp5.mdl",
  450. entity = "fas2_uzi",
  451. price = 22000,
  452. amount = 10,
  453. seperate = true,
  454. pricesep = 500,
  455. noship = false,
  456. allowed = {TEAM_GUN},
  457. category = "SMGs"
  458. })
  459.  
  460. DarkRP.createCategory{
  461. name = "Sniper Rifles",
  462. categorises = "shipments",
  463. startExpanded = true,
  464. color = Color(0, 107, 0, 255),
  465. canSee = fp{fn.Id, true},
  466. sortOrder = 255,
  467. category = "Sniper Rifles"
  468. }
  469.  
  470. DarkRP.createShipment("M21", {
  471. model = "models/weapons/w_m14.mdl",
  472. entity = "fas2_m21",
  473. price = 85000,
  474. amount = 10,
  475. seperate = true,
  476. pricesep = 500,
  477. noship = false,
  478. allowed = {TEAM_GUN},
  479. category = "Sniper Rifles"
  480. })
  481.  
  482. DarkRP.createShipment("M24", {
  483. model = "models/weapons/w_m24.mdl",
  484. entity = "fas2_m24",
  485. price = 105000,
  486. amount = 10,
  487. seperate = true,
  488. pricesep = 500,
  489. noship = false,
  490. allowed = {TEAM_GUN},
  491. category = "Sniper Rifles"
  492. })
  493.  
  494. DarkRP.createShipment("SKS", {
  495. model = "models/weapons/world/rifles/sks.mdl",
  496. entity = "fas2_sks",
  497. price = 65000,
  498. amount = 10,
  499. seperate = true,
  500. pricesep = 500,
  501. noship = false,
  502. allowed = {TEAM_GUN},
  503. category = "Sniper Rifles
  504.  
  505. jobs.lua
  506.  
  507. TEAM_FIGHT = AddExtraTeam("Fight Club Manager", {
  508. color = Color(125, 125, 200, 255),
  509. model = "models/player/Group01/male_02.mdl",
  510. description = [[As a fight club manager you can set up your fight club
  511. on any state you buy. Both players must agree to the fight clubs terms
  512. before any pvp fights occur.
  513.  
  514. SALARYL:45]],
  515. weapons = {"hl2_combo_fists"},
  516. command = "fight",
  517. max = 1,
  518. salary = 45,
  519. admin = 0,
  520. vote = false,
  521. Category = "Citizens",
  522. hasLicense = false
  523. })
  524.  
  525. TEAM_BODYGUARD = AddExtraTeam("Body Guard", {
  526. color = Color(0,68,89,255),
  527. model = "models/player/odessa.mdl",
  528. description = [[As a bodyguard it is your job to protect your employer
  529. and his estate.
  530.  
  531. SALARY:60]],
  532. weapons = {"hl2_combo_fists"},
  533. command = "bodyguard",
  534. max = 2,
  535. salary = 60,
  536. admin = 0,
  537. vote = false,
  538. Category = "Citizens",
  539. hasLicense = false
  540. })
  541.  
  542. TEAM_THIEF = AddExtraTeam("Thief", {
  543. color = Color(10, 255, 200, 255),
  544. model = "models/player/arctic.mdl",
  545. description = [[You are a thief.
  546. SALARY:45]],
  547. weapons = {"keypad_cracker", "lockpick", "hl2_combo_fists", "m9k_glock"},
  548. command = "thief",
  549. max = 3,
  550. salary = 45,
  551. admin = 0,
  552. vote = false,
  553. hasLicense = false
  554. })
  555.  
  556. TEAM_PROTHIEF = AddExtraTeam("Pro Thief", {
  557. color = Color(111, 199, 175, 255),
  558. model = "models/player/arctic.mdl",
  559. description = [[You are a pro thief.
  560.  
  561. SALARY:60]],
  562. weapons = {"prokeypadcracker", "pro_lockpick_update", "hl2_combo_fists", "fas2_sr25", "fas2_m3s90", "fas2_m4a1"},
  563. command = "prothief",
  564. max = 3,
  565. salary = 60,
  566. admin = 0,
  567. vote = false,
  568. hasLicense = false
  569. })
  570.  
  571. TEAM_HOTEL = AddExtraTeam("Hotel manager", {
  572. color = Color(10, 255, 200, 255),
  573. model = "models/player/Group01/male_08.mdl",
  574. description = [[
  575.  
  576.  
  577. SALARY:55]],
  578. weapons = {"hl2_combo_fists"},
  579. command = "hotel",
  580. max = 1,
  581. salary = 55,
  582. admin = 0,
  583. vote = false,
  584. Category = "Citizens",
  585. hasLicense = false
  586. })
  587.  
  588. TEAM_NINJA = AddExtraTeam("Ninja", {
  589. color = Color(255, 93, 0, 255),
  590. model = "models/player/charple.mdl",
  591. description = [[You are a ninja.
  592.  
  593. SALARY:90]],
  594. weapons = {"hl2_combo_fists", "grapplehook", "weapon_mad_knife"},
  595. command = "ninja",
  596. max = 2,
  597. salary = 65,
  598. admin = 0,
  599. vote = false,
  600. category = "Citizens",
  601. hasLicense = false
  602. })
  603.  
  604.  
  605. TEAM_ADMIN = AddExtraTeam("Admin On Patrol", {
  606. color = Color(100, 100, 100, 255),
  607. model = {
  608. "models/player/combine_super_soldier.mdl",
  609. },
  610. description = [[Info]],
  611. weapons = {"hl2_combo_fists"},
  612. command = "admin",
  613. max = 10,
  614. salary = 1000,
  615. admin = 0,
  616. category = "Staff",
  617. vote = false,
  618. hasLicense = false,
  619. customCheck = function(ply)
  620. return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("sadmingolddonator") or ply:IsUserGroup("developer") or ply:IsUserGroup("trialadmin") or ply:IsUserGroup("junioradmin") or ply:IsUserGroup("trialadmingolddonator")
  621. end
  622. })
  623.  
  624.  
  625. --[[---------------------------------------------------------------------------
  626. Define which team joining players spawn into and what team you change to if demoted
  627. ---------------------------------------------------------------------------]]
  628. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  629. --[[---------------------------------------------------------------------------
  630. Define which teams belong to civil protection
  631. Civil protection can set warrants, make people wanted and do some other police related things
  632. ---------------------------------------------------------------------------]]
  633.  
  634. TEAM_POLICE = AddExtraTeam("Police Officer", {
  635. color = Color(25, 25, 170, 255),
  636. model = "models/player/police.mdl",
  637. description = [[Info]],
  638.  
  639. SALARY:50]],
  640. weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_glock", "stunstick", "door_ram", "weaponchecker"},
  641. command = "Police",
  642. max = 6,
  643. salary = 50,
  644. admin = 0,
  645. vote = true,
  646. hasLicense = true
  647. category = "Police",
  648. })
  649. TEAM_CHIEF = AddExtraTeam("Police Sergeant", {
  650. color = Color(20, 20, 255, 255),
  651. model = "models/player/combine_soldier_prisonguard.mdl",
  652. description = [[Police Chief/SGT
  653.  
  654. SALARY:60]],
  655. weapons = {"arrest_stick", "unarrest_stick", "weapon_mad_p228", "stunstick", "door_ram", "weaponchecker"},
  656. command = "chief",
  657. max = 1,
  658. salary = 60,
  659. admin = 0,
  660. vote = false,
  661. hasLicense = true,
  662. category = "Police",
  663. NeedToChangeFrom = TEAM_POLICE
  664. })
  665. TEAM_MAYOR = AddExtraTeam("Mayor", {
  666. color = Color(150, 20, 20, 255),
  667. model = "models/player/breen.mdl",
  668. description = [[You are the mayor.
  669.  
  670. SALARY:100]],
  671. weapons = {},
  672. command = "mayor",
  673. max = 1,
  674. salary = 100,
  675. admin = 0,
  676. vote = true,
  677. category = "Donald Trump",
  678. hasLicense = false
  679. })
  680. TEAM_SS = AddExtraTeam("Secret Service", {
  681. color = Color(255, 10, 10, 255),
  682. model = "models/player/combine_soldier.mdl",
  683. description = [[You are a Secret Service
  684. SALARY:50]],
  685. weapons = {"weapon_mad_p228", "hl2_combo_fists", "weapon_mad_mp5"},
  686. command = "secretservice",
  687. max = 2,
  688. salary = 50,
  689. admin = 0,
  690. category = "Secret Service",
  691. vote = true,
  692. hasLicense = true
  693. })
  694. TEAM_FBI = AddExtraTeam("F.B.I", {
  695. color = Color(50, 90, 255, 255),
  696. model = "models/player/riot.mdl",
  697. description = [[ You are a F.B.I
  698.  
  699. SALARY:120]],
  700. weapons = {"hl2_combo_fists", "weapon_mad_m4", "weapon_mad_p228"},
  701. command = "fbi",
  702. max = 2,
  703. salary = 120,
  704. admin = 0,
  705. vote = false,
  706. category = "Police",
  707. hasLicense = false
  708. })
  709. TEAM_SWAT = AddExtraTeam("S.W.A.T", {
  710. color = Color(50, 90, 255, 255),
  711. model = "models/player/urban.mdl",
  712. description = [[ You are a S.W.A.T
  713. SALARY:100]],
  714. weapons = {"weapon_mad_mp5", "arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "hl2_combo_fists", "weapon_mad_p228"},
  715. command = "swat",
  716. max = 3,
  717. salary = 100,
  718. admin = 0,
  719. vote = true,
  720. category = "SWAT",
  721. hasLicense = true
  722. })
  723. TEAM_SWATCO = AddExtraTeam("S.W.A.T Commander", {
  724. color = Color(10, 10, 100, 255),
  725. model = "models/player/urban.mdl",
  726. description = [[ You are a Swat CO
  727.  
  728. SALARY:130]],
  729. weapons = {"arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "weapon_mad_m4", "hl2_combo_fists", "weapon_mad_deagle"},
  730. command = "swatco",
  731. max = 1,
  732. salary = 130,
  733. admin = 0,
  734. vote = false,
  735. category = "SWAT",
  736. hasLicense = true,
  737. NeedToChangeFrom = TEAM_SWAT
  738. })
  739. --[[---------------------------------------------------------------------------
  740. Jobs that are hitmen (enables the hitman menu)
  741. ---------------------------------------------------------------------------]]
  742. DarkRP.addHitmanTeam(TEAM_MOB)
  743.  
  744. TEAM_BOUNTY = AddExtraTeam("Bounty Hunter", {
  745. color = Color(125, 125, 256, 252),
  746. model = "models/player/Group01/Female_02.mdl",
  747. description = [[As a bounty hunter its your job to hunt players down and kill them.
  748. SALARYL:50]],
  749. weapons = {"hl2_combo_fists"},
  750. command = "bounty",
  751. max = 4,
  752. salary = 50,
  753. admin = 0,
  754. vote = false,
  755. category = "Hitmen"
  756. hasLicense = true
  757. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement