Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.47 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. TEAM_ROUTE = DarkRP.createJob("Securite Routiere", {
  22. color = Color(44, 117, 255, 70),
  23. model = {"models/GTA5/player/CityCop.mdl", "models/player/heleana.mdl"},
  24. description = [[Vous êtes en charge de la sécurité routiere, poursuivez les personnes avec une conduite dangereuse et arreter les. Le Radar est votre meilleur ami.]],
  25. weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weapon_checker", "weapon_arc_atmcard", "weapon_fists", "keys", "weapon_cuff_standard", "weapon_stungun"},
  26. command = 'route',
  27. max = 3,
  28. salary = 160,
  29. admin = 0,
  30. vote = true,
  31. hasLicense = true,
  32. hasRadio = true,
  33. ammo = {
  34. ["pistol"] = 60,
  35.  
  36. })
  37.  
  38. TEAM_TAXi = DarkRP.createJob("Chauffeur de Taxi", {
  39. color = Color(255, 255, 0, 70),
  40. model = "models/grandtheftauto5/franklin.mdl",
  41. description = [[Vous êtes Conducteur de Taxi]],
  42. weapons = "weapon_arc_atmcard", "weapon_fists", "keys",
  43. command = "taxi",
  44. max = 5,
  45. salary = 45,
  46. admin = 0,
  47. vote = false,
  48. hasLicense = false,
  49. hasRadio = false,
  50. canTalkToGlobal = false
  51. })
  52.  
  53. TEAM_THIEF = DarkRP.createJob("Voleur", {
  54. color = Color(132, 132, 132, 70),
  55. model = {"models/h-d/2sg/simonplayer.mdl",
  56. "models/mark2580/dmc/dmc_kat.mdl"},
  57. description = [[Vous êtes un voleur.]],
  58. weapons = {"pickpocket", "weapon_arc_atmcard", "weapon_fists", "keys", "lockpick"},
  59. command = "thief",
  60. max = 4,
  61. salary = 45,
  62. admin = 0
  63. vote = false,
  64. hasLicense = false,
  65. hasRadio = false,
  66. canTalkToGlobal = false
  67. })
  68.  
  69. TEAM_PRODUCTEUR = DarkRP.createJob("*VIP* Producteur de cocaine", {
  70. color = Color(225, 206, 154, 255),
  71. model = {
  72. "models/player/Group01/Female_01.mdl",
  73. "models/player/Group01/Female_02.mdl",
  74. "models/player/Group01/Female_03.mdl",
  75. "models/player/Group01/Female_04.mdl",
  76. "models/player/Group01/Female_06.mdl",
  77. "models/player/group01/male_01.mdl",
  78. "models/player/Group01/Male_02.mdl",
  79. "models/player/Group01/male_03.mdl",
  80. "models/player/Group01/Male_04.mdl",
  81. "models/player/Group01/Male_05.mdl",
  82. "models/player/Group01/Male_06.mdl",
  83. "models/player/Group01/Male_07.mdl",
  84. "models/player/Group01/Male_08.mdl",
  85. "models/player/Group01/Male_09.mdl"},
  86. description = [[Le producteur de cocaine est un expert en création de cocaïne, il essaye a tout prix de s'évader de la prison pour pouvoir créer sa drogue pour s'enrichir.]],
  87. weapons = {},
  88. command = "producteur",
  89. max = 3,
  90. salary = 40,
  91. admin = 0,
  92. vote = false,
  93. hasLicense = false,
  94. customCheck = function(ply) return CLIENT or
  95. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  96. end,
  97. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  98. })
  99.  
  100. TEAM_PARRAIN = DarkRP.createJob("Mafieux", {
  101. color = Color(136, 77, 167, 70),
  102. model = {"models/fearless/mafia07.mdl", "models/fearless/mafia02.mdl", "models/fearless/mafia09.mdl", "models/fearless/mafia04.mdl", "models/fearless/mafia06.mdl"},
  103. description = [[Le Parrain]],
  104. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys"},
  105. command = "mafia",
  106. max = 5,
  107. salary = 45,
  108. admin = 0,
  109. vote = false,
  110. hasLicense = false,
  111. hasRadio = true,
  112. canTalkToGlobal = false
  113. })
  114.  
  115. /*TEAM_BUCHERON = DarkRP.createJob("Bucheron", {
  116. color = Color(230, 90, 67, 70),
  117. model = {
  118. "models/player/Group01/Female_01.mdl",
  119. "models/player/Group01/Female_02.mdl",
  120. "models/player/Group01/Female_03.mdl",
  121. "models/player/Group01/Female_04.mdl",
  122. "models/player/Group01/Female_06.mdl",
  123. "models/player/group01/male_01.mdl",
  124. "models/player/Group01/Male_02.mdl",
  125. "models/player/Group01/male_03.mdl",
  126. "models/player/Group01/Male_04.mdl",
  127. "models/player/Group01/Male_05.mdl",
  128. "models/player/Group01/Male_06.mdl",
  129. "models/player/Group01/Male_07.mdl",
  130. "models/player/Group01/Male_08.mdl",
  131. "models/player/Group01/Male_09.mdl"},
  132. description = [[Bucheron]],
  133. weapons = {"swm_chopping_axe", "weapon_arc_atmcard", "weapon_fists", "keys"},
  134. command = "bucheron",
  135. max = 3,
  136. salary = 45,
  137. admin = 0,
  138. vote = false,
  139. hasLicense = false,
  140. canTalkToGlobal = false
  141. })*/
  142.  
  143. --TEAM_PAYSAN = DarkRP.createJob("Paysan", {
  144. -- color = Color(230, 90, 67, 70),
  145. -- model = {
  146. -- "models/player/Group01/Female_01.mdl",
  147. -- "models/player/Group01/Female_02.mdl",
  148. -- "models/player/Group01/Female_03.mdl",
  149. --"models/player/Group01/Female_04.mdl",
  150. -- "models/player/Group01/Female_06.mdl",
  151. --"models/player/group01/male_01.mdl",
  152. --models/player/Group01/Male_02.mdl",
  153. --"models/player/Group01/male_03.mdl",
  154. --"models/player/Group01/Male_04.mdl",
  155. --"models/player/Group01/Male_05.mdl",
  156. --"models/player/Group01/Male_06.mdl",
  157. -- "models/player/Group01/Male_07.mdl",
  158. --"models/player/Group01/Male_08.mdl",
  159. -- "models/player/Group01/Male_09.mdl"},
  160. -- description = [[Paysan]],
  161. -- weapons = {"weapon_arc_atmcard", "weapon_fists", "keys"},
  162. -- command = "paysan",
  163. -- max = 3,
  164. -- salary = 45,
  165. -- admin = 0,
  166. -- vote = false,
  167. -- hasLicense = false,
  168. --canTalkToGlobal = false
  169. --})
  170.  
  171. TEAM_SECRETAIRE = DarkRP.createJob("Secretaire du Maire", {
  172. color = Color(78, 81, 87, 70),
  173. model = {"models/fearless/rosa.mdl", "models/11thDoctor/thedoctor.mdl"},
  174. description = [[Vous aidez le maire et vous êtes amoureux de lui.Faites tout pour avoir une relation discrète]],
  175. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys"},
  176. command = "secretaire",
  177. max = 1,
  178. salary = 45,
  179. admin = 0,
  180. vote = false,
  181. hasLicense = false,
  182. hasRadio = false,
  183. canTalkToGlobal = false
  184. }
  185.  
  186. TEAM_CORPS = DarkRP.createJob("Garde du corps", {
  187. color = Color(52, 201, 30, 70),
  188. model = {"models/player/smith.mdl"},
  189. description = [[Vous avec pour but de protéger votre employeur.]],
  190. weapons = {"weapon_arc_atmcard", "weapon_fists", "weapon_checker", "keys"},
  191. command = "corps",
  192. max = 4,
  193. salary = 45,
  194. admin = 0,
  195. vote = false,
  196. hasLicense = false,
  197. hasRadio = false,
  198. canTalkToGlobal = false
  199.  
  200. })
  201.  
  202. TEAM_AGENT = DarkRP.createJob("Agent de Sécurite", {
  203. color = Color(52, 201, 36, 70),
  204. model = {"models/player/guard_pack/guard_01.mdl", "models/player/guard_pack/guard_02.mdl", "models/player/guard_pack/guard_03.mdl"},
  205. description = [[Vous devez protéger les magasins des commercants !]],
  206. weapons = {"weapon_arc_atmcard", "weapon_fists", "weapon_checker", "keys",
  207. command = "agent",
  208. max = 4,
  209. salary = 45,
  210. admin = 0,
  211. vote = false,
  212. hasLicense = false,
  213. hasRadio = false,
  214. canTalkToGlobal = false
  215.  
  216. })
  217.  
  218. TEAM_BANK = DarkRP.createJob("Banquier", {
  219. color = Color(9, 82, 40, 70),
  220. model = {"models/fearless/gsuit15.mdl", "models/fearless/gsuit18.mdl"},
  221. description = [[Vous êtes le banquier de la ville. Faites-vous en plein les poches ! :D]],
  222. weapons = {"weapon_arc_atmcard", "weapon_fists","keys"},
  223. command = "bank",
  224. max = 1,
  225. salary = 45,
  226. admin = 0,
  227. vote = false,
  228. hasLicense = false,
  229. hasRadio = false,
  230. canTalkToGlobal = false
  231. })
  232.  
  233. TEAM_Snoop = DarkRP.createJob("Dealer", {
  234. color = Color(121, 137, 51, 70),
  235. model = {"models/snoopdogg.mdl"},
  236. description = [[Vous êtes un gros dealer de drogue.]],
  237. weapons = "weapon_arc_atmcard", "weapon_fists","keys",
  238. command = "dealer",
  239. max = 2,
  240. salary = 45,
  241. admin = 0,
  242. vote = false,
  243. hasLicense = false,
  244. hasRadio = false,
  245. canTalkToGlobal = false
  246. ]]
  247.  
  248. TEAM_RUSSE = DarkRP.createJob("Contrebandier", {
  249. color = Color(248, 164, 11, 70),
  250. model = {"models/mark2580/FF/alyx_ff_v9_replika_player.mdl",
  251. "models/player/arnold_schwarzenegger.mdl"
  252. },
  253. description = [[Vous organisez des roulettes russes.Illegale]],
  254. weapons = {"weapon_arc_atmcard", "weapon_fists","keys","weapon_roulette"},
  255. command = "russe",
  256. max = 3,
  257. salary = 45,
  258. admin = 0,
  259. vote = false,
  260. hasLicense = false,
  261. hasRadio = false,
  262. canTalkToGlobal = false
  263. })
  264.  
  265. TEAM_BLACK == DarkRP.createJob('Marchand Noir', {
  266. color = Color(204, 133, 5, 70),
  267. model = {"Models/Player/slow/amberlyn/re5/chris/slow.mdl",
  268. "Models/Player/slow/amberlyn/re5/sheva/slow.mdl"
  269. },
  270. description = [[Vous êtes un vendeur d'arme illégale]],
  271. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys"},
  272. command = "black",
  273. max = 2,
  274. salary = 45,
  275. admin = 0,
  276. vote = false,
  277. hasLicense = false,
  278. hasRadio = false,
  279. canTalkToGlobal = false
  280. })
  281.  
  282. TEAM_QUINC = DarkRP.createJob("Quincailler", {
  283. color = Color(96, 199, 0, 70),
  284. model = {"models/player/eli.mdl"},
  285. description = [[Vous êtes quincailler]],
  286. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys"},
  287. command = "quinc",
  288. max = 1,
  289. salary = 45,
  290. admin = 0,
  291. vote = false,
  292. hasLicense = false,
  293. hasRadio = false,
  294. canTalkToGlobal = false
  295. })
  296.  
  297. TEAM_BUS = DarkRP.createJob("Chauffeur de Bus", {
  298. color = Color(255, 255, 0, 70),
  299. model = {"models/fearless/suit04.mdl"},
  300. description = [[Vous êtes Chauffeur de Bus et vous devez impérativement respecter les arrêts]],
  301. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys"},
  302. command = "bus",
  303. max = 3,
  304. salary = 45,
  305. admin = 0,
  306. vote = false,
  307. hasLicense = false,
  308. hasRadio = false,
  309. canTalkToGlobal = false
  310. })
  311.  
  312. TEAM_CMAYOR = DarkRP.createJob("Chauffeur du Maire", {
  313. color = Color(255, 230, 0, 70),
  314. model = {"models/fearless/suit04.mdl"},
  315. description = [[Vous êtes le chauffeur officiel du maire.]],
  316. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys"},
  317. command = "cmaire",
  318. max = 1,
  319. salary = 55,
  320. admin = 0,
  321. vote = false,
  322. hasLicense = false,
  323. hasRadio = false,
  324. canTalkToGlobal = false
  325. })
  326.  
  327. TEAM_MAYOR = DarkRP.createJob("Maire", {
  328. color = Color(150, 20, 20, 70),
  329. model = {"models/obama/obama.mdl", "models/player/tfa_irons.mdl", "models/player/female_02_suit.mdl"},
  330. description = [[Le maire de la ville crée des lois pour gouverner la ville.
  331. Si vous êtes le maire vous pouvez créer et acceptez mandats.
  332. Tapez /wanted <name> pour chercher un joueur.
  333. Tapez /jailpos pour définir la position de la prison.
  334. Tapez /lockdown pour lancer un couvre-feu sur la ville.
  335. Tout le monde doit être chez-soi lors d'un couvre-feu.
  336. Les flics patrouillent la zone.
  337. /unlockdown pour terminer le couvre-feu]],
  338. weapons = {"weapon_arc_atmcard", "keys", "weapon_fists"},
  339. command = "mayor",
  340. max = 1,
  341. salary = GAMEMODE.Config.normalsalary * 1.89,
  342. admin = 0,
  343. vote = true,
  344. hasLicense = false,
  345. hasRadio = true,
  346. canTalkToGlobal = true,
  347. mayor = true,
  348. PlayerDeath = function(ply)
  349. if ply:Team() == TEAM_MAYOR then
  350. ply:changeTeam( TEAM_CITIZEN, true )
  351. for k,v in pairs( player.GetAll() ) do
  352. DarkRP.notify(v, 1, 4, "Le maire a été tué!")
  353. end
  354. end
  355. end,
  356. })
  357.  
  358. TEAM_FBI = DarkRP.createJob("FBI", {
  359. color = Color(44, 117, 255, 70),
  360. model = {"models/fbi_pack/fbi_01.mdl", "models/fbi_pack/fbi_02.mdl", "models/fbi_pack/fbi_03.mdl", "models/player/heleana.mdl"},
  361. description = [[FBI]],
  362. weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weapon_checker", "weapon_cuff_standard", "weapon_arc_atmcard", "weapon_fists", "keys", "weapon_stungun"},
  363. command = "fbi",
  364. max = 5,
  365. salary = 45,
  366. admin = 0,
  367. vote = true,
  368. hasLicense = false,
  369. hasRadio = true,
  370. canTalkToGlobal = false
  371. })
  372.  
  373. TEAM_PHOTO = DarkRP.createJob("Photographe", {
  374. color = Color(199, 207, 0, 70),
  375. model = {"models/player/group01/male_01.mdl", "models/player/group01/female_06.mdl", "models/player/group01/male_07.mdl"},
  376. description = [[Vous faites des photos :D]],
  377. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys", "weapon_camera"},
  378. command = "photo",
  379. max = 2,
  380. salary = 45,
  381. admin = 0,
  382. vote = false,
  383. hasLicense = false,
  384. hasRadio = false,
  385. canTalkToGlobal = false
  386. })
  387.  
  388. TEAM_YAMA = DarkRP.createJob("Yamakasi", {
  389. color = Color(199, 207, 0, 70),
  390. model = {"models/player/faith.mdl"},
  391. description = [[Vous escaladez les murs.]],
  392. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys", "climb_swep2"},
  393. command = "yama",
  394. max = 6,
  395. salary = 45,
  396. admin = 0,
  397. vote = false,
  398. hasLicense = false,
  399. hasRadio = false,
  400. canTalkToGlobal = false
  401. })
  402.  
  403. TEAM_BRAQUEUR = DarkRP.createJob("Braqueur", {
  404. color = Color(224, 205, 169, 70),
  405. model = {"models/player/Suits/robber_open.mdl",
  406. "models/player/Suits/robber_shirt.mdl",
  407. "models/player/Suits/robber_shirt_2.mdl",
  408. "models/player/Suits/robber_tie.mdl",
  409. "models/player/Suits/robber_tuckedtie.mdl"},
  410. description = [[Vous êtes un braqueur.]],
  411. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys"},
  412. command = "braq",
  413. max = 5,
  414. salary = 45,
  415. admin = 0,
  416. vote = false,
  417. hasLicense = false,
  418. hasRadio = true,
  419. canTalkToGlobal = false
  420. })
  421.  
  422. TEAM_SECRET = DarkRP.createJob("Agent Secret", {
  423. color = Color(20, 150, 20, 70),
  424. model = {
  425. "models/player/Group01/Female_01.mdl",
  426. "models/player/Group01/Female_02.mdl",
  427. "models/player/Group01/Female_03.mdl",
  428. "models/player/Group01/Female_04.mdl",
  429. "models/player/Group01/Female_06.mdl",
  430. "models/player/group01/male_01.mdl",
  431. "models/player/Group01/Male_02.mdl",
  432. "models/player/Group01/male_03.mdl",
  433. "models/player/Group01/Male_04.mdl",
  434. "models/player/Group01/Male_05.mdl",
  435. "models/player/Group01/Male_06.mdl",
  436. "models/player/Group01/Male_07.mdl",
  437. "models/player/Group01/Male_08.mdl",
  438. "models/player/Group01/Male_09.mdl"
  439. },
  440. description = [[Le devoir du policier est de protéger chaque citoyen qui vit dans la ville.
  441. Vous avez le pouvoir d'arrêter les criminels et protéger les innocents.
  442. Toucher un joueur avec votre arrest baton pour les mettres en prison.
  443. Toucher un joueur avec un stunstick et ils pourront apprendre à obéir à la loi.
  444. Le Bélier (Battering Ram) peut briser la porte d'un criminel, si vous avez un mandat d'arrestation.
  445. Le Bélier (Battering Ram) peut également débloquer des props gelés (si activé).
  446. Tapez /wanted <name> pour alerter le publi c de la présence d'un criminel.]],
  447. weapons = {"arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weapon_cuff_standard", "weapon_checker", "weapon_arc_atmcard", "weapon_fists", "keys", "weapon_stungun"},
  448. command = "secret",
  449. max = 1,
  450. salary = 150,
  451. admin = 0,
  452. vote = true,
  453. hasLicense = false,
  454. hasRadio = true,
  455. ammo = {
  456. ["pistol"] = 60,
  457. }
  458. })
  459.  
  460. -- Job VIP --
  461.  
  462. /*TEAM_MINEUR = DarkRP.createJob("*VIP* Mineur", {
  463. color = Color(230, 90, 67, 70),
  464. model = {
  465. "models/player/Group01/Female_01.mdl",
  466. "models/player/Group01/Female_02.mdl",
  467. "models/player/Group01/Female_03.mdl",
  468. "models/player/Group01/Female_04.mdl",
  469. "models/player/Group01/Female_06.mdl",
  470. "models/player/group01/male_01.mdl",
  471. "models/player/Group01/Male_02.mdl",
  472. "models/player/Group01/male_03.mdl",
  473. "models/player/Group01/Male_04.mdl",
  474. "models/player/Group01/Male_05.mdl",
  475. "models/player/Group01/Male_06.mdl",
  476. "models/player/Group01/Male_07.mdl",
  477. "models/player/Group01/Male_08.mdl",
  478. "models/player/Group01/Male_09.mdl"},
  479. description = [[Mineur]],
  480. weapons = {"mgs_pickaxe", "weapon_arc_atmcard", "weapon_fists", "keys"},
  481. command = "mineur",
  482. max = 3,
  483. salary = 45,
  484. admin = 0,
  485. vote = false,
  486. hasLicense = false,
  487. canTalkToGlobal = false,
  488. customCheck = function(ply) return CLIENT or
  489. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  490. end,
  491. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  492. })*/
  493.  
  494. TEAM_CHIMISTE = DarkRP.createJob("*VIP* Chimiste", {
  495. color = Color(0, 213, 255, 70),
  496. model = "models/Agent_47/agent_47.mdl",
  497. description = [[Vous êtes un chimiste, vous devez rester discret. Attention à ne pas vous faire avoir pas les policiers]],
  498. weapons = {"weapon_fists", "keys"},
  499. command = "meth",
  500. max = 3,
  501. salary = 45,
  502. admin = 0,
  503. vote = false,
  504. hasLicense = false,
  505. hasRadio = false,
  506. canTalkToGlobal = false,
  507. customCheck = function(ply) return CLIENT or
  508. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  509. end,
  510. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  511. })
  512.  
  513. --TEAM_HACKEUR = DarkRP.createJob("*VIP* Hackeur", {
  514. --color = Color(132, 132, 132, 70),
  515. --model = "models/player/aiden_pearce.mdl",
  516. --description = [[Vous êtes un hackeur et pouvez pirater les ATMs.]],
  517. --weapons = {"weapon_arc_atmcard", "weapon_fists", "keys", "weapon_arc_atmhack", "keypad_cracker"},
  518. --command = "hack",
  519. --max = 2,
  520. --salary = 45,
  521. --admin = 0,
  522. --vote = false,
  523. --hasLicense = false,
  524. --hasRadio = true,
  525. --canTalkToGlobal = false,
  526. --customCheck = function(ply) return CLIENT or
  527. -- table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  528. --end,
  529. --CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  530. --})
  531.  
  532. TEAM_LEADER = DarkRP.createJob("*VIP* LEADER GIGN", {
  533. color = Color(44, 117, 255, 70),
  534. model = {"models/player/pmc_4/pmc__01.mdl"},
  535. description = [[GIGN]],
  536. weapons = {"arrest_stick", "unarrest_stick", "fas2_m4a1", "stunstick", "weapon_checker", "weapon_arc_atmcard", "weapon_fists", "keys", "weapon_stungun", "weapon_cuff_standard", "weapon_shield", "weapon_doorbreak"},
  537. command = "leader",
  538. max = 1,
  539. salary = 45,
  540. admin = 0,
  541. vote = false,
  542. hasLicense = false,
  543. hasRadio = true,
  544. canTalkToGlobal = false,
  545. customCheck = function(ply) return CLIENT or
  546. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  547. end,
  548. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  549. })
  550.  
  551. TEAM_GIGN = DarkRP.createJob("*VIP* GIGN", {
  552. color = Color(44, 117, 255, 70),
  553. model = {"models/player/pmc_4/pmc__02.mdl",
  554. "models/player/pmc_4/pmc__03.mdl",
  555. "models/player/pmc_4/pmc__04.mdl",
  556. "models/player/pmc_4/pmc__05.mdl",
  557. "models/player/pmc_4/pmc__07.mdl",
  558. "models/player/pmc_4/pmc__08.mdl",
  559. "models/player/pmc_4/pmc__09.mdl",
  560. "models/player/pmc_4/pmc__10.mdl",
  561. "models/player/pmc_4/pmc__11.mdl",
  562. "models/player/pmc_4/pmc__12.mdl",
  563. "models/player/pmc_4/pmc__13.mdl",
  564. "models/player/pmc_4/pmc__14.mdl"},
  565. description = [[GIGN]],
  566. weapons = {"arrest_stick", "unarrest_stick", "fas2_m4a1", "stunstick", "weapon_checker", "weapon_arc_atmcard", "weapon_fists", "keys", "weapon_stungun", "weapon_cuff_standard", "weapon_shield", "weapon_doorbreak"},
  567. command = "gign",
  568. max = 4,
  569. salary = 45,
  570. admin = 0,
  571. vote = false,
  572. hasLicense = false,
  573. hasRadio = true,
  574. canTalkToGlobal = false,
  575. customCheck = function(ply) return CLIENT or
  576. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  577. end,
  578. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  579. })
  580.  
  581. TEAM_GIGN_SNIPER = DarkRP.createJob("*VIP* GIGN Sniper", {
  582. color = Color(44, 117, 255, 70),
  583. model = {"models/player/pmc_4/pmc__02.mdl",
  584. "models/player/pmc_4/pmc__03.mdl",
  585. "models/player/pmc_4/pmc__04.mdl",
  586. "models/player/pmc_4/pmc__05.mdl",
  587. "models/player/pmc_4/pmc__07.mdl",
  588. "models/player/pmc_4/pmc__08.mdl",
  589. "models/player/pmc_4/pmc__09.mdl",
  590. "models/player/pmc_4/pmc__10.mdl",
  591. "models/player/pmc_4/pmc__11.mdl",
  592. "models/player/pmc_4/pmc__12.mdl",
  593. "models/player/pmc_4/pmc__13.mdl",
  594. "models/player/pmc_4/pmc__14.mdl"},
  595. description = [[GIGN Sniper]],
  596. weapons = {"arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weapon_checker", "weapon_arc_atmcard", "weapon_fists", "keys", "weapon_stungun", "weapon_shield", "weapon_cuff_standard", "m9k_m24"},
  597. command = "gignsniper",
  598. max = 2,
  599. salary = 60,
  600. admin = 0,
  601. vote = false,
  602. hasLicense = false,
  603. hasRadio = true,
  604. canTalkToGlobal = false,
  605. customCheck = function(ply) return CLIENT or
  606. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  607. end,
  608. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  609. })
  610.  
  611. TEAM_ASSA = DarkRP.createJob("*VIP* Assassin", {
  612. color = Color(237, 0, 0, 70),
  613. model = {"models/player/edward_kenway.mdl", "models/player/shao_jun.mdl"},
  614. description = [[Vous êtes un tueur qui recoit des contrats.]],
  615. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys", "weapon_thehiddenblade", "climb_swep2"},
  616. command = "assassin",
  617. max = 1,
  618. salary = 55,
  619. admin = 0,
  620. vote = false,
  621. hasLicense = false,
  622. canTalkToGlobal = false,
  623. customCheck = function(ply) return CLIENT or
  624. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  625. end,
  626. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  627. })
  628.  
  629. TEAM_BRAQUEURLEAD = DarkRP.createJob("*VIP* Leader des Braqueurs", {
  630. color = Color(225, 206, 154, 70),
  631. model = {"models/player/Suits/robber_open.mdl",
  632. "models/player/Suits/robber_shirt.mdl",
  633. "models/player/Suits/robber_shirt_2.mdl",
  634. "models/player/Suits/robber_tie.mdl",
  635. "models/player/Suits/robber_tuckedtie.mdl"},
  636. description = [[Vous êtes le chef des braqueurs et votre but est de réunir les braqueurs pour cambrioler la Banque.]],
  637. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys", "m9k_colt1911"},
  638. command = "leadbraq",
  639. max = 1,
  640. salary = 45,
  641. admin = 0,
  642. vote = false,
  643. hasLicense = false,
  644. hasRadio = true,
  645. canTalkToGlobal = false,
  646. customCheck = function(ply) return CLIENT or
  647. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  648. end,
  649. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  650. })
  651.  
  652. TEAM_CGANG = DarkRP.createJob("*VIP* Chef Gangster", {
  653. color = Color(75, 75, 75, 70),
  654. model = {"models/sd/players/[dbs_grappler].mdl"},
  655. description = [[Vous êtes le Chef des Gangsters, votre but ]],
  656. weapons = {"weapon_fists","weapon_arc_atmcard", "keys", "m9k_colt1911"},
  657. command = "chefgangster",
  658. max = 1,
  659. salary = 65,
  660. admin = 0,
  661. vote = false,
  662. hasLicense = false,
  663. hasRadio = true,
  664. customCheck = function(ply) return CLIENT or
  665. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  666. end,
  667. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  668. })
  669.  
  670. TEAM_CHEFPARRAIN = DarkRP.createJob("*VIP* Chef Parrain", {
  671. color = Color(102, 0, 153, 70),
  672. model = {"models/fearless/don1.mdl"},
  673. description = [[Chef Parrain]],
  674. weapons = {"weapon_arc_atmcard", "weapon_fists", "unarrest_stick", "keys", "m9k_colt1911"},
  675. command = "chefparrain",
  676. max = 1,
  677. salary = 45,
  678. admin = 0,
  679. vote = false,
  680. hasLicense = false,
  681. hasRadio = true,
  682. canTalkToGlobal = false,
  683. customCheck = function(ply) return CLIENT or
  684. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  685. end,
  686. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  687. })
  688.  
  689. TEAM_PSYCHO = DarkRP.createJob("*VIP* Psychopathe", {
  690. color = Color(237, 0, 0, 70),
  691. model = {
  692. "models/player/Group01/Female_01.mdl",
  693. "models/player/Group01/Female_02.mdl",
  694. "models/player/Group01/Female_03.mdl",
  695. "models/player/Group01/Female_04.mdl",
  696. "models/player/Group01/Female_06.mdl",
  697. "models/player/group01/male_01.mdl",
  698. "models/player/Group01/Male_02.mdl",
  699. "models/player/Group01/male_03.mdl",
  700. "models/player/Group01/Male_04.mdl",
  701. "models/player/Group01/Male_05.mdl",
  702. "models/player/Group01/Male_06.mdl",
  703. "models/player/Group01/Male_07.mdl",
  704. "models/player/Group01/Male_08.mdl",
  705. "models/player/Group01/Male_09.mdl",
  706. "models/billy_jigsaw.mdl",
  707. "models/player/bobert/AkmHarley.mdl"
  708. },
  709. description = [[Vous êtes un Psychopathe, qui tue avec des raisons assez folle]],
  710. weapons = {"weapon_arc_atmcard", "weapon_fists", "keys", "fas2_machete"},
  711. command = "Psycho",
  712. max = 1,
  713. salary = 45,
  714. admin = 0,
  715. vote = false,
  716. hasLicense = false,
  717. hasRadio = false,
  718. canTalkToGlobal = false,
  719. customCheck = function(ply) return CLIENT or
  720. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  721. end,
  722. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  723. })
  724.  
  725. TEAM_MOB = DarkRP.createJob("*VIP* Tueurs à Gages", {
  726. color = Color(237, 0, 0, 70),
  727. model = {"models/player/agent_47.mdl"},
  728. description = [[]],
  729. weapons = {"weapon_arc_atmcard", "weapon_fists", "m9k_contender", "keys"},
  730. command = "mobboss",
  731. max = 2,
  732. salary = GAMEMODE.Config.normalsalary * 1.34,
  733. admin = 0,
  734. vote = false,
  735. hasLicense = false,
  736. hasRadio = false,
  737. canTalkToGlobal = false,
  738. customCheck = function(ply) return CLIENT or
  739. table.HasValue({'superadmin','vip','admin'}, ply:GetNWString('usergroup'))
  740. end,
  741. CustomCheckFailMsg = 'Ce métier est pour les VIP seulement.',
  742. })
  743.  
  744. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  745.  
  746. TEAM_STAFF = DarkRP.createJob("Staff LILIUM", {
  747. color = Color(32, 100, 100, 70),
  748. model = {"models/katazuro/defalt_playermodel.mdl", "models/player/anon/anon.mdl", "models/mark2580/borderlands_ps/gladiator_athena.mdl", "models/mark2580/borderlands2/maya_siren_player.mdl"},
  749. description = [[]],
  750. weapons = {"weapon_arc_atmcard", "weapon_fists", "m9k_contender", "weapon_cuff_standard", "keys"},
  751. command = "staff",
  752. max = 65,
  753. salary = GAMEMODE.Config.normalsalary * 1.34,
  754. admin = 0,
  755. vote = false,
  756. hasLicense = false,
  757. hasRadio = true,
  758. canTalkToGlobal = false,
  759. customCheck = function(ply) return CLIENT or
  760. table.HasValue({'superadmin','modo','admin'}, ply:GetNWString('usergroup'))
  761. end,
  762. CustomCheckFailMsg = 'Ce métier est pour le Staff seulement.',
  763. })
  764. --[[---------------------------------------------------------------------------
  765. Define which team joining players spawn into and what team you change to if demoted
  766. ---------------------------------------------------------------------------]]
  767. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  768.  
  769.  
  770. --[[---------------------------------------------------------------------------
  771. Define which teams belong to civil protection
  772. Civil protection can set warrants, make people wanted and do some other police related things
  773. ---------------------------------------------------------------------------]]
  774. GAMEMODE.CivilProtection = {
  775. [TEAM_POLICE] = true,
  776. [TEAM_CHIEF] = true,
  777. [TEAM_MAYOR] = true,
  778. [TEAM_LEADER] = true,
  779. [TEAM_GIGN] = true,
  780. [TEAM_FBI] = true,
  781. }
  782.  
  783. --[[---------------------------------------------------------------------------
  784. Jobs that are hitmen (enables the hitman menu)
  785. ---------------------------------------------------------------------------]]
  786. DarkRP.addHitmanTeam(TEAM_MOB)
  787. DarkRP.addHitmanTeam(TEAM_ASSA)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement