SHARE
TWEET

Untitled

a guest Sep 22nd, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local GAMEMODE = GAMEMODE or GM
  2.  
  3. TEAM_CHOIXDEFACTION = DarkRP.createJob("Choix de faction", {
  4.    color = Color(109, 109, 109, 255),
  5.    model = "models/ishi/halo_rebirth/player/offduty/male/offduty_snippy.mdl",
  6.    description = [[Choisissez votre faction.]],
  7.    weapons = {},
  8.    command = "CDLF",
  9.    max = 0,
  10.    salary = 0,
  11.    admin = 0, vote = false,
  12.    hasLicense = false,
  13.    candemote = false,
  14.    -- CustomCheck
  15.    medic = false,
  16.    chief = false,
  17.    mayor = false,
  18.    hobo = false,
  19.    cook = false,
  20. })
  21.  
  22.  
  23. -- Covenants
  24.  
  25. TEAM_GROGNARD1 = DarkRP.createJob("Grognard 1", {
  26.    color = Color(127, 0, 255, 255),
  27.    model = "models/kaesar/halo_grunt/halo_grunt.mdl",
  28.    description = [[Capacité: Grenade]],
  29.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "halo_swep_plasmanade"},
  30.    command = "G1",
  31.    F4JobFilter = "Faction Covenante",
  32.    max = 10,
  33.    salary = 50,
  34.    admin = 0, vote = false,
  35.    hasLicense = false,
  36.    candemote = false,
  37.    -- CustomCheck
  38.    medic = false,
  39.    chief = false,
  40.    mayor = false,
  41.    hobo = false,
  42.    cook = false,
  43.     bodygroups = {
  44.         ["mask"] = {0},
  45.         ["pack"] = {0},
  46.         },
  47.         PlayerDeath = function(ply, weapon, killer)
  48.         ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
  49.         end
  50. })
  51.  
  52. TEAM_GROGNARD2 = DarkRP.createJob("Grognard 2", {
  53.    color = Color(127, 0, 255, 255),
  54.    model = "models/kaesar/halo_grunt/halo_grunt.mdl",
  55.    description = [[Capacité: Grenade
  56.    Prix: 350cR]],
  57.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "halo_swep_plasmanade"},
  58.    command = "G2",
  59.    F4JobFilter = "Faction Covenante",
  60.    max = 5,
  61.    salary = 50,
  62.    admin = 0, vote = false,
  63.    hasLicense = false,
  64.    candemote = false,
  65.    -- CustomCheck
  66.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "G2") or string.find(ply:GetUserGroup() , "G3") or ply:IsAdmin() end,
  67.    medic = false,
  68.    chief = false,
  69.    mayor = false,
  70.    hobo = false,
  71.    cook = false,
  72.    level = 5,
  73.     bodygroups = {
  74.         ["mask"] = {0},
  75.         ["pack"] = {1},
  76.         },
  77.         PlayerDeath = function(ply, weapon, killer)
  78.         ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
  79.         end
  80. })
  81.  
  82. TEAM_GROGNARD3 = DarkRP.createJob("Grognard 3", {
  83.    color = Color(127, 0, 255, 255),
  84.    model = "models/kaesar/halo_grunt/halo_grunt.mdl",
  85.    description = [[Capacité: Grenade
  86.    Prix: 500cR]],
  87.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "halo_swep_plasmanade"},
  88.    command = "G3",
  89.    F4JobFilter = "Faction Covenante",
  90.    max = 5,
  91.    salary = 50,
  92.    admin = 0, vote = false,
  93.    hasLicense = false,
  94.    candemote = false,
  95.    -- CustomCheck
  96.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "G3") or ply:IsAdmin() end,
  97.    medic = false,
  98.    chief = false,
  99.    mayor = false,
  100.    hobo = false,
  101.    cook = false,
  102.     bodygroups = {
  103.         ["mask"] = {2},
  104.         ["pack"] = {2},
  105.         },
  106.         PlayerDeath = function(ply, weapon, killer)
  107.         ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
  108.         end
  109. })
  110.  
  111. TEAM_GROGNARDA1 = DarkRP.createJob("Grognard Archiatre 1", {
  112.    color = Color(127, 0, 255, 255),
  113.    model = "models/kaesar/halo_grunt/halo_grunt.mdl",
  114.    description = [[Capacité: Soin; Réanimation
  115.    Prix: 200cR]],
  116.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "weapon_medkit", "weapon_defibrillator"},
  117.    command = "GA1",
  118.    F4JobFilter = "Faction Covenante",
  119.    max = 10,
  120.    salary = 50,
  121.    admin = 0, vote = false,
  122.    hasLicense = false,
  123.    candemote = false,
  124.    -- CustomCheck
  125.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "GA1") or string.find(ply:GetUserGroup() , "GA2") or string.find(ply:GetUserGroup() , "GA3") or ply:IsAdmin() end,
  126.    medic = false,
  127.    chief = false,
  128.    mayor = false,
  129.    hobo = false,
  130.    cook = false,
  131.     bodygroups = {
  132.         ["mask"] = {1},
  133.         ["pack"] = {1},
  134.         },
  135.         PlayerDeath = function(ply, weapon, killer)
  136.         ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
  137.         end
  138. })
  139.  
  140. TEAM_GROGNARDA2 = DarkRP.createJob("Grognard Archiatre 2", {
  141.    color = Color(127, 0, 255, 255),
  142.    model = "models/kaesar/halo_grunt/halo_grunt.mdl",
  143.    description = [[Capacité: Soin; Réanimation
  144.    Prix: 350cR]],
  145.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "weapon_medkit", "weapon_defibrillator"},
  146.    command = "GA2",
  147.    F4JobFilter = "Faction Covenante",
  148.    max = 5,
  149.    salary = 50,
  150.    admin = 0, vote = false,
  151.    hasLicense = false,
  152.    candemote = false,
  153.    -- CustomCheck
  154.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "GA2") or string.find(ply:GetUserGroup() , "GA3") or ply:IsAdmin() end,
  155.    medic = false,
  156.    chief = false,
  157.    mayor = false,
  158.    hobo = false,
  159.    cook = false,
  160.     bodygroups = {
  161.         ["mask"] = {1},
  162.         ["pack"] = {2},
  163.         },
  164.         PlayerDeath = function(ply, weapon, killer)
  165.         ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
  166.         end
  167. })
  168.  
  169. TEAM_GROGNARDA3 = DarkRP.createJob("Grognard Archiatre 3", {
  170.    color = Color(127, 0, 255, 255),
  171.    model = "models/kaesar/halo_grunt/halo_grunt.mdl",
  172.    description = [[Capacité: Soin; Réanimation
  173.    Prix: 500cR]],
  174.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "weapon_medkit", "weapon_defibrillator"},
  175.    command = "GA3",
  176.    F4JobFilter = "Faction Covenante",
  177.    max = 5,
  178.    salary = 50,
  179.    admin = 0, vote = false,
  180.    hasLicense = false,
  181.    candemote = false,
  182.    -- CustomCheck
  183.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "GA3") or ply:IsAdmin() end,
  184.    medic = false,
  185.    chief = false,
  186.    mayor = false,
  187.    hobo = false,
  188.    cook = false,
  189.     bodygroups = {
  190.         ["mask"] = {1},
  191.         ["pack"] = {2},
  192.         },
  193.         PlayerDeath = function(ply, weapon, killer)
  194.         ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
  195.         end
  196. })
  197.  
  198. TEAM_ELITE1 = DarkRP.createJob("Élite 1", {
  199.    color = Color(127, 0, 255, 255),
  200.    model = "models/vuthakral/halo/custom/usp/sangheili_reach.mdl",
  201.    description = [[Capacité: Bouclier énergétique; Rapidité
  202.     Prix: 200cR]],
  203.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle"},
  204.    command = "E1",
  205.    F4JobFilter = "Faction Covenante",
  206.    max = 10,
  207.    salary = 50,
  208.    admin = 0, vote = false,
  209.    hasLicense = false,
  210.    candemote = false,
  211.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "E1") or string.find(ply:GetUserGroup() , "E2") or string.find(ply:GetUserGroup() , "E3") or string.find(ply:GetUserGroup() , "E4") or string.find(ply:GetUserGroup() , "E5") or string.find(ply:GetUserGroup() , "ascete") or string.find(ply:GetUserGroup() , "arbiter") or ply:IsAdmin() end,
  212.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  213.    skins = {8},
  214.    bodygroups = {
  215.         ["Skintone / Undersuit"] = {1},
  216.         ["Head"] = {1},
  217.         ["Helmet"] = {1},
  218.         ["Torso"] = {1},
  219.         ["Pelvis"] = {1},
  220.         ["Left Shoulder"] = {1},
  221.         ["Right Shoulder"] = {1},
  222.         ["Forearms"] = {2},
  223.         ["Hands"] = {1},
  224.         ["Legs"] = {1},
  225.         },
  226.    PlayerDeath = function(ply, weapon, killer)
  227.         ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
  228.         end
  229.    })
  230.    
  231.    TEAM_ELITE2 = DarkRP.createJob("Élite 2", {
  232.    color = Color(127, 0, 255, 255),
  233.    model = "models/vuthakral/halo/custom/usp/sangheili_reach.mdl",
  234.    description = [[Capacité: Bouclier énergétique; Rapidité
  235.    Prix: 350cR]],
  236.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle"},
  237.    command = "E2",
  238.    F4JobFilter = "Faction Covenante",
  239.    max = 5,
  240.    salary = 50,
  241.    admin = 0, vote = false,
  242.    hasLicense = false,
  243.    candemote = false,
  244.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "E2") or string.find(ply:GetUserGroup() , "E3") or string.find(ply:GetUserGroup() , "E4") or string.find(ply:GetUserGroup() , "E5") or string.find(ply:GetUserGroup() , "ascete") or string.find(ply:GetUserGroup() , "arbiter") or ply:IsAdmin() end,
  245.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  246.    skins = {11},
  247.    bodygroups = {
  248.         ["Skintone / Undersuit"] = {1},
  249.         ["Head"] = {1},
  250.         ["Helmet"] = {2},
  251.         ["Torso"] = {2},
  252.         ["Pelvis"] = {1},
  253.         ["Left Shoulder"] = {2},
  254.         ["Right Shoulder"] = {2},
  255.         ["Forearms"] = {3},
  256.         ["Hands"] = {1},
  257.         ["Legs"] = {2},
  258.         },
  259.    PlayerDeath = function(ply, weapon, killer)
  260.         ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
  261.         end
  262.    })
  263.    
  264.    
  265.    TEAM_ELITE3 = DarkRP.createJob("Élite 3", {
  266.    color = Color(127, 0, 255, 255),
  267.    model = "models/vuthakral/halo/custom/usp/sangheili_reach.mdl",
  268.    description = [[Capacité: Bouclier énergétique; Rapidité
  269.    Prix: 500cR]],
  270.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle"},
  271.    command = "E3",
  272.    F4JobFilter = "Faction Covenante",
  273.    max = 5,
  274.    salary = 50,
  275.    admin = 0, vote = false,
  276.    hasLicense = false,
  277.    candemote = false,
  278.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "E3") or string.find(ply:GetUserGroup() , "E4") or string.find(ply:GetUserGroup() , "E5") or string.find(ply:GetUserGroup() , "ascete") or string.find(ply:GetUserGroup() , "arbiter") or ply:IsAdmin() end,
  279.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  280.    skins = {11},
  281.    bodygroups = {
  282.         ["Skintone / Undersuit"] = {1},
  283.         ["Head"] = {1},
  284.         ["Helmet"] = {5},
  285.         ["Torso"] = {5},
  286.         ["Pelvis"] = {1},
  287.         ["Left Shoulder"] = {5},
  288.         ["Right Shoulder"] = {5},
  289.         ["Forearms"] = {5},
  290.         ["Hands"] = {1},
  291.         ["Legs"] = {5},
  292.         },
  293.    PlayerDeath = function(ply, weapon, killer)
  294.         ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
  295.         end
  296.    })
  297.    
  298.    TEAM_ELITE12 = DarkRP.createJob("Élite 12*", {
  299.    color = Color(127, 0, 255, 255),
  300.    model = "models/vuthakral/halo/custom/usp/sangheili_h3.mdl",
  301.    description = [[Capacité: Bouclier énergétique; Rapidité
  302.    Mythique*]],
  303.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle"},
  304.    command = "E12",
  305.    F4JobFilter = "Faction Covenante",
  306.    VIPOnly = true,
  307.    max = 5,
  308.    salary = 50,
  309.    admin = 0, vote = false,
  310.    hasLicense = false,
  311.    candemote = false,
  312.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "E12") or ply:IsAdmin() end,
  313.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  314.    skins = {11},
  315.    bodygroups = {
  316.         ["Skintone / Undersuit"] = {1},
  317.         ["Head"] = {4},
  318.         ["Helmet"] = {3},
  319.         ["Torso"] = {3},
  320.         ["Pelvis"] = {1},
  321.         ["Left Shoulder"] = {3},
  322.         ["Right Shoulder"] = {3},
  323.         ["Left Forearms"] = {1},
  324.         ["Right Forearms"] = {1},
  325.         ["Left Thigh"] = {1},
  326.         ["Right Thigh"] = {1},
  327.         ["Left Calf"] = {1},
  328.         ["Right Calf"] = {1},
  329.         ["Left Foot"] = {1},
  330.         ["Right Foot"] = {1},
  331.         },
  332.    PlayerDeath = function(ply, weapon, killer)
  333.         ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
  334.         end
  335.    })
  336.    
  337.    TEAM_ELITE13 = DarkRP.createJob("Élite 13***", {
  338.    color = Color(127, 0, 255, 255),
  339.    model = "models/vuthakral/halo/custom/usp/sangheili_h3.mdl",
  340.    description = [[Capacité: Bouclier énergétique; Rapidité
  341.    Legendaire | Legendary"*]],
  342.    weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle"},
  343.    command = "E13",
  344.    F4JobFilter = "Faction Covenante",
  345.    VIPOnly = true,
  346.    max = 5,
  347.    salary = 50,
  348.    admin = 0, vote = false,
  349.    hasLicense = false,
  350.    candemote = false,
  351.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "E13") or ply:IsAdmin() end,
  352.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  353.    skins = {11},
  354.    bodygroups = {
  355.         ["Skintone / Undersuit"] = {1},
  356.         ["Head"] = {4},
  357.         ["Helmet"] = {4},
  358.         ["Torso"] = {4},
  359.         ["Pelvis"] = {1},
  360.         ["Left Shoulder"] = {4},
  361.         ["Right Shoulder"] = {4},
  362.         ["Left Forearm"] = {1},
  363.         ["Right Forearm"] = {1},
  364.         ["Left Thigh"] = {1},
  365.         ["Right Thigh"] = {1},
  366.         ["Left Calf"] = {1},
  367.         ["Right Calf"] = {1},
  368.         ["Left Foot"] = {1},
  369.         ["Right Foot"] = {1},
  370.         },
  371.    PlayerDeath = function(ply, weapon, killer)
  372.         ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
  373.         end
  374.    })
  375.  
  376.    TEAM_ELITEP1 = DarkRP.createJob("Élite Pilote 1", {
  377.    color = Color(127, 0, 255, 255),
  378.    model = "models/vuthakral/halo/custom/usp/sangheili_reach.mdl",
  379.    description = [[Capacité: Véhicules
  380.     Prix: 200cR]],
  381.    weapons = {"tfa_hr_swep_plasma_pistol"},
  382.    command = "EP1",
  383.    F4JobFilter = "Faction Covenante",
  384.    max = 5,
  385.    salary = 50,
  386.    admin = 0, vote = false,
  387.    hasLicense = false,
  388.    candemote = false,
  389.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "EP1") or string.find(ply:GetUserGroup() , "EP2") or string.find(ply:GetUserGroup() , "EP3") or ply:IsAdmin() end,
  390.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  391.    skins = {8},
  392.    bodygroups = {
  393.         ["Skintone / Undersuit"] = {1},
  394.         ["Head"] = {4},
  395.         ["Helmet"] = {4},
  396.         ["Torso"] = {4},
  397.         ["Pelvis"] = {1},
  398.         ["Left Shoulder"] = {4},
  399.         ["Right Shoulder"] = {4},
  400.         ["Forearms"] = {4},
  401.         ["Hands"] = {2},
  402.         ["Legs"] = {4},
  403.         },
  404.    PlayerDeath = function(ply, weapon, killer)
  405.         ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
  406.         end
  407.    })
  408.    
  409.    TEAM_ELITEP2 = DarkRP.createJob("Élite Pilote 2", {
  410.    color = Color(127, 0, 255, 255),
  411.    model = "models/vuthakral/halo/custom/usp/sangheili_reach.mdl",
  412.    description = [[Capacité: Véhicules
  413.     Prix: 350cR]],
  414.    weapons = {"tfa_hr_swep_plasma_pistol"},
  415.    command = "EP2",
  416.    F4JobFilter = "Faction Covenante",
  417.    max = 5,
  418.    salary = 50,
  419.    admin = 0, vote = false,
  420.    hasLicense = false,
  421.    candemote = false,
  422.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "EP2") or string.find(ply:GetUserGroup() , "EP3") or ply:IsAdmin() end,
  423.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  424.    skins = {8},
  425.    bodygroups = {
  426.         ["Skintone / Undersuit"] = {1},
  427.         ["Head"] = {4},
  428.         ["Helmet"] = {4},
  429.         ["Torso"] = {4},
  430.         ["Pelvis"] = {1},
  431.         ["Left Shoulder"] = {4},
  432.         ["Right Shoulder"] = {4},
  433.         ["Forearms"] = {4},
  434.         ["Hands"] = {2},
  435.         ["Legs"] = {4},
  436.         },
  437.    PlayerDeath = function(ply, weapon, killer)
  438.         ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
  439.         end
  440.    })
  441.    
  442. TEAM_BRUTE1 = DarkRP.createJob("Brute 1", {
  443.    color = Color(127, 0, 255, 255),
  444.    model = "models/valk/haloreach/covenant/brute/brute.mdl",
  445.    description = [[Capacité: Meilleure résistance
  446.    Prix: 200cR]],
  447.    weapons = {"tfa_hr_swep_spiker", "tfa_hr_swep_plasma_pistol"},
  448.    command = "B1",
  449.     F4JobFilter = "Faction Covenante",
  450.    max = 10,
  451.    salary = 50,
  452.    admin = 0, vote = false,
  453.    hasLicense = false,
  454.    candemote = false,
  455.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "B1") or string.find(ply:GetUserGroup() , "B2") or string.find(ply:GetUserGroup() , "B3") or ply:IsAdmin() end,
  456.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  457.    skins = {0},
  458.    bodygroups = {
  459.         ["Helmet"] = {1},
  460.         ["Torso"] = {1},
  461.         ["Shoulder Left"] = {1},
  462.         ["Shoulder Right"] = {1},
  463.         ["forearms"] = {0},
  464.         ["Thighs"] = {1},
  465.         ["Calves"] = {0},
  466.         ["Undersuit"] = {0},
  467.         ["Beard"] = {0},
  468.         },
  469.    PlayerDeath = function(ply, weapon, killer)
  470.         ply:EmitSound("mort/mort"..math.random(1,17)..".wav", 120, 100)
  471.         end
  472.    })
  473.    
  474.    TEAM_BRUTE2 = DarkRP.createJob("Brute 2", {
  475.    color = Color(127, 0, 255, 255),
  476.    model = "models/valk/haloreach/covenant/brute/brute.mdl",
  477.    description = [[Capacité: Résistance
  478.    Prix: 350cR]],
  479.    weapons = {"tfa_hr_swep_spiker", "tfa_hr_swep_plasma_pistol"},
  480.    command = "B2",
  481.     F4JobFilter = "Faction Covenante",
  482.    max = 5,
  483.    salary = 50,
  484.    admin = 0, vote = false,
  485.    hasLicense = false,
  486.    candemote = false,
  487.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "B2") or string.find(ply:GetUserGroup() , "B3") or ply:IsAdmin() end,
  488.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  489.    skins = {2},
  490.    bodygroups = {
  491.         ["Helmet"] = {2},
  492.         ["Torso"] = {2},
  493.         ["Shoulder Left"] = {2},
  494.         ["Shoulder Right"] = {2},
  495.         ["forearms"] = {1},
  496.         ["Thighs"] = {2},
  497.         ["Calves"] = {0},
  498.         ["Undersuit"] = {1},
  499.         ["Beard"] = {0},
  500.         },
  501.    PlayerDeath = function(ply, weapon, killer)
  502.         ply:EmitSound("mort/mort"..math.random(1,17)..".wav", 120, 100)
  503.         end
  504.    })
  505.    
  506.    TEAM_BRUTE3 = DarkRP.createJob("Brute 3", {
  507.    color = Color(127, 0, 255, 255),
  508.    model = "models/valk/haloreach/covenant/brute/brute.mdl",
  509.    description = [[Capacité: Résistance
  510.    Prix: 500cR]],
  511.    weapons = {"tfa_hr_swep_spiker", "tfa_hr_swep_plasma_pistol"},
  512.    command = "B3",
  513.     F4JobFilter = "Faction Covenante",
  514.    max = 5,
  515.    salary = 50,
  516.    admin = 0, vote = false,
  517.    hasLicense = false,
  518.    candemote = false,
  519.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "B3") or ply:IsAdmin() end,
  520.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  521.    skins = {1},
  522.    bodygroups = {
  523.         ["Helmet"] = {5},
  524.         ["Torso"] = {3},
  525.         ["Shoulder Left"] = {3},
  526.         ["Shoulder Right"] = {3},
  527.         ["forearms"] = {2},
  528.         ["Thighs"] = {2},
  529.         ["Calves"] = {1},
  530.         ["Undersuit"] = {2},
  531.         ["Beard"] = {1,2,3},
  532.         },
  533.    PlayerDeath = function(ply, weapon, killer)
  534.         ply:EmitSound("mort/mort"..math.random(1,17)..".wav", 120, 100)
  535.         end
  536.    })
  537.    
  538.    TEAM_CHASSEUR1 = DarkRP.createJob("Chasseur 1", {
  539.    color = Color(127, 0, 255, 255),
  540.    model = "models/kaesar/halo_hunter/halo_hunter.mdl",
  541.    description = [[Capacité: Bouclier
  542.    Prix: 500cR]],
  543.    weapons = {"tfa_hr_swep_cannonassautexplosif", "tfa_hr_swep_cannonassautsalve", "hl2_fistchasseur", "bouclierhunter"},
  544.    command = "C1",
  545.    F4JobFilter = "Faction Covenante",
  546.    max = 2,
  547.    salary = 50,
  548.    admin = 0, vote = false,
  549.    hasLicense = false,
  550.    candemote = false,
  551.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "C1") or string.find(ply:GetUserGroup() , "C2") or ply:IsAdmin() end,
  552.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  553.    bodygroups = {
  554.         ["arm"] = {1},
  555.         ["cannons"] = {1},
  556.         },
  557.         PlayerDeath = function(ply, weapon, killer)
  558.         ply:EmitSound("hunter/dth/death"..math.random(1,19)..".wav", 120, 100)
  559.         RunConsoleCommand("rp_teamban", ply:UserID(), "Chasseur 1", 300)
  560.         RunConsoleCommand("rp_teamban", ply:UserID(), "Chasseur 2", 300)
  561.         ply:changeTeam(TEAM_GROGNARD1, true)
  562.         end
  563. })
  564.  
  565. TEAM_CHASSEUR2 = DarkRP.createJob("Chasseur 2", {
  566.    color = Color(127, 0, 255, 255),
  567.    model = "models/kaesar/halo_hunter/halo_hunter.mdl",
  568.    description = [[Capacité: Bouclier
  569.    Prix: 600cR]],
  570.    weapons = {"tfa_hr_swep_cannonassautexplosif", "tfa_hr_swep_cannonassautsalve", "hl2_fistchasseur", "bouclierhunter"},
  571.    command = "C2",
  572.    F4JobFilter = "Faction Covenante",
  573.    max = 2,
  574.    salary = 50,
  575.    admin = 0, vote = false,
  576.    hasLicense = false,
  577.    candemote = false,
  578.    customCheck= function(ply) return  string.find(ply:GetUserGroup() , "C2") or ply:IsAdmin() end,
  579.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  580.    bodygroups = {
  581.         ["arm"] = {1},
  582.         ["cannons"] = {1},
  583.         },
  584.         PlayerDeath = function(ply, weapon, killer)
  585.         ply:EmitSound("hunter/dth/death"..math.random(1,19)..".wav", 120, 100)
  586.         RunConsoleCommand("rp_teamban", ply:UserID(), "Chasseur 1", 300)
  587.         RunConsoleCommand("rp_teamban", ply:UserID(), "Chasseur 2", 300)
  588.         ply:changeTeam(TEAM_GROGNARD1, true)
  589.         end
  590. })
  591.  
  592. --UNSC
  593.  
  594. TEAM_SOLDAT1 = DarkRP.createJob("UNSC: Soldat Léger 1", {
  595.    color = Color(63, 127, 0, 255),
  596.    model = "models/marine.mdl",
  597.    description = [[Capacité: Grenade]],
  598.    weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "halo_frag"},
  599.    command = "S1",
  600.    F4JobFilter = "Faction UNSC",
  601.    max = 10,
  602.    salary = 50,
  603.    admin = 0, vote = false,
  604.    hasLicense = false,
  605.    candemote = false,
  606.    -- CustomCheck
  607.    medic = false,
  608.    chief = false,
  609.    mayor = false,
  610.    hobo = false,
  611.    cook = false,
  612.    skins = {0},
  613.     bodygroups = {
  614.         ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
  615.         ["Sleeves"] = {0,1},
  616.         ["Helmet"] = {0},
  617.         ["Chest"] = {0},
  618.         ["Belt"] = {0},
  619.         ["Abdomen"] = {0},
  620.         ["Leg"] = {0},
  621.         ["Shoulders"] = {0},
  622.         ["Glasses"] = {0},
  623.         },
  624.         PlayerDeath = function(ply, weapon, killer)
  625.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  626.         end
  627. })
  628.  
  629. TEAM_SOLDAT2 = DarkRP.createJob("UNSC: Soldat Léger 2", {
  630.    color = Color(63, 127, 0, 255),
  631.    model = "models/marine.mdl",
  632.    description = [[Capacité: Grenade
  633.    Prix: 350cR]],
  634.    weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "halo_frag"},
  635.    command = "S2",
  636.    F4JobFilter = "Faction UNSC",
  637.    max = 5,
  638.    salary = 50,
  639.    admin = 0, vote = false,
  640.    hasLicense = false,
  641.    candemote = false,
  642.    -- CustomCheck
  643.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "S2") or string.find(ply:GetUserGroup() , "S3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  644.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  645.    medic = false,
  646.    chief = false,
  647.    mayor = false,
  648.    hobo = false,
  649.    cook = false,
  650.    skins = {0},
  651.     bodygroups = {
  652.         ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
  653.         ["Sleeves"] = {0,1},
  654.         ["Helmet"] = {2},
  655.         ["Chest"] = {0},
  656.         ["Belt"] = {0},
  657.         ["Abdomen"] = {0},
  658.         ["Leg"] = {0},
  659.         ["Shoulders"] = {0},
  660.         ["Glasses"] = {0},
  661.         },
  662.         PlayerDeath = function(ply, weapon, killer)
  663.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  664.         end
  665. })
  666.  
  667. TEAM_SOLDAT3 = DarkRP.createJob("UNSC: Soldat Léger 3", {
  668.    color = Color(63, 127, 0, 255),
  669.    model = "models/ishi/halo_rebirth/player/marines/male/marine_g_alfie.mdl",
  670.    description = [[Capacité: Grenade
  671.    Prix: 450cR]],
  672.    weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "halo_frag"},
  673.    command = "S3",
  674.    F4JobFilter = "Faction UNSC",
  675.    max = 5,
  676.    salary = 50,
  677.    admin = 0, vote = false,
  678.    hasLicense = false,
  679.    candemote = false,
  680.    -- CustomCheck
  681.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "S3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  682.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  683.    medic = false,
  684.    chief = false,
  685.    mayor = false,
  686.    hobo = false,
  687.    cook = false,
  688.    skins = {1},
  689.     bodygroups = {
  690.         ["Face"] = {1},
  691.         ["Helmet&Hair"] = {3},
  692.         ["Helmet Visor"] = {2},
  693.         ["Helmet_Attatchment"] = {0},
  694.         ["Collar"] = {1},
  695.         ["Shoulderpads"] = {2},
  696.         ["Chest Packs"] = {0},
  697.         ["Backpacks"] = {0},
  698.         ["Thighpads"] = {0},
  699.         ["Legs"] = {2},
  700.         },
  701.         PlayerDeath = function(ply, weapon, killer)
  702.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  703.         end
  704. })
  705.  
  706. TEAM_SOLDATM1 = DarkRP.createJob("UNSC: Soldat Médecin 1", {
  707.    color = Color(63, 127, 0, 255),
  708.    model = "models/marine.mdl",
  709.    description = [[Capacité: Soin; Réanimation
  710.    Prix: 200cR]],
  711.    weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "weapon_medkit", "weapon_defibrillator"},
  712.    command = "SM1",
  713.    F4JobFilter = "Faction UNSC",
  714.    max = 10,
  715.    salary = 50,
  716.    admin = 0, vote = false,
  717.    hasLicense = false,
  718.    candemote = false,
  719.    -- CustomCheck
  720.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SM1") or string.find(ply:GetUserGroup() , "SM2") or string.find(ply:GetUserGroup() , "SM3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  721.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  722.    medic = false,
  723.    chief = false,
  724.    mayor = false,
  725.    hobo = false,
  726.    cook = false,
  727.    skins = {1},
  728.     bodygroups = {
  729.         ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
  730.         ["Sleeves"] = {0,1},
  731.         ["Helmet"] = {0},
  732.         ["Chest"] = {0},
  733.         ["Belt"] = {0},
  734.         ["Abdomen"] = {0},
  735.         ["Leg"] = {0},
  736.         ["Shoulders"] = {0},
  737.         ["Glasses"] = {0},
  738.         },
  739.         PlayerDeath = function(ply, weapon, killer)
  740.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  741.         end
  742. })
  743.  
  744. TEAM_SOLDATM2 = DarkRP.createJob("UNSC: Soldat Médecin 2", {
  745.    color = Color(63, 127, 0, 255),
  746.    model = "models/marine.mdl",
  747.    description = [[Capacité: Soin; Réanimation
  748.    Prix: 350cR]],
  749.    weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "weapon_medkit", "weapon_defibrillator"},
  750.    command = "SM2",
  751.    F4JobFilter = "Faction UNSC",
  752.    max = 5,
  753.    salary = 50,
  754.    admin = 0, vote = false,
  755.    hasLicense = false,
  756.    candemote = false,
  757.    -- CustomCheck
  758.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SM2") or string.find(ply:GetUserGroup() , "SM3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  759.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  760.    medic = false,
  761.    chief = false,
  762.    mayor = false,
  763.    hobo = false,
  764.    cook = false,
  765.    skins = {1},
  766.     bodygroups = {
  767.         ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
  768.         ["Sleeves"] = {0,1},
  769.         ["Helmet"] = {2},
  770.         ["Chest"] = {0},
  771.         ["Belt"] = {0},
  772.         ["Abdomen"] = {0},
  773.         ["Leg"] = {0},
  774.         ["Shoulders"] = {0},
  775.         ["Glasses"] = {0},
  776.         },
  777.         PlayerDeath = function(ply, weapon, killer)
  778.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  779.         end
  780. })
  781.  
  782. TEAM_SOLDATM3 = DarkRP.createJob("UNSC: Soldat Médecin 3", {
  783.    color = Color(63, 127, 0, 255),
  784.    model = "models/ishi/halo_rebirth/player/marines/male/marine_g_alfie.mdl",
  785.    description = [[Capacité: Soin; Réanimation
  786.    Prix: 450cR]],
  787.    weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "weapon_medkit", "weapon_defibrillator"},
  788.    command = "SM3",
  789.    F4JobFilter = "Faction UNSC",
  790.    max = 5,
  791.    salary = 50,
  792.    admin = 0, vote = false,
  793.    hasLicense = false,
  794.    candemote = false,
  795.    -- CustomCheck
  796.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SM3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  797.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  798.    medic = false,
  799.    chief = false,
  800.    mayor = false,
  801.    hobo = false,
  802.    cook = false,
  803.    skins = {0},
  804.     bodygroups = {
  805.         ["Face"] = {1},
  806.         ["Helmet&Hair"] = {4},
  807.         ["Helmet_Visor"] = {0},
  808.         ["Helmet_Attatchment"] = {0},
  809.         ["Collar"] = {1},
  810.         ["Shoulderpads"] = {2},
  811.         ["Chest_Packs"] = {0},
  812.         ["Backpacks"] = {0},
  813.         ["Thighpads"] = {1},
  814.         ["Legs"] = {2},
  815.         },
  816.         PlayerDeath = function(ply, weapon, killer)
  817.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  818.         end
  819. })
  820.  
  821. TEAM_SOLDATP1 = DarkRP.createJob("UNSC: Soldat Pilote 1", {
  822.    color = Color(63, 127, 0, 255),
  823.    model = "models/ishi/halo_rebirth/player/marines/male/marine_g_alfie.mdl",
  824.    description = [[Capacité: Véhicules
  825.    Prix: 200cR]],
  826.    weapons = {"tfa_rebirth_m6c"},
  827.    command = "P1",
  828.    F4JobFilter = "Faction UNSC",
  829.    max = 5,
  830.    salary = 50,
  831.    admin = 0, vote = false,
  832.    hasLicense = false,
  833.    candemote = false,
  834.    -- CustomCheck
  835.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SPI1") or string.find(ply:GetUserGroup() , "SPI2") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  836.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  837.    medic = false,
  838.    chief = false,
  839.    mayor = false,
  840.    hobo = false,
  841.    cook = false,
  842.    skins = {1},
  843.     bodygroups = {
  844.         ["Face"] = {1},
  845.         ["Helmet&Hair"] = {3},
  846.         ["Helmet_Visor"] = {5},
  847.         ["Helmet_Attatchment"] = {0},
  848.         ["Collar"] = {1},
  849.         ["Shoulderpads"] = {0},
  850.         ["Chest_Packs"] = {0},
  851.         ["Backpacks"] = {0},
  852.         ["Thighpads"] = {0},
  853.         ["Legs"] = {0},
  854.         },
  855.         PlayerDeath = function(ply, weapon, killer)
  856.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  857.         end
  858. })
  859.  
  860. TEAM_SOLDATP2 = DarkRP.createJob("UNSC: Soldat Pilote 2", {
  861.    color = Color(63, 127, 0, 255),
  862.    model = "models/ishi/halo_rebirth/player/marines/male/marine_g_alfie.mdl",
  863.    description = [[Capacité: Véhicules
  864.    Prix: 350cR]],
  865.    weapons = {"tfa_rebirth_m6c"},
  866.    command = "P2",
  867.    F4JobFilter = "Faction UNSC",
  868.    max = 5,
  869.    salary = 50,
  870.    admin = 0, vote = false,
  871.    hasLicense = false,
  872.    candemote = false,
  873.    -- CustomCheck
  874.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SPI2")  or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  875.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  876.    medic = false,
  877.    chief = false,
  878.    mayor = false,
  879.    hobo = false,
  880.    cook = false,
  881.    skins = {1},
  882.     bodygroups = {
  883.         ["Face"] = {1},
  884.         ["Helmet&Hair"] = {2},
  885.         ["Helmet_Visor"] = {1},
  886.         ["Helmet_Attatchment"] = {0},
  887.         ["Collar"] = {1},
  888.         ["Shoulderpads"] = {0},
  889.         ["Chest_Packs"] = {0},
  890.         ["Backpacks"] = {0},
  891.         ["Thighpads"] = {0},
  892.         ["Legs"] = {0},
  893.         },
  894.         PlayerDeath = function(ply, weapon, killer)
  895.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  896.         end
  897. })
  898.  
  899. TEAM_SOLDATL1 = DarkRP.createJob("UNSC: Soldat Lourd 1", {
  900.    color = Color(63, 127, 0, 255),
  901.    model = "models/marine.mdl",
  902.    description = [[Capacité: Armement Lourd
  903.    Prix: 200cR]],
  904.    weapons = {"tfa_ma5k_carbine", "tfa_rebirth_m6c"},
  905.    command = "SL1",
  906.    F4JobFilter = "Faction UNSC",
  907.    max = 10,
  908.    salary = 50,
  909.    admin = 0, vote = false,
  910.    hasLicense = false,
  911.    candemote = false,
  912.    -- CustomCheck
  913.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SL1") or string.find(ply:GetUserGroup() , "SL2") or string.find(ply:GetUserGroup() , "SL3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  914.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  915.    medic = false,
  916.    chief = false,
  917.    mayor = false,
  918.    hobo = false,
  919.    cook = false,
  920.    skins = {0},
  921.     bodygroups = {
  922.         ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
  923.         ["Sleeves"] = {0,1},
  924.         ["Helmet"] = {0},
  925.         ["Chest"] = {4},
  926.         ["Belt"] = {2},
  927.         ["Abdomen"] = {3},
  928.         ["Leg"] = {1},
  929.         ["Shoulders"] = {0},
  930.         ["Glasses"] = {2},
  931.         },
  932.         PlayerDeath = function(ply, weapon, killer)
  933.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  934.         end
  935. })
  936.  
  937. TEAM_SOLDATL2 = DarkRP.createJob("UNSC: Soldat Lourd 2", {
  938.    color = Color(63, 127, 0, 255),
  939.    model = "models/marine.mdl",
  940.    description = [[Capacité: Armement Lourd
  941.    Prix: 350cR]],
  942.    weapons = {"tfa_ma5k_carbine", "tfa_rebirth_m6c"},
  943.    command = "SL2",
  944.    F4JobFilter = "Faction UNSC",
  945.    max = 5,
  946.    salary = 50,
  947.    admin = 0, vote = false,
  948.    hasLicense = false,
  949.    candemote = false,
  950.    -- CustomCheck
  951.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SL2") or string.find(ply:GetUserGroup() , "SL3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  952.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  953.    medic = false,
  954.    chief = false,
  955.    mayor = false,
  956.    hobo = false,
  957.    cook = false,
  958.    skins = {0},
  959.     bodygroups = {
  960.         ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
  961.         ["Sleeves"] = {0,1},
  962.         ["Helmet"] = {2},
  963.         ["Chest"] = {4},
  964.         ["Belt"] = {2},
  965.         ["Abdomen"] = {3},
  966.         ["Leg"] = {1},
  967.         ["Shoulders"] = {0},
  968.         ["Glasses"] = {2},
  969.         },
  970.         PlayerDeath = function(ply, weapon, killer)
  971.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  972.         end
  973. })
  974.  
  975. TEAM_SOLDATL3 = DarkRP.createJob("UNSC: Soldat Lourd 3", {
  976.    color = Color(63, 127, 0, 255),
  977.    model = "models/ishi/halo_rebirth/player/marines/male/marine_g_alfie.mdl",
  978.    description = [[Capacité: Armement Lourd
  979.    Prix: 350cR]],
  980.    weapons = {"tfa_ma5k_carbine", "tfa_rebirth_m6c"},
  981.    command = "SL3",
  982.    F4JobFilter = "Faction UNSC",
  983.    max = 5,
  984.    salary = 50,
  985.    admin = 0, vote = false,
  986.    hasLicense = false,
  987.    candemote = false,
  988.    -- CustomCheck
  989.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SL3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  990.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  991.    medic = false,
  992.    chief = false,
  993.    mayor = false,
  994.    hobo = false,
  995.    cook = false,
  996.    skins = {1},
  997.     bodygroups = {
  998.         ["Face"] = {1},
  999.         ["Helmet&Hair"] = {3},
  1000.         ["Helmet_Visor"] = {2},
  1001.         ["Helmet_Attatchment"] = {0},
  1002.         ["Collar"] = {2},
  1003.         ["Shoulderpads"] = {3},
  1004.         ["Chest_Packs"] = {1},
  1005.         ["Backpacks"] = {2},
  1006.         ["Thighpads"] = {1},
  1007.         ["Legs"] = {3},
  1008.         },
  1009.         PlayerDeath = function(ply, weapon, killer)
  1010.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  1011.         end
  1012. })
  1013.  
  1014. TEAM_SOLDATL12 = DarkRP.createJob("UNSC: Soldat Lourd 12*", {
  1015.    color = Color(63, 127, 0, 255),
  1016.    model = "models/valk/h4/unsc/marine/marine.mdl",
  1017.    description = [[Capacité: Armement Lourd
  1018.    Mythique*]],
  1019.    weapons = {"tfa_ma5k_carbine", "tfa_rebirth_m6c"},
  1020.    command = "SL12",
  1021.    F4JobFilter = "Faction UNSC",
  1022.    VIPOnly = true,
  1023.    max = 5,
  1024.    salary = 50,
  1025.    admin = 0, vote = false,
  1026.    hasLicense = false,
  1027.    candemote = false,
  1028.    -- CustomCheck
  1029.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SL12") or ply:IsAdmin() end,
  1030.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  1031.    medic = false,
  1032.    chief = false,
  1033.    mayor = false,
  1034.    hobo = false,
  1035.    cook = false,
  1036.    skins = {0},
  1037.     bodygroups = {
  1038.         ["Head"] = {0},
  1039.         ["Helmet"] = {4},
  1040.         ["Officer"] = {0},
  1041.         ["Chest Plate"] = {2},
  1042.         ["Shoulders"] = {4},
  1043.         ["Thigh Right"] = {1},
  1044.         ["Thigh Left"] = {1},
  1045.         ["Backpack"] = {1},
  1046.         ["Belt"] = {1},
  1047.         ["Wrists"] = {2},
  1048.         },
  1049.         PlayerDeath = function(ply, weapon, killer)
  1050.         ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
  1051.         end
  1052. })
  1053.  
  1054. TEAM_SPARTAN1 = DarkRP.createJob("Spartan 1", {
  1055.    color = Color(63, 127, 0, 255),
  1056.    model = "models/valk/haloreach/unsc/spartan/spartan.mdl",
  1057.    description = [[Capacité: Bouclier énergétique
  1058.    Prix: 500cR]],
  1059.    weapons = {"tfa_rebirth_ma5c", "tfa_rebirth_m6g"},
  1060.    command = "SP1",
  1061.    F4JobFilter = "Faction UNSC",
  1062.    max = 2,
  1063.    salary = 50,
  1064.    admin = 0, vote = false,
  1065.    hasLicense = false,
  1066.    candemote = false,
  1067.    -- CustomCheck
  1068.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP1") or string.find(ply:GetUserGroup() , "SP2")  or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  1069.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  1070.    medic = false,
  1071.    chief = false,
  1072.    mayor = false,
  1073.    hobo = false,
  1074.    cook = false,
  1075.    skins = {1},
  1076.     bodygroups = {
  1077.     ["Helmet"] = {0},
  1078.     ["Shoulder Left"] = {0},
  1079.     ["Shoulder Right"] = {0},
  1080.     ["Chest"] = {0},
  1081.     ["Hood"] = {0},
  1082.     ["Backpack"] = {0},
  1083.     ["Wrist"] = {0},
  1084.     ["Utility"] = {0},
  1085.     ["Kneeguards"] = {0},
  1086.         },
  1087.         PlayerDeath = function(ply, weapon, killer)
  1088.         RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 1", 300)
  1089.         RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 2", 300)
  1090.         RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 10", 600)
  1091.         ply:changeTeam(TEAM_SOLDAT1, true)
  1092.         end
  1093. })
  1094.  
  1095. TEAM_SPARTAN2 = DarkRP.createJob("Spartan 2", {
  1096.    color = Color(63, 127, 0, 255),
  1097.    model = "models/valk/haloreach/unsc/spartan/spartan.mdl",
  1098.    description = [[Capacité: Bouclier énergétique
  1099.    Prix: 600cR]],
  1100.    weapons = {"tfa_rebirth_ma5c", "tfa_rebirth_m6g"},
  1101.    command = "SP2",
  1102.    F4JobFilter = "Faction UNSC",
  1103.    max = 2,
  1104.    salary = 50,
  1105.    admin = 0, vote = false,
  1106.    hasLicense = false,
  1107.    candemote = false,
  1108.    -- CustomCheck
  1109.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2")  or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  1110.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  1111.    medic = false,
  1112.    chief = false,
  1113.    mayor = false,
  1114.    hobo = false,
  1115.    cook = false,
  1116.    skins = {1},
  1117.     bodygroups = {
  1118.     ["Helmet"] = {1},
  1119.     ["Shoulder Left"] = {1},
  1120.     ["Shoulder Right"] = {1},
  1121.     ["Chest"] = {1},
  1122.     ["Hood"] = {0},
  1123.     ["Backpack"] = {0},
  1124.     ["Wrist"] = {1},
  1125.     ["Utility"] = {1},
  1126.     ["Kneeguards"] = {0},
  1127.         },
  1128.         PlayerDeath = function(ply, weapon, killer)
  1129.         RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 1", 300)
  1130.         RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 2", 300)
  1131.         RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 10", 600)
  1132.         ply:changeTeam(TEAM_SOLDAT1, true)
  1133.         end
  1134. })
  1135.  
  1136. TEAM_SPARTAN10 = DarkRP.createJob("Spartan 10***", {
  1137.    color = Color(63, 127, 0, 255),
  1138.    model = "models/valk/h5/unsc/spartan/spartan.mdl",
  1139.    description = [[Capacité: Bouclier énergétique
  1140.    Legendaire | Legendary"]],
  1141.    weapons = {"tfa_rebirth_ma5c", "tfa_rebirth_m6g"},
  1142.    command = "SP10",
  1143.    VIPOnly = true,
  1144.    F4JobFilter = "Faction UNSC",
  1145.    max = 2,
  1146.    salary = 50,
  1147.    admin = 0, vote = false,
  1148.    hasLicense = false,
  1149.    candemote = false,
  1150.    -- CustomCheck
  1151.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2")  or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  1152.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  1153.    medic = false,
  1154.    chief = false,
  1155.    mayor = false,
  1156.    hobo = false,
  1157.    cook = false,
  1158.    skins = {1},
  1159.     bodygroups = {
  1160.     ["Chest"] = {7},
  1161.     ["Pelvis"] = {7},
  1162.     ["Legs"] = {7},
  1163.     ["RightArm"] = {7},
  1164.     ["LeftArm"] = {7},
  1165.     ["Forearms"] = {7},
  1166.     ["Helmet"] = {7},
  1167.         },
  1168.         PlayerDeath = function(ply, weapon, killer)
  1169.         RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 1", 600)
  1170.         RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 2", 600)
  1171.         RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 10", 600)
  1172.         ply:changeTeam(TEAM_SOLDAT1, true)
  1173.         end
  1174. })
  1175.  
  1176. -- Parasite
  1177.  
  1178. TEAM_PARASITE_HUMAIN = DarkRP.createJob("Parasite: Humain", {
  1179.    color = Color(215, 219, 0, 255),
  1180.    model = "models/kaesar/halo_humanh3/halo_humanh3.mdl",
  1181.    description = [[Capacité: Rapidité ; Saut ; Tantacule-faux
  1182.    Prix: 50cR]],
  1183.    weapons = {"hl2_fists", "tfa_rebirth_ma37"},
  1184.    command = "PH",
  1185.    F4JobFilter = "Faction Parasite",
  1186.    max = 5,
  1187.    salary = 50,
  1188.    admin = 0, vote = false,
  1189.    hasLicense = false,
  1190.    candemote = false,
  1191.    medic = false,
  1192.    chief = false,
  1193.    mayor = false,
  1194.    hobo = false,
  1195.    cook = false,
  1196.     bodygroups = {
  1197.         ["head"] = {0},
  1198.         ["torso"] = {0},
  1199.         ["r_arm"] = {0},
  1200.         ["l_arm"] = {0},
  1201.         },
  1202.         PlayerDeath = function(ply, weapon, killer)
  1203.         ply:EmitSound("vj_halo3flood/combatform/death"..math.random(1,12)..".wav", 120, 100)
  1204.         end
  1205. })
  1206.  
  1207. TEAM_PARASITE_PILOTE = DarkRP.createJob("Parasite: Pilote", {
  1208.    color = Color(215, 219, 0, 255),
  1209.    model = "models/kaesar/halo_humanh3/halo_humanh3.mdl",
  1210.    description = [[Capacité: Rapidité ; Saut ; Tantacule-faux
  1211.    Prix: 200cR]],
  1212.    weapons = {"hl2_fists", "tfa_rebirth_m6c"},
  1213.    command = "PL",
  1214.    F4JobFilter = "Faction Parasite",
  1215.    max = 5,
  1216.    salary = 50,
  1217.    admin = 0, vote = false,
  1218.    hasLicense = false,
  1219.    candemote = false,
  1220.    -- CustomCheck
  1221. customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2")  or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  1222. customCheckFailMsg= "Vous ne possédez pas cette classe.",
  1223.    medic = false,
  1224.    chief = false,
  1225.    mayor = false,
  1226.    hobo = false,
  1227.    cook = false,
  1228.     bodygroups = {
  1229.         ["head"] = {0},
  1230.         ["torso"] = {0},
  1231.         ["r_arm"] = {0},
  1232.         ["l_arm"] = {0},
  1233.         },
  1234.         PlayerDeath = function(ply, weapon, killer)
  1235.         ply:EmitSound("vj_halo3flood/combatform/death"..math.random(1,12)..".wav", 120, 100)
  1236.         end
  1237. })
  1238.  
  1239. TEAM_PARASITE_ELITE = DarkRP.createJob("Parasite: Élite", {
  1240.    color = Color(215, 219, 0, 255),
  1241.    model = "models/kaesar/halo_elite/halo_elite.mdl",
  1242.    description = [[Capacité: Bouclier énergétique ; Saut ; Tantacule-faux
  1243.    Prix: 200cR]],
  1244.    weapons = {"hl2_fistselite", "tfa_hr_swep_plasma_rifle"},
  1245.    command = "PE",
  1246.    F4JobFilter = "Faction Parasite",
  1247.    max = 5,
  1248.    salary = 50,
  1249.    admin = 0, vote = false,
  1250.    hasLicense = false,
  1251.    candemote = false,
  1252.    -- CustomCheck
  1253. customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2")  or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  1254. customCheckFailMsg= "Vous ne possédez pas cette classe.",
  1255.    medic = false,
  1256.    chief = false,
  1257.    mayor = false,
  1258.    hobo = false,
  1259.    cook = false,
  1260.    skins = {0},
  1261.     bodygroups = {
  1262.         ["head"] = {0},
  1263.         ["ref"] = {0},
  1264.         ["a_rleg"] = {0},
  1265.         ["a_lleg"] = {0},
  1266.         ["a_rarm"] = {0},
  1267.         ["a_larm"] = {0},
  1268.         ["a_bbody"] = {0},
  1269.         ["a_luarm"] = {0},
  1270.         ["r_arm"] = {0},
  1271.         ["l_arm"] = {0},
  1272.         },
  1273.         PlayerDeath = function(ply, weapon, killer)
  1274.         ply:EmitSound("predatorcz/halo/flood/shared.pmd/death"..math.random(1,8)..".mp3", 120, 100)
  1275.         end
  1276. })
  1277.  
  1278. TEAM_PARASITE_BRUTE = DarkRP.createJob("Parasite: Brute", {
  1279.    color = Color(215, 219, 0, 255),
  1280.    model = "models/cpthazama/halo3/flood_brute_pm.mdl",
  1281.    description = [[Capacité: Résistance ; Saut ; Tantacule-faux
  1282.    Prix: 200cR]],
  1283.    weapons = {"hl2_fistsbrute", "tfa_hr_swep_spiker"},
  1284.    command = "PB",
  1285.    F4JobFilter = "Faction Parasite",
  1286.    max = 5,
  1287.    salary = 50,
  1288.    admin = 0, vote = false,
  1289.    hasLicense = false,
  1290.    candemote = false,
  1291.    -- CustomCheck
  1292.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2")  or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  1293.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  1294.    medic = false,
  1295.    chief = false,
  1296.    mayor = false,
  1297.    hobo = false,
  1298.    cook = false,
  1299.    skins = {0},
  1300.         PlayerDeath = function(ply, weapon, killer)
  1301.         ply:EmitSound("vj_halo3flood/brute/bruteform_body_destroyed"..math.random(1,8)..".wav", 120, 100)
  1302.         end
  1303. })
  1304.  
  1305. TEAM_PARASITE_TANK = DarkRP.createJob("Parasite: Tank", {
  1306.    color = Color(215, 219, 0, 255),
  1307.    model = "models/cpthazama/halo3/flood_tank_pm.mdl",
  1308.    description = [[Capacité: Tantacule-faux ; Spéciale
  1309.    Prix: 500cR]],
  1310.    weapons = {"hl2_fiststank", "boucliertank"},
  1311.    command = "PT",
  1312.    F4JobFilter = "Faction Parasite",
  1313.    max = 4,
  1314.    salary = 50,
  1315.    admin = 0, vote = false,
  1316.    hasLicense = false,
  1317.    candemote = false,
  1318.    -- CustomCheck
  1319.    customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2")  or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
  1320.    customCheckFailMsg= "Vous ne possédez pas cette classe.",
  1321.    medic = false,
  1322.    chief = false,
  1323.    mayor = false,
  1324.    hobo = false,
  1325.    cook = false,
  1326.    skins = {0},
  1327.         PlayerDeath = function(ply, weapon, killer)
  1328.         ply:EmitSound("vj_halo3flood/tank/dth"..math.random(1,13)..".mp3", 120, 100)
  1329.         RunConsoleCommand("rp_teamban", ply:UserID(), "Parasite: Tank", 300)
  1330.         ply:changeTeam(TEAM_PARASITE_HUMAIN, true)
  1331.         end
  1332. })
  1333.  
  1334. TEAM_ADMIN = DarkRP.createJob("Veilleurs (Administration)", {
  1335.    color = Color(230, 0, 0, 255),
  1336.    model = "models/halo/monitor/monitor.mdl",
  1337.    description = [[Survolez l'univers en sauvegardant les espèces.]],
  1338.    weapons = {""},
  1339.    command = "admin",
  1340.    max = 0,
  1341.    salary = 50,
  1342.    admin = 1, vote = false,
  1343.    hasLicense = false,
  1344.    candemote = false,
  1345.    -- CustomCheck
  1346.    customCheckFailMsg= "Ceci est une job administratif seulement.",
  1347.    medic = false,
  1348.    chief = false,
  1349.    mayor = false,
  1350.    hobo = false,
  1351.    cook = false,
  1352.    skins = {0},
  1353.         PlayerDeath = function(ply, weapon, killer)
  1354.         ply:EmitSound("npc/scanner/cbot_energyexplosion1.wav", 120, 100)
  1355.         end
  1356. })
  1357.  
  1358. TEAM_FOUNDER = DarkRP.createJob("Veilleurs (Founder)", {
  1359.    color = Color(230, 0, 0, 255),
  1360.    model = "models/halo/monitor/monitor_red.mdl",
  1361.    description = [[Survolez l'univers en sauvegardant les espèces.]],
  1362.    weapons = {""},
  1363.    command = "founder",
  1364.    max = 0,
  1365.    salary = 50,
  1366.    admin = 2, vote = false,
  1367.    hasLicense = false,
  1368.    candemote = false,
  1369.    -- CustomCheck
  1370.   customCheck = function(ply) return
  1371.    table.HasValue({"STEAM_0:0:38696982"}, ply:SteamID()) end,
  1372.   CustomCheckFailMsg = "Ceci est une job administratif seulement.",
  1373.    medic = false,
  1374.    chief = false,
  1375.    mayor = false,
  1376.    hobo = false,
  1377.    cook = false,
  1378.    skins = {0},
  1379.         PlayerDeath = function(ply, weapon, killer)
  1380.         ply:EmitSound("npc/scanner/cbot_energyexplosion1.wav", 120, 100)
  1381.         end
  1382. })
  1383.  
  1384. hook.Add("playerGetSalary", "a", function(ply, amount) if ply:GetNWString("usergroup") == "V.I.P" or ply:IsAdmin() then return false, "[V.I.P] Vous obtenez 100cR !", math.ceil(amount * 2) end end)
  1385.  
  1386. /*---------------------------------------------------------------------------
  1387. Define which team joining players spawn into and what team you change to if demoted
  1388. ---------------------------------------------------------------------------*/
  1389.  
  1390. GAMEMODE.DefaultTeam = TEAM_CHOIXDEFACTION
  1391.  
  1392. /*
  1393. --------------------------------------------------------
  1394. HOW TO MAKE A DOOR GROUP
  1395. --------------------------------------------------------
  1396. AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.)
  1397.  
  1398.  
  1399. The default door groups, can also be used as examples:
  1400. */
  1401. AddDoorGroup("Abandonné", TEAM_ADMIN)
  1402. AddDoorGroup("BASE", TEAM_ADMIN)
  1403. AddDoorGroup("Désaffecté", TEAM_ADMIN)
  1404. AddDoorGroup("Porte Blindée", TEAM_ADMIN)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top