Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.17 KB | None | 0 0
  1. -- Protection Civil
  2.  
  3. TEAM_RECRUEPC = DarkRP.createJob("Recrue protection civil", {
  4. color = Color(0, 16, 150, 255),
  5. model = {"models/dpfilms/metropolice/playermodels/pm_hdpolice.mdl"},
  6. description = [[]],
  7. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker"},
  8. command = "rct",
  9. max = 3,
  10. salary = 15,
  11. admin = 0,
  12. vote = false,
  13. hasLicense = true,
  14. PlayerSpawn = function(ply)
  15. ply:SetMaxHealth(100)
  16. ply:SetHealth(100)
  17. ply:SetArmor(150)
  18. end,
  19. customCheck = function(ply) return table.HasValue({"recruepc", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  20. end,
  21. category = "Civil Protection"
  22. })
  23.  
  24. TEAM_PCCINQ = DarkRP.createJob("Protection civil 05", {
  25. color = Color(0, 16, 150, 255),
  26. model = {"models/dpfilms/metropolice/playermodels/pm_retrocop.mdl"},
  27. description = [[]],
  28. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol"},
  29. command = "pccinq",
  30. max = 5,
  31. salary = 15,
  32. admin = 0,
  33. vote = false,
  34. hasLicense = true,
  35. PlayerSpawn = function(ply)
  36. ply:SetMaxHealth(150)
  37. ply:SetHealth(150)
  38. ply:SetArmor(200)
  39. end,
  40. customCheck = function(ply) return table.HasValue({"05", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  41. end,
  42. category = "Civil Protection"
  43. })
  44.  
  45.  
  46. TEAM_PCSHIELD = DarkRP.createJob("Protection civil shield", {
  47. color = Color(0, 16, 150, 255),
  48. model = {"models/dpfilms/metropolice/playermodels/pm_rtb_police.mdl"},
  49. description = [[]],
  50. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "riot_shield", "weapon_smg1", "weapon_shotgun", "weapon_frag"},
  51. command = "pcshield",
  52. max = 2,
  53. salary = 15,
  54. admin = 0,
  55. vote = false,
  56. hasLicense = true,
  57. PlayerSpawn = function(ply)
  58. ply:SetMaxHealth(350)
  59. ply:SetHealth(350)
  60. ply:SetArmor(400)
  61. end,
  62. customCheck = function(ply) return table.HasValue({"shield", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  63. end,
  64. category = "Civil Protection"
  65. })
  66.  
  67. TEAM_HELIX = DarkRP.createJob("Helix protection civil", {
  68. color = Color(0, 16, 150, 255),
  69. model = {"models/dpfilms/metropolice/playermodels/pm_civil_medic.mdl"},
  70. description = [[]],
  71. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "weapon_medkit"}
  72. command = "helix",
  73. max = 2,
  74. salary = 15,
  75. admin = 0,
  76. vote = false,
  77. hasLicense = true,
  78. PlayerSpawn = function(ply)
  79. ply:SetMaxHealth(150)
  80. ply:SetHealth(150)
  81. ply:SetArmor(200)
  82. end,
  83. customCheck = function(ply) return table.HasValue({"helix", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  84. end,
  85. category = "Civil Protection"
  86. })
  87.  
  88. TEAM_PCQUATRE = DarkRP.createJob("Protection civil 04", {
  89. color = Color(0, 16, 150, 255),
  90. model = {"models/dpfilms/metropolice/playermodels/pm_skull_police.mdl"},
  91. description = [[]],
  92. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "weapon_smg1", "weapon_frag"},
  93. command = "pcquatre",
  94. max = 4,
  95. salary = 15,
  96. admin = 0,
  97. vote = false,
  98. hasLicense = true,
  99. PlayerSpawn = function(ply)
  100. ply:SetMaxHealth(300)
  101. ply:SetHealth(300)
  102. ply:SetArmor(350)
  103. end,
  104. customCheck = function(ply) return table.HasValue({"04", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  105. end,
  106. category = "Civil Protection"
  107. })
  108.  
  109. TEAM_PCTROIS = DarkRP.createJob("Protection civil 03", {
  110. color = Color(0, 16, 150, 255),
  111. model = {"models/dpfilms/metropolice/playermodels/pm_rogue_police.mdl"},
  112. description = [[]],
  113. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "weapon_smg1", "weapon_frag"},
  114. command = "pctrois",
  115. max = 3,
  116. salary = 15,
  117. admin = 0,
  118. vote = false,
  119. hasLicense = true,
  120. PlayerSpawn = function(ply)
  121. ply:SetMaxHealth(450)
  122. ply:SetHealth(450)
  123. ply:SetArmor(500)
  124. end,
  125. customCheck = function(ply) return table.HasValue({"03", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  126. end,
  127. category = "Civil Protection"
  128. })
  129.  
  130. TEAM_PCDEUX = DarkRP.createJob("Protection civil 02", {
  131. color = Color(0, 16, 150, 255),
  132. model = {"models/dpfilms/metropolice/playermodels/pm_phoenix_police.mdl"},
  133. description = [[]],
  134. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "weapon_ar2", "weapon_frag"},
  135. command = "pcdeux",
  136. max = 3,
  137. salary = 15,
  138. admin = 0,
  139. vote = false,
  140. hasLicense = true,
  141. PlayerSpawn = function(ply)
  142. ply:SetMaxHealth(500)
  143. ply:SetHealth(500)
  144. ply:SetArmor(550)
  145. end,
  146. customCheck = function(ply) return table.HasValue({"02", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  147. end,
  148. category = "Civil Protection"
  149. })
  150.  
  151. TEAM_PCUN = DarkRP.createJob("Protection civil 01", {
  152. color = Color(0, 16, 150, 255),
  153. model = {"models/dpfilms/metropolice/playermodels/pm_police_bt.mdl"},
  154. description = [[]],
  155. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "weapon_ar2", "weapon_frag"},
  156. command = "pcun",
  157. max = 2,
  158. salary = 15,
  159. admin = 0,
  160. vote = false,
  161. hasLicense = true,
  162. PlayerSpawn = function(ply)
  163. ply:SetMaxHealth(550)
  164. ply:SetHealth(550)
  165. ply:SetArmor(600)
  166. end,
  167. customCheck = function(ply) return table.HasValue({"01", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  168. end,
  169. category = "Civil Protection"
  170. })
  171.  
  172. TEAM_OFC = DarkRP.createJob("Officier protection civil", {
  173. color = Color(0, 16, 150, 255),
  174. model = {"models/dpfilms/metropolice/playermodels/pm_policetrench.mdl"},
  175. description = [[]],
  176. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_357", "weapon_ar2", "weapon_shotgun", "weapon_frag"},
  177. command = "ofc",
  178. max = 1,
  179. salary = 50,
  180. admin = 0,
  181. vote = false,
  182. hasLicense = false,
  183. PlayerSpawn = function(ply)
  184. ply:SetMaxHealth(600)
  185. ply:SetHealth(600)
  186. ply:SetArmor(650)
  187. end,
  188. customCheck = function(ply) return table.HasValue({"ofc", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  189. end,
  190. mayor = true,
  191. category = "Civil Protection"
  192. })
  193.  
  194. TEAM_ADMINISTRATEUR = DarkRP.createJob("Administrateur", {
  195. color = Color(224, 0, 0, 255),
  196. model = {"models/taggart/gallahan.mdl"},
  197. description = [[]],
  198. weapons = {"re_hands", "alyx_emptool"},
  199. command = "administrateur",
  200. max = 1,
  201. salary = 100,
  202. admin = 0,
  203. vote = false,
  204. hasLicense = false,
  205. PlayerSpawn = function(ply)
  206. ply:SetMaxHealth(100)
  207. ply:SetHealth(100)
  208. ply:SetArmor(50)
  209. end,
  210. customCheck = function(ply) return table.HasValue({"administrateur", "superadmin" , "fondateur"}, ply:GetNWString("usergroup"))
  211. end,
  212. mayor = true,
  213. category = "Civil Protection"
  214. })
  215.  
  216. --Overwatch Transhumans Arms
  217.  
  218. TEAM_OTA = DarkRP.createJob("OTA", {
  219. color = Color(187, 0, 217, 255),
  220. model = {"models/ffcm/combine_soldier.mdl"},
  221. description = [[]],
  222. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_357", "weapon_ar2", "weapon_frag"},
  223. command = "ota",
  224. max = 3,
  225. salary = 15,
  226. admin = 0,
  227. vote = false,
  228. hasLicense = true,
  229. PlayerSpawn = function(ply)
  230. ply:SetMaxHealth(1200)
  231. ply:SetHealth(1200)
  232. ply:SetArmor(1500)
  233. end,
  234. customCheck = function(ply) return table.HasValue({"ota", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  235. end,
  236. category = "Overwatch Transhumans Arms"
  237. })
  238.  
  239. TEAM_OTAELITE = DarkRP.createJob("OTA Elite", {
  240. color = Color(187, 0, 217, 255),
  241. model = {"models/ffcm/combine_super_soldier.mdl"},
  242. description = [[]],
  243. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_357", "weapon_ar2", "weapon_frag"},
  244. command = "otaelite",
  245. max = 1,
  246. salary = 15,
  247. admin = 0,
  248. vote = false,
  249. hasLicense = true,
  250. PlayerSpawn = function(ply)
  251. ply:SetMaxHealth(1500)
  252. ply:SetHealth(1500)
  253. ply:SetArmor(2500)
  254. end,
  255. customCheck = function(ply) return table.HasValue({"otaelite", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  256. end,
  257. category = "Overwatch Transhumans Arms"
  258. })
  259.  
  260. TEAM_OTAGARDE = DarkRP.createJob("OTA Garde", {
  261. color = Color(187, 0, 217, 255),
  262. model = {"models/ffcm/combine_soldier_prisonguard.mdl"},
  263. description = [[]],
  264. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_357", "weapon_shotgun", "weapon_frag"},
  265. command = "otagarde",
  266. max = 2,
  267. salary = 15,
  268. admin = 0,
  269. vote = false,
  270. hasLicense = true,
  271. PlayerSpawn = function(ply)
  272. ply:SetMaxHealth(1350)
  273. ply:SetHealth(1350)
  274. ply:SetArmor(1700)
  275. end,
  276. customCheck = function(ply) return table.HasValue({"otagarde", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  277. end,
  278. category = "Overwatch Transhumans Arms"
  279. })
  280.  
  281. --Autres membres du Cartel
  282.  
  283. TEAM_STALKER = DarkRP.createJob("Stalker", {
  284. color = Color(0, 16, 150, 255),
  285. model = {"models/player/zelpa/stalker.mdl"},
  286. description = [[]],
  287. weapons = {"re_hands"},
  288. command = "stalker",
  289. max = 2,
  290. salary = 65,
  291. admin = 0,
  292. vote = false,
  293. hasLicense = true,
  294. candemote = true,
  295. category = "Civil Protection",
  296. PlayerSpawn = function(ply)
  297. ply:SetMaxHealth(100)
  298. ply:SetHealth(100)
  299. ply:SetArmor(0)
  300. end,
  301. customCheck = function(ply) return table.HasValue({"stalker", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  302. end,
  303. CustomCheckFailMsg = "Vous n'avez pas le bon grade !"
  304. })
  305.  
  306. TEAM_CREMATOR = DarkRP.createJob("Cremator", {
  307. color = Color(0, 16, 150, 255),
  308. model = {"models/player/cremator_player.mdl"},
  309. description = [[]],
  310. weapons = {"re_hands", "alyx_emptool"},
  311. command = "cremator",
  312. max = 1,
  313. salary = 65,
  314. admin = 0,
  315. vote = false,
  316. hasLicense = true,
  317. candemote = true,
  318. category = "Civil Protection",
  319. PlayerSpawn = function(ply)
  320. ply:SetMaxHealth(500)
  321. ply:SetHealth(500)
  322. ply:SetArmor(600)
  323. end,
  324. customCheck = function(ply) return table.HasValue({"cremator", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  325. end,
  326. CustomCheckFailMsg = "Vous n'avez pas le bon grade !"
  327. })
  328.  
  329. TEAM_VORTIGAUNTESCLAVE= DarkRP.createJob("Vortigaunt esclave", {
  330. color = Color(0, 16, 150, 255),
  331. model = {"models/player/vortigaunt.mdl"},
  332. description = [[]],
  333. weapons = {"re_hands", "swep_vortigaunt_beam"},
  334. command = "vortigauntescalve",
  335. max = 2,
  336. salary = 65,
  337. admin = 0,
  338. vote = false,
  339. hasLicense = true,
  340. candemote = true,
  341. category = "Civil Protection",
  342. PlayerSpawn = function(ply)
  343. ply:SetMaxHealth(250)
  344. ply:SetHealth(250)
  345. ply:SetArmor(0)
  346. end,
  347. customCheck = function(ply) return table.HasValue({"vortigauntesclave", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  348. end,
  349. CustomCheckFailMsg = "Vous n'avez pas le bon grade !"
  350. })
  351.  
  352. --Civiles
  353.  
  354. TEAM_CITOYEN = DarkRP.createJob("Citoyen", {
  355. color = Color(0, 204, 7, 255),
  356. model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  357. description = [[]],
  358. weapons = {"re_hands"},
  359. command = "citoyen",
  360. max = 0,
  361. salary = 0,
  362. admin = 0,
  363. vote = false,
  364. PlayerSpawn = function(ply)
  365. ply:SetMaxHealth(30)
  366. ply:SetHealth(30)
  367. ply:SetArmor(0)
  368. end,
  369. hasLicense = false,
  370. candemote = false,
  371. category = "Civil",
  372. bodygroups = {
  373. ["torso"] = {0},
  374. ["legs"] = {0},
  375. }
  376. })
  377.  
  378. TEAM_LOYALISTE = DarkRP.createJob("Loyaliste", {
  379. color = Color(0, 214, 188, 255),
  380. model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  381. description = [[]],
  382. weapons = {"re_hands"},
  383. command = "loyaliste",
  384. max = 0,
  385. salary = 0,
  386. admin = 0,
  387. vote = false,
  388. PlayerSpawn = function(ply)
  389. ply:SetMaxHealth(100)
  390. ply:SetHealth(100)
  391. ply:SetArmor(0)
  392. end,
  393. customCheck = function(ply) return table.HasValue({"loyaliste", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  394. end,
  395. hasLicense = false,
  396. candemote = false,
  397. category = "Civil",
  398. bodygroups = {
  399. ["torso"] = {3,15,16,17,18,19,20},
  400. ["legs"] = {6},
  401. }
  402. })
  403.  
  404. -- Civils Workers Union
  405.  
  406. TEAM_CWURECRUE = DarkRP.createJob("CWU Recrue", {
  407. color = Color(0, 214, 188, 255),
  408. model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  409. description = [[]],
  410. weapons = {"re_hands"},
  411. command = "cwurecrue",
  412. max = 4,
  413. salary = 100,
  414. admin = 0,
  415. vote = false,
  416. PlayerSpawn = function(ply)
  417. ply:SetMaxHealth(100)
  418. ply:SetHealth(100)
  419. ply:SetArmor(0)
  420. end,
  421. customCheck = function(ply) return table.HasValue({"cwurecrue", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  422. end,
  423. hasLicense = false,
  424. category = "Civil Workers Union",
  425. bodygroups = {
  426. ["torso"] = {12},
  427. ["legs"] = {6},
  428. }
  429. })
  430.  
  431. TEAM_CWUCONFIRME = DarkRP.createJob("CWU Confirme", {
  432. color = Color(0, 214, 188, 255),
  433. model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  434. description = [[]],
  435. weapons = {"re_hands"},
  436. command = "cwuconfirme",
  437. max = 3,
  438. salary = 100,
  439. admin = 0,
  440. vote = false,
  441. PlayerSpawn = function(ply)
  442. ply:SetMaxHealth(100)
  443. ply:SetHealth(100)
  444. ply:SetArmor(0)
  445. end,
  446. customCheck = function(ply) return table.HasValue({"cwuconfirme", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  447. end,
  448. hasLicense = false,
  449. category = "Civil Workers Union",
  450. bodygroups = {
  451. ["torso"] = {13},
  452. ["legs"] = {6},
  453. }
  454. })
  455.  
  456. TEAM_CWUSUPERVISEUR = DarkRP.createJob("CWU Superviseur", {
  457. color = Color(0, 214, 188, 255),
  458. model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  459. description = [[]],
  460. weapons = {"re_hands"},
  461. command = "cwusuperviseur",
  462. max = 1,
  463. salary = 150,
  464. admin = 0,
  465. vote = false,
  466. PlayerSpawn = function(ply)
  467. ply:SetMaxHealth(100)
  468. ply:SetHealth(100)
  469. ply:SetArmor(10)
  470. end,
  471. customCheck = function(ply) return table.HasValue({"cwusuperviseur", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  472. end,
  473. hasLicense = false,
  474. category = "Civil Workers Union",
  475. bodygroups = {
  476. ["torso"] = {14},
  477. ["legs"] = {6},
  478. }
  479. })
  480.  
  481. --Résistance
  482.  
  483. --TEAM_REFUGIE = DarkRP.createJob("Recrue Resistant ", {
  484. -- color = Color(214, 177, 0, 255),
  485. -- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  486. -- description = [[]],
  487. -- weapons = {"re_hands"},
  488. -- command = "refugie",
  489. -- max = 5,
  490. -- salary = 2,
  491. -- admin = 0,
  492. -- vote = false,
  493. -- hasLicense = false,
  494. -- candemote = true,
  495. -- PlayerSpawn = function(ply)
  496. -- ply:SetMaxHealth(80)
  497. -- ply:SetHealth(80)
  498. -- ply:SetArmor(0)
  499. -- end,
  500. -- customCheck = function(ply) return table.HasValue({"refugie", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  501. -- end,
  502. -- bodygroups = {
  503. -- ["torso"] = {0},
  504. -- ["legs"] = {0},
  505. -- }
  506. --})
  507.  
  508. TEAM_RECRERESISTANT = DarkRP.createJob("Recrue Resistant ", {
  509. color = Color(214, 177, 0, 255),
  510. model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  511. description = [[]],
  512. weapons = {"re_hands"},
  513. command = "recrueresistant",
  514. max =2,
  515. salary = 2,
  516. admin = 0,
  517. vote = false,
  518. hasLicense = false,
  519. candemote = true,
  520. category = "Résistance",
  521. PlayerSpawn = function(ply)
  522. ply:SetMaxHealth(100)
  523. ply:SetHealth(100)
  524. ply:SetArmor(10)
  525. end,
  526. customCheck = function(ply) return table.HasValue({"recrueresistant", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  527. end,
  528. bodygroups = {
  529. ["torso"] = {5,6,7,8,9},
  530. ["legs"] = {6},
  531. }
  532. })
  533.  
  534. TEAM_RESISTANTINFILTRE = DarkRP.createJob("Resistant Infiltre", {
  535. color = Color(214, 177, 0, 255),
  536. model = {"models/dpfilms/metropolice/playermodels/pm_resistance_police.mdl"},
  537. description = [[]],
  538. weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker"},
  539. command = "resistantinfiltre",
  540. max = 1,
  541. salary = 15,
  542. admin = 0,
  543. vote = false,
  544. hasLicense = true,
  545. PlayerSpawn = function(ply)
  546. ply:SetMaxHealth(150)
  547. ply:SetHealth(150)
  548. ply:SetArmor(200)
  549. end,
  550. customCheck = function(ply) return table.HasValue({"resistantinfiltre", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  551. end,
  552. category = "Résistance",
  553. bodygroups = {
  554. ["torso"] = {5,6,7,8,9},
  555. ["legs"] = {6},
  556. }
  557. })
  558.  
  559. TEAM_RESISTANT = DarkRP.createJob("Resistant", {
  560. color = Color(214, 177, 0, 255),
  561. model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  562. description = [[]],
  563. weapons = {"re_hands"},
  564. command = "resistant",
  565. max = 4,
  566. salary = 3,
  567. admin = 0,
  568. vote = false,
  569. hasLicense = false,
  570. candemote = true,
  571. category = "Résistance",
  572. PlayerSpawn = function(ply)
  573. ply:SetMaxHealth(100)
  574. ply:SetHealth(100)
  575. ply:SetArmor(30)
  576. end,
  577. customCheck = function(ply) return table.HasValue({"resistant", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  578. end,
  579. CustomCheckFailMsg = "Vous n'avez pas le bon grade !",
  580. bodygroups = {
  581. ["torso"] = {5,6,7,8,9,3,15,16,17,18,19,20},
  582. ["legs"] = {6},
  583. }
  584. })
  585.  
  586. TEAM_RESISTANTMEDECIN = DarkRP.createJob("Resistant Medecin", {
  587. color = Color(214, 177, 0, 255),
  588. model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  589. description = [[]],
  590. weapons = {"re_hands", "weapon_medkit"},
  591. command = "resistantmedecin",
  592. max = 1,
  593. salary = 4,
  594. admin = 0,
  595. vote = false,
  596. hasLicense = false,
  597. candemote = true,
  598. category = "Résistance",
  599. PlayerSpawn = function(ply)
  600. ply:SetMaxHealth(100)
  601. ply:SetHealth(100)
  602. ply:SetArmor(30)
  603. end,
  604. customCheck = function(ply) return table.HasValue({"resistantmedecin", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  605. end,
  606. CustomCheckFailMsg = "Vous n'avez pas le bon grade !",
  607. bodygroups = {
  608. ["torso"] = {5,6,7,8,9,3,15,16,17,18,19,20},
  609. ["legs"] = {6},
  610. }
  611. })
  612.  
  613. TEAM_SERGENTRESISTANT = DarkRP.createJob("Sergent Resistant", {
  614. color = Color(214, 177, 0, 255),
  615. model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  616. description = [[]],
  617. weapons = {"re_hands", "weapon_pistol"},
  618. command = "sergentresistant",
  619. max = 2,
  620. salary = 10,
  621. admin = 0,
  622. vote = false,
  623. hasLicense = false,
  624. candemote = true,
  625. category = "Résistance",
  626. PlayerSpawn = function(ply)
  627. ply:SetMaxHealth(100)
  628. ply:SetHealth(100)
  629. ply:SetArmor(50)
  630. end,
  631. customCheck = function(ply) return table.HasValue({"sergentresistant", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  632. end,
  633. CustomCheckFailMsg = "Vous n'avez pas le bon grade !",
  634. bodygroups = {
  635. ["torso"] = {5,6,7,8,9,3,15,16,17,18,19,20},
  636. ["legs"] = {6},
  637. }
  638. })
  639.  
  640. TEAM_CHEFRESISTANT = DarkRP.createJob("Chef de la Resistance", {
  641. color = Color(214, 177, 0, 255),
  642. model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
  643. description = [[]],
  644. weapons = {"re_hands", "weapon_357"},
  645. command = "chefresistant",
  646. max = 1,
  647. salary = 15,
  648. admin = 0,
  649. vote = false,
  650. hasLicense = false,
  651. candemote = true,
  652. category = "Résistance",
  653. PlayerSpawn = function(ply)
  654. ply:SetMaxHealth(100)
  655. ply:SetHealth(100)
  656. ply:SetArmor(100)
  657. end,
  658. customCheck = function(ply) return table.HasValue({"chefresistant", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  659. end,
  660. CustomCheckFailMsg = "Vous n'avez pas le bon grade !",
  661. bodygroups = {
  662. ["torso"] = {5,6,7,8,9,3,15,16,17,18,19,20},
  663. ["legs"] = {6},
  664. }
  665. })
  666.  
  667. TEAM_VORTIGAUNT = DarkRP.createJob("Vortigaunt", {
  668. color = Color(214, 177, 0, 255),
  669. model = {"models/player/vortigaunt.mdl"},
  670. description = [[]],
  671. weapons = {"re_hands", "swep_vortigaunt_beam"},
  672. command = "vortigaunt",
  673. max = 2,
  674. salary = 65,
  675. admin = 0,
  676. vote = false,
  677. hasLicense = true,
  678. candemote = true,
  679. category = "Résistance",
  680. PlayerSpawn = function(ply)
  681. ply:SetMaxHealth(150)
  682. ply:SetHealth(150)
  683. ply:SetArmor(0)
  684. end,
  685. customCheck = function(ply) return table.HasValue({"vortigaunt", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  686. end,
  687. CustomCheckFailMsg = "Vous n'avez pas le bon grade !",
  688. })
  689.  
  690. TEAM_MAITRE = DarkRP.createJob("Maitre du jeu", {
  691. color = Color(255, 0, 0, 255),
  692. model = {"models/dpfilms/metropolice/playermodels/pm_badass_police.mdl", "models/dpfilms/metropolice/playermodels/pm_steampunk_police.mdl"},
  693. description = [[]],
  694. weapons = {"re_hands"},
  695. command = "admin",
  696. max = 0,
  697. salary = 100,
  698. admin = 0,
  699. vote = false,
  700. hasLicense = true,
  701. candemote = true,
  702. category = "Staff",
  703. customCheck = function(ply) return table.HasValue({"modotest", "modo", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
  704. end,
  705. CustomCheckFailMsg = "Nope ^^",
  706. })
  707.  
  708. --[[---------------------------------------------------------------------------
  709. Define which team joining players spawn into and what team you change to if demoted
  710. ---------------------------------------------------------------------------]]
  711. GAMEMODE.DefaultTeam = TEAM_CITOYEN
  712. --[[---------------------------------------------------------------------------
  713. Define which teams belong to civil protection
  714. Civil protection can set warrants, make people wanted and do some other police related things
  715. ---------------------------------------------------------------------------]]
  716. GAMEMODE.CivilProtection = {
  717. [TEAM_POLICE] = true,
  718. [TEAM_CHIEF] = false,
  719. [TEAM_MAYOR] = true,
  720. }
  721. --[[---------------------------------------------------------------------------
  722. Jobs that are hitmen (enables the hitman menu)
  723. ---------------------------------------------------------------------------]]
  724. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement