Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GAMEMODE = GAMEMODE or GM
- TEAM_CHOIXDEFACTION = DarkRP.createJob("Choix de faction", {
- color = Color(109, 109, 109, 255),
- model = "models/ishi/halo_rebirth/player/offduty/male/offduty_snippy.mdl",
- description = [[Choisissez votre faction.]],
- weapons = {},
- command = "CDLF",
- max = 0,
- salary = 0,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- })
- -- Covenants
- TEAM_GROGNARD1 = DarkRP.createJob("Grognard 1", {
- color = Color(127, 0, 255, 255),
- model = "models/kaesar/halo_grunt/halo_grunt.mdl",
- description = [[Capacité: Grenade]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "halo_swep_plasmanade"},
- command = "G1",
- F4JobFilter = "Faction Covenante",
- max = 10,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- bodygroups = {
- ["mask"] = {0},
- ["pack"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
- end
- })
- TEAM_GROGNARD2 = DarkRP.createJob("Grognard 2", {
- color = Color(127, 0, 255, 255),
- model = "models/kaesar/halo_grunt/halo_grunt.mdl",
- description = [[Capacité: Grenade
- Prix: 350cR]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "halo_swep_plasmanade"},
- command = "G2",
- F4JobFilter = "Faction Covenante",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "G2") or string.find(ply:GetUserGroup() , "G3") or ply:IsAdmin() end,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- level = 5,
- bodygroups = {
- ["mask"] = {0},
- ["pack"] = {1},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
- end
- })
- TEAM_GROGNARD3 = DarkRP.createJob("Grognard 3", {
- color = Color(127, 0, 255, 255),
- model = "models/kaesar/halo_grunt/halo_grunt.mdl",
- description = [[Capacité: Grenade
- Prix: 500cR]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "halo_swep_plasmanade"},
- command = "G3",
- F4JobFilter = "Faction Covenante",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "G3") or ply:IsAdmin() end,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- bodygroups = {
- ["mask"] = {2},
- ["pack"] = {2},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
- end
- })
- TEAM_GROGNARDA1 = DarkRP.createJob("Grognard Archiatre 1", {
- color = Color(127, 0, 255, 255),
- model = "models/kaesar/halo_grunt/halo_grunt.mdl",
- description = [[Capacité: Soin; Réanimation
- Prix: 200cR]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "weapon_medkit", "weapon_defibrillator"},
- command = "GA1",
- F4JobFilter = "Faction Covenante",
- max = 10,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- 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,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- bodygroups = {
- ["mask"] = {1},
- ["pack"] = {1},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
- end
- })
- TEAM_GROGNARDA2 = DarkRP.createJob("Grognard Archiatre 2", {
- color = Color(127, 0, 255, 255),
- model = "models/kaesar/halo_grunt/halo_grunt.mdl",
- description = [[Capacité: Soin; Réanimation
- Prix: 350cR]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "weapon_medkit", "weapon_defibrillator"},
- command = "GA2",
- F4JobFilter = "Faction Covenante",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "GA2") or string.find(ply:GetUserGroup() , "GA3") or ply:IsAdmin() end,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- bodygroups = {
- ["mask"] = {1},
- ["pack"] = {2},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
- end
- })
- TEAM_GROGNARDA3 = DarkRP.createJob("Grognard Archiatre 3", {
- color = Color(127, 0, 255, 255),
- model = "models/kaesar/halo_grunt/halo_grunt.mdl",
- description = [[Capacité: Soin; Réanimation
- Prix: 500cR]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle", "weapon_medkit", "weapon_defibrillator"},
- command = "GA3",
- F4JobFilter = "Faction Covenante",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "GA3") or ply:IsAdmin() end,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- bodygroups = {
- ["mask"] = {1},
- ["pack"] = {2},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("sound/mort"..math.random(1,4)..".wav", 120, 100)
- end
- })
- TEAM_ELITE1 = DarkRP.createJob("Élite 1", {
- color = Color(127, 0, 255, 255),
- model = "models/vuthakral/halo/custom/usp/sangheili_reach.mdl",
- description = [[Capacité: Bouclier énergétique; Rapidité
- Prix: 200cR]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle"},
- command = "E1",
- F4JobFilter = "Faction Covenante",
- max = 10,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- skins = {8},
- bodygroups = {
- ["Skintone / Undersuit"] = {1},
- ["Head"] = {1},
- ["Helmet"] = {1},
- ["Torso"] = {1},
- ["Pelvis"] = {1},
- ["Left Shoulder"] = {1},
- ["Right Shoulder"] = {1},
- ["Forearms"] = {2},
- ["Hands"] = {1},
- ["Legs"] = {1},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
- end
- })
- TEAM_ELITE2 = DarkRP.createJob("Élite 2", {
- color = Color(127, 0, 255, 255),
- model = "models/vuthakral/halo/custom/usp/sangheili_reach.mdl",
- description = [[Capacité: Bouclier énergétique; Rapidité
- Prix: 350cR]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle"},
- command = "E2",
- F4JobFilter = "Faction Covenante",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- skins = {11},
- bodygroups = {
- ["Skintone / Undersuit"] = {1},
- ["Head"] = {1},
- ["Helmet"] = {2},
- ["Torso"] = {2},
- ["Pelvis"] = {1},
- ["Left Shoulder"] = {2},
- ["Right Shoulder"] = {2},
- ["Forearms"] = {3},
- ["Hands"] = {1},
- ["Legs"] = {2},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
- end
- })
- TEAM_ELITE3 = DarkRP.createJob("Élite 3", {
- color = Color(127, 0, 255, 255),
- model = "models/vuthakral/halo/custom/usp/sangheili_reach.mdl",
- description = [[Capacité: Bouclier énergétique; Rapidité
- Prix: 500cR]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle"},
- command = "E3",
- F4JobFilter = "Faction Covenante",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- skins = {11},
- bodygroups = {
- ["Skintone / Undersuit"] = {1},
- ["Head"] = {1},
- ["Helmet"] = {5},
- ["Torso"] = {5},
- ["Pelvis"] = {1},
- ["Left Shoulder"] = {5},
- ["Right Shoulder"] = {5},
- ["Forearms"] = {5},
- ["Hands"] = {1},
- ["Legs"] = {5},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
- end
- })
- TEAM_ELITE12 = DarkRP.createJob("Élite 12*", {
- color = Color(127, 0, 255, 255),
- model = "models/vuthakral/halo/custom/usp/sangheili_h3.mdl",
- description = [[Capacité: Bouclier énergétique; Rapidité
- Mythique*]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle"},
- command = "E12",
- F4JobFilter = "Faction Covenante",
- VIPOnly = true,
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "E12") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- skins = {11},
- bodygroups = {
- ["Skintone / Undersuit"] = {1},
- ["Head"] = {4},
- ["Helmet"] = {3},
- ["Torso"] = {3},
- ["Pelvis"] = {1},
- ["Left Shoulder"] = {3},
- ["Right Shoulder"] = {3},
- ["Left Forearms"] = {1},
- ["Right Forearms"] = {1},
- ["Left Thigh"] = {1},
- ["Right Thigh"] = {1},
- ["Left Calf"] = {1},
- ["Right Calf"] = {1},
- ["Left Foot"] = {1},
- ["Right Foot"] = {1},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
- end
- })
- TEAM_ELITE13 = DarkRP.createJob("Élite 13***", {
- color = Color(127, 0, 255, 255),
- model = "models/vuthakral/halo/custom/usp/sangheili_h3.mdl",
- description = [[Capacité: Bouclier énergétique; Rapidité
- Legendaire | Legendary"*]],
- weapons = {"tfa_hr_swep_plasma_pistol", "tfa_hr_swep_plasma_rifle"},
- command = "E13",
- F4JobFilter = "Faction Covenante",
- VIPOnly = true,
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "E13") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- skins = {11},
- bodygroups = {
- ["Skintone / Undersuit"] = {1},
- ["Head"] = {4},
- ["Helmet"] = {4},
- ["Torso"] = {4},
- ["Pelvis"] = {1},
- ["Left Shoulder"] = {4},
- ["Right Shoulder"] = {4},
- ["Left Forearm"] = {1},
- ["Right Forearm"] = {1},
- ["Left Thigh"] = {1},
- ["Right Thigh"] = {1},
- ["Left Calf"] = {1},
- ["Right Calf"] = {1},
- ["Left Foot"] = {1},
- ["Right Foot"] = {1},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
- end
- })
- TEAM_ELITEP1 = DarkRP.createJob("Élite Pilote 1", {
- color = Color(127, 0, 255, 255),
- model = "models/vuthakral/halo/custom/usp/sangheili_reach.mdl",
- description = [[Capacité: Véhicules
- Prix: 200cR]],
- weapons = {"tfa_hr_swep_plasma_pistol"},
- command = "EP1",
- F4JobFilter = "Faction Covenante",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- skins = {8},
- bodygroups = {
- ["Skintone / Undersuit"] = {1},
- ["Head"] = {4},
- ["Helmet"] = {4},
- ["Torso"] = {4},
- ["Pelvis"] = {1},
- ["Left Shoulder"] = {4},
- ["Right Shoulder"] = {4},
- ["Forearms"] = {4},
- ["Hands"] = {2},
- ["Legs"] = {4},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
- end
- })
- TEAM_ELITEP2 = DarkRP.createJob("Élite Pilote 2", {
- color = Color(127, 0, 255, 255),
- model = "models/vuthakral/halo/custom/usp/sangheili_reach.mdl",
- description = [[Capacité: Véhicules
- Prix: 350cR]],
- weapons = {"tfa_hr_swep_plasma_pistol"},
- command = "EP2",
- F4JobFilter = "Faction Covenante",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "EP2") or string.find(ply:GetUserGroup() , "EP3") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- skins = {8},
- bodygroups = {
- ["Skintone / Undersuit"] = {1},
- ["Head"] = {4},
- ["Helmet"] = {4},
- ["Torso"] = {4},
- ["Pelvis"] = {1},
- ["Left Shoulder"] = {4},
- ["Right Shoulder"] = {4},
- ["Forearms"] = {4},
- ["Hands"] = {2},
- ["Legs"] = {4},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("elite/involuntary/mort"..math.random(1,28)..".wav", 100, 100)
- end
- })
- TEAM_BRUTE1 = DarkRP.createJob("Brute 1", {
- color = Color(127, 0, 255, 255),
- model = "models/valk/haloreach/covenant/brute/brute.mdl",
- description = [[Capacité: Meilleure résistance
- Prix: 200cR]],
- weapons = {"tfa_hr_swep_spiker", "tfa_hr_swep_plasma_pistol"},
- command = "B1",
- F4JobFilter = "Faction Covenante",
- max = 10,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- skins = {0},
- bodygroups = {
- ["Helmet"] = {1},
- ["Torso"] = {1},
- ["Shoulder Left"] = {1},
- ["Shoulder Right"] = {1},
- ["forearms"] = {0},
- ["Thighs"] = {1},
- ["Calves"] = {0},
- ["Undersuit"] = {0},
- ["Beard"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort/mort"..math.random(1,17)..".wav", 120, 100)
- end
- })
- TEAM_BRUTE2 = DarkRP.createJob("Brute 2", {
- color = Color(127, 0, 255, 255),
- model = "models/valk/haloreach/covenant/brute/brute.mdl",
- description = [[Capacité: Résistance
- Prix: 350cR]],
- weapons = {"tfa_hr_swep_spiker", "tfa_hr_swep_plasma_pistol"},
- command = "B2",
- F4JobFilter = "Faction Covenante",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "B2") or string.find(ply:GetUserGroup() , "B3") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- skins = {2},
- bodygroups = {
- ["Helmet"] = {2},
- ["Torso"] = {2},
- ["Shoulder Left"] = {2},
- ["Shoulder Right"] = {2},
- ["forearms"] = {1},
- ["Thighs"] = {2},
- ["Calves"] = {0},
- ["Undersuit"] = {1},
- ["Beard"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort/mort"..math.random(1,17)..".wav", 120, 100)
- end
- })
- TEAM_BRUTE3 = DarkRP.createJob("Brute 3", {
- color = Color(127, 0, 255, 255),
- model = "models/valk/haloreach/covenant/brute/brute.mdl",
- description = [[Capacité: Résistance
- Prix: 500cR]],
- weapons = {"tfa_hr_swep_spiker", "tfa_hr_swep_plasma_pistol"},
- command = "B3",
- F4JobFilter = "Faction Covenante",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "B3") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- skins = {1},
- bodygroups = {
- ["Helmet"] = {5},
- ["Torso"] = {3},
- ["Shoulder Left"] = {3},
- ["Shoulder Right"] = {3},
- ["forearms"] = {2},
- ["Thighs"] = {2},
- ["Calves"] = {1},
- ["Undersuit"] = {2},
- ["Beard"] = {1,2,3},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort/mort"..math.random(1,17)..".wav", 120, 100)
- end
- })
- TEAM_CHASSEUR1 = DarkRP.createJob("Chasseur 1", {
- color = Color(127, 0, 255, 255),
- model = "models/kaesar/halo_hunter/halo_hunter.mdl",
- description = [[Capacité: Bouclier
- Prix: 500cR]],
- weapons = {"tfa_hr_swep_cannonassautexplosif", "tfa_hr_swep_cannonassautsalve", "hl2_fistchasseur", "bouclierhunter"},
- command = "C1",
- F4JobFilter = "Faction Covenante",
- max = 2,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "C1") or string.find(ply:GetUserGroup() , "C2") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- bodygroups = {
- ["arm"] = {1},
- ["cannons"] = {1},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("hunter/dth/death"..math.random(1,19)..".wav", 120, 100)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Chasseur 1", 300)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Chasseur 2", 300)
- ply:changeTeam(TEAM_GROGNARD1, true)
- end
- })
- TEAM_CHASSEUR2 = DarkRP.createJob("Chasseur 2", {
- color = Color(127, 0, 255, 255),
- model = "models/kaesar/halo_hunter/halo_hunter.mdl",
- description = [[Capacité: Bouclier
- Prix: 600cR]],
- weapons = {"tfa_hr_swep_cannonassautexplosif", "tfa_hr_swep_cannonassautsalve", "hl2_fistchasseur", "bouclierhunter"},
- command = "C2",
- F4JobFilter = "Faction Covenante",
- max = 2,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "C2") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- bodygroups = {
- ["arm"] = {1},
- ["cannons"] = {1},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("hunter/dth/death"..math.random(1,19)..".wav", 120, 100)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Chasseur 1", 300)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Chasseur 2", 300)
- ply:changeTeam(TEAM_GROGNARD1, true)
- end
- })
- --UNSC
- TEAM_SOLDAT1 = DarkRP.createJob("UNSC: Soldat Léger 1", {
- color = Color(63, 127, 0, 255),
- model = "models/marine.mdl",
- description = [[Capacité: Grenade]],
- weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "halo_frag"},
- command = "S1",
- F4JobFilter = "Faction UNSC",
- max = 10,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- bodygroups = {
- ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
- ["Sleeves"] = {0,1},
- ["Helmet"] = {0},
- ["Chest"] = {0},
- ["Belt"] = {0},
- ["Abdomen"] = {0},
- ["Leg"] = {0},
- ["Shoulders"] = {0},
- ["Glasses"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDAT2 = DarkRP.createJob("UNSC: Soldat Léger 2", {
- color = Color(63, 127, 0, 255),
- model = "models/marine.mdl",
- description = [[Capacité: Grenade
- Prix: 350cR]],
- weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "halo_frag"},
- command = "S2",
- F4JobFilter = "Faction UNSC",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- bodygroups = {
- ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
- ["Sleeves"] = {0,1},
- ["Helmet"] = {2},
- ["Chest"] = {0},
- ["Belt"] = {0},
- ["Abdomen"] = {0},
- ["Leg"] = {0},
- ["Shoulders"] = {0},
- ["Glasses"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDAT3 = DarkRP.createJob("UNSC: Soldat Léger 3", {
- color = Color(63, 127, 0, 255),
- model = "models/ishi/halo_rebirth/player/marines/male/marine_g_alfie.mdl",
- description = [[Capacité: Grenade
- Prix: 450cR]],
- weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "halo_frag"},
- command = "S3",
- F4JobFilter = "Faction UNSC",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "S3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {1},
- bodygroups = {
- ["Face"] = {1},
- ["Helmet&Hair"] = {3},
- ["Helmet Visor"] = {2},
- ["Helmet_Attatchment"] = {0},
- ["Collar"] = {1},
- ["Shoulderpads"] = {2},
- ["Chest Packs"] = {0},
- ["Backpacks"] = {0},
- ["Thighpads"] = {0},
- ["Legs"] = {2},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDATM1 = DarkRP.createJob("UNSC: Soldat Médecin 1", {
- color = Color(63, 127, 0, 255),
- model = "models/marine.mdl",
- description = [[Capacité: Soin; Réanimation
- Prix: 200cR]],
- weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "weapon_medkit", "weapon_defibrillator"},
- command = "SM1",
- F4JobFilter = "Faction UNSC",
- max = 10,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {1},
- bodygroups = {
- ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
- ["Sleeves"] = {0,1},
- ["Helmet"] = {0},
- ["Chest"] = {0},
- ["Belt"] = {0},
- ["Abdomen"] = {0},
- ["Leg"] = {0},
- ["Shoulders"] = {0},
- ["Glasses"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDATM2 = DarkRP.createJob("UNSC: Soldat Médecin 2", {
- color = Color(63, 127, 0, 255),
- model = "models/marine.mdl",
- description = [[Capacité: Soin; Réanimation
- Prix: 350cR]],
- weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "weapon_medkit", "weapon_defibrillator"},
- command = "SM2",
- F4JobFilter = "Faction UNSC",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {1},
- bodygroups = {
- ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
- ["Sleeves"] = {0,1},
- ["Helmet"] = {2},
- ["Chest"] = {0},
- ["Belt"] = {0},
- ["Abdomen"] = {0},
- ["Leg"] = {0},
- ["Shoulders"] = {0},
- ["Glasses"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDATM3 = DarkRP.createJob("UNSC: Soldat Médecin 3", {
- color = Color(63, 127, 0, 255),
- model = "models/ishi/halo_rebirth/player/marines/male/marine_g_alfie.mdl",
- description = [[Capacité: Soin; Réanimation
- Prix: 450cR]],
- weapons = {"tfa_rebirth_ma37", "tfa_rebirth_m6c", "weapon_medkit", "weapon_defibrillator"},
- command = "SM3",
- F4JobFilter = "Faction UNSC",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "SM3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- bodygroups = {
- ["Face"] = {1},
- ["Helmet&Hair"] = {4},
- ["Helmet_Visor"] = {0},
- ["Helmet_Attatchment"] = {0},
- ["Collar"] = {1},
- ["Shoulderpads"] = {2},
- ["Chest_Packs"] = {0},
- ["Backpacks"] = {0},
- ["Thighpads"] = {1},
- ["Legs"] = {2},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDATP1 = DarkRP.createJob("UNSC: Soldat Pilote 1", {
- color = Color(63, 127, 0, 255),
- model = "models/ishi/halo_rebirth/player/marines/male/marine_g_alfie.mdl",
- description = [[Capacité: Véhicules
- Prix: 200cR]],
- weapons = {"tfa_rebirth_m6c"},
- command = "P1",
- F4JobFilter = "Faction UNSC",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {1},
- bodygroups = {
- ["Face"] = {1},
- ["Helmet&Hair"] = {3},
- ["Helmet_Visor"] = {5},
- ["Helmet_Attatchment"] = {0},
- ["Collar"] = {1},
- ["Shoulderpads"] = {0},
- ["Chest_Packs"] = {0},
- ["Backpacks"] = {0},
- ["Thighpads"] = {0},
- ["Legs"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDATP2 = DarkRP.createJob("UNSC: Soldat Pilote 2", {
- color = Color(63, 127, 0, 255),
- model = "models/ishi/halo_rebirth/player/marines/male/marine_g_alfie.mdl",
- description = [[Capacité: Véhicules
- Prix: 350cR]],
- weapons = {"tfa_rebirth_m6c"},
- command = "P2",
- F4JobFilter = "Faction UNSC",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "SPI2") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {1},
- bodygroups = {
- ["Face"] = {1},
- ["Helmet&Hair"] = {2},
- ["Helmet_Visor"] = {1},
- ["Helmet_Attatchment"] = {0},
- ["Collar"] = {1},
- ["Shoulderpads"] = {0},
- ["Chest_Packs"] = {0},
- ["Backpacks"] = {0},
- ["Thighpads"] = {0},
- ["Legs"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDATL1 = DarkRP.createJob("UNSC: Soldat Lourd 1", {
- color = Color(63, 127, 0, 255),
- model = "models/marine.mdl",
- description = [[Capacité: Armement Lourd
- Prix: 200cR]],
- weapons = {"tfa_ma5k_carbine", "tfa_rebirth_m6c"},
- command = "SL1",
- F4JobFilter = "Faction UNSC",
- max = 10,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- bodygroups = {
- ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
- ["Sleeves"] = {0,1},
- ["Helmet"] = {0},
- ["Chest"] = {4},
- ["Belt"] = {2},
- ["Abdomen"] = {3},
- ["Leg"] = {1},
- ["Shoulders"] = {0},
- ["Glasses"] = {2},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDATL2 = DarkRP.createJob("UNSC: Soldat Lourd 2", {
- color = Color(63, 127, 0, 255),
- model = "models/marine.mdl",
- description = [[Capacité: Armement Lourd
- Prix: 350cR]],
- weapons = {"tfa_ma5k_carbine", "tfa_rebirth_m6c"},
- command = "SL2",
- F4JobFilter = "Faction UNSC",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- bodygroups = {
- ["Head"] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18},
- ["Sleeves"] = {0,1},
- ["Helmet"] = {2},
- ["Chest"] = {4},
- ["Belt"] = {2},
- ["Abdomen"] = {3},
- ["Leg"] = {1},
- ["Shoulders"] = {0},
- ["Glasses"] = {2},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDATL3 = DarkRP.createJob("UNSC: Soldat Lourd 3", {
- color = Color(63, 127, 0, 255),
- model = "models/ishi/halo_rebirth/player/marines/male/marine_g_alfie.mdl",
- description = [[Capacité: Armement Lourd
- Prix: 350cR]],
- weapons = {"tfa_ma5k_carbine", "tfa_rebirth_m6c"},
- command = "SL3",
- F4JobFilter = "Faction UNSC",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "SL3") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {1},
- bodygroups = {
- ["Face"] = {1},
- ["Helmet&Hair"] = {3},
- ["Helmet_Visor"] = {2},
- ["Helmet_Attatchment"] = {0},
- ["Collar"] = {2},
- ["Shoulderpads"] = {3},
- ["Chest_Packs"] = {1},
- ["Backpacks"] = {2},
- ["Thighpads"] = {1},
- ["Legs"] = {3},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SOLDATL12 = DarkRP.createJob("UNSC: Soldat Lourd 12*", {
- color = Color(63, 127, 0, 255),
- model = "models/valk/h4/unsc/marine/marine.mdl",
- description = [[Capacité: Armement Lourd
- Mythique*]],
- weapons = {"tfa_ma5k_carbine", "tfa_rebirth_m6c"},
- command = "SL12",
- F4JobFilter = "Faction UNSC",
- VIPOnly = true,
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "SL12") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- bodygroups = {
- ["Head"] = {0},
- ["Helmet"] = {4},
- ["Officer"] = {0},
- ["Chest Plate"] = {2},
- ["Shoulders"] = {4},
- ["Thigh Right"] = {1},
- ["Thigh Left"] = {1},
- ["Backpack"] = {1},
- ["Belt"] = {1},
- ["Wrists"] = {2},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("mort"..math.random(1,5)..".wav", 120, 100)
- end
- })
- TEAM_SPARTAN1 = DarkRP.createJob("Spartan 1", {
- color = Color(63, 127, 0, 255),
- model = "models/valk/haloreach/unsc/spartan/spartan.mdl",
- description = [[Capacité: Bouclier énergétique
- Prix: 500cR]],
- weapons = {"tfa_rebirth_ma5c", "tfa_rebirth_m6g"},
- command = "SP1",
- F4JobFilter = "Faction UNSC",
- max = 2,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- 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,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {1},
- bodygroups = {
- ["Helmet"] = {0},
- ["Shoulder Left"] = {0},
- ["Shoulder Right"] = {0},
- ["Chest"] = {0},
- ["Hood"] = {0},
- ["Backpack"] = {0},
- ["Wrist"] = {0},
- ["Utility"] = {0},
- ["Kneeguards"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 1", 300)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 2", 300)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 10", 600)
- ply:changeTeam(TEAM_SOLDAT1, true)
- end
- })
- TEAM_SPARTAN2 = DarkRP.createJob("Spartan 2", {
- color = Color(63, 127, 0, 255),
- model = "models/valk/haloreach/unsc/spartan/spartan.mdl",
- description = [[Capacité: Bouclier énergétique
- Prix: 600cR]],
- weapons = {"tfa_rebirth_ma5c", "tfa_rebirth_m6g"},
- command = "SP2",
- F4JobFilter = "Faction UNSC",
- max = 2,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {1},
- bodygroups = {
- ["Helmet"] = {1},
- ["Shoulder Left"] = {1},
- ["Shoulder Right"] = {1},
- ["Chest"] = {1},
- ["Hood"] = {0},
- ["Backpack"] = {0},
- ["Wrist"] = {1},
- ["Utility"] = {1},
- ["Kneeguards"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 1", 300)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 2", 300)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 10", 600)
- ply:changeTeam(TEAM_SOLDAT1, true)
- end
- })
- TEAM_SPARTAN10 = DarkRP.createJob("Spartan 10***", {
- color = Color(63, 127, 0, 255),
- model = "models/valk/h5/unsc/spartan/spartan.mdl",
- description = [[Capacité: Bouclier énergétique
- Legendaire | Legendary"]],
- weapons = {"tfa_rebirth_ma5c", "tfa_rebirth_m6g"},
- command = "SP10",
- VIPOnly = true,
- F4JobFilter = "Faction UNSC",
- max = 2,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {1},
- bodygroups = {
- ["Chest"] = {7},
- ["Pelvis"] = {7},
- ["Legs"] = {7},
- ["RightArm"] = {7},
- ["LeftArm"] = {7},
- ["Forearms"] = {7},
- ["Helmet"] = {7},
- },
- PlayerDeath = function(ply, weapon, killer)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 1", 600)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 2", 600)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Spartan 10", 600)
- ply:changeTeam(TEAM_SOLDAT1, true)
- end
- })
- -- Parasite
- TEAM_PARASITE_HUMAIN = DarkRP.createJob("Parasite: Humain", {
- color = Color(215, 219, 0, 255),
- model = "models/kaesar/halo_humanh3/halo_humanh3.mdl",
- description = [[Capacité: Rapidité ; Saut ; Tantacule-faux
- Prix: 50cR]],
- weapons = {"hl2_fists", "tfa_rebirth_ma37"},
- command = "PH",
- F4JobFilter = "Faction Parasite",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- bodygroups = {
- ["head"] = {0},
- ["torso"] = {0},
- ["r_arm"] = {0},
- ["l_arm"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("vj_halo3flood/combatform/death"..math.random(1,12)..".wav", 120, 100)
- end
- })
- TEAM_PARASITE_PILOTE = DarkRP.createJob("Parasite: Pilote", {
- color = Color(215, 219, 0, 255),
- model = "models/kaesar/halo_humanh3/halo_humanh3.mdl",
- description = [[Capacité: Rapidité ; Saut ; Tantacule-faux
- Prix: 200cR]],
- weapons = {"hl2_fists", "tfa_rebirth_m6c"},
- command = "PL",
- F4JobFilter = "Faction Parasite",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- bodygroups = {
- ["head"] = {0},
- ["torso"] = {0},
- ["r_arm"] = {0},
- ["l_arm"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("vj_halo3flood/combatform/death"..math.random(1,12)..".wav", 120, 100)
- end
- })
- TEAM_PARASITE_ELITE = DarkRP.createJob("Parasite: Élite", {
- color = Color(215, 219, 0, 255),
- model = "models/kaesar/halo_elite/halo_elite.mdl",
- description = [[Capacité: Bouclier énergétique ; Saut ; Tantacule-faux
- Prix: 200cR]],
- weapons = {"hl2_fistselite", "tfa_hr_swep_plasma_rifle"},
- command = "PE",
- F4JobFilter = "Faction Parasite",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- bodygroups = {
- ["head"] = {0},
- ["ref"] = {0},
- ["a_rleg"] = {0},
- ["a_lleg"] = {0},
- ["a_rarm"] = {0},
- ["a_larm"] = {0},
- ["a_bbody"] = {0},
- ["a_luarm"] = {0},
- ["r_arm"] = {0},
- ["l_arm"] = {0},
- },
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("predatorcz/halo/flood/shared.pmd/death"..math.random(1,8)..".mp3", 120, 100)
- end
- })
- TEAM_PARASITE_BRUTE = DarkRP.createJob("Parasite: Brute", {
- color = Color(215, 219, 0, 255),
- model = "models/cpthazama/halo3/flood_brute_pm.mdl",
- description = [[Capacité: Résistance ; Saut ; Tantacule-faux
- Prix: 200cR]],
- weapons = {"hl2_fistsbrute", "tfa_hr_swep_spiker"},
- command = "PB",
- F4JobFilter = "Faction Parasite",
- max = 5,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("vj_halo3flood/brute/bruteform_body_destroyed"..math.random(1,8)..".wav", 120, 100)
- end
- })
- TEAM_PARASITE_TANK = DarkRP.createJob("Parasite: Tank", {
- color = Color(215, 219, 0, 255),
- model = "models/cpthazama/halo3/flood_tank_pm.mdl",
- description = [[Capacité: Tantacule-faux ; Spéciale
- Prix: 500cR]],
- weapons = {"hl2_fiststank", "boucliertank"},
- command = "PT",
- F4JobFilter = "Faction Parasite",
- max = 4,
- salary = 50,
- admin = 0, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck= function(ply) return string.find(ply:GetUserGroup() , "SP2") or string.find(ply:GetUserGroup() , "ALL") or ply:IsAdmin() end,
- customCheckFailMsg= "Vous ne possédez pas cette classe.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("vj_halo3flood/tank/dth"..math.random(1,13)..".mp3", 120, 100)
- RunConsoleCommand("rp_teamban", ply:UserID(), "Parasite: Tank", 300)
- ply:changeTeam(TEAM_PARASITE_HUMAIN, true)
- end
- })
- TEAM_ADMIN = DarkRP.createJob("Veilleurs (Administration)", {
- color = Color(230, 0, 0, 255),
- model = "models/halo/monitor/monitor.mdl",
- description = [[Survolez l'univers en sauvegardant les espèces.]],
- weapons = {""},
- command = "admin",
- max = 0,
- salary = 50,
- admin = 1, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheckFailMsg= "Ceci est une job administratif seulement.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("npc/scanner/cbot_energyexplosion1.wav", 120, 100)
- end
- })
- TEAM_FOUNDER = DarkRP.createJob("Veilleurs (Founder)", {
- color = Color(230, 0, 0, 255),
- model = "models/halo/monitor/monitor_red.mdl",
- description = [[Survolez l'univers en sauvegardant les espèces.]],
- weapons = {""},
- command = "founder",
- max = 0,
- salary = 50,
- admin = 2, vote = false,
- hasLicense = false,
- candemote = false,
- -- CustomCheck
- customCheck = function(ply) return
- table.HasValue({"STEAM_0:0:38696982"}, ply:SteamID()) end,
- CustomCheckFailMsg = "Ceci est une job administratif seulement.",
- medic = false,
- chief = false,
- mayor = false,
- hobo = false,
- cook = false,
- skins = {0},
- PlayerDeath = function(ply, weapon, killer)
- ply:EmitSound("npc/scanner/cbot_energyexplosion1.wav", 120, 100)
- end
- })
- 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)
- /*---------------------------------------------------------------------------
- Define which team joining players spawn into and what team you change to if demoted
- ---------------------------------------------------------------------------*/
- GAMEMODE.DefaultTeam = TEAM_CHOIXDEFACTION
- /*
- --------------------------------------------------------
- HOW TO MAKE A DOOR GROUP
- --------------------------------------------------------
- AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.)
- The default door groups, can also be used as examples:
- */
- AddDoorGroup("Abandonné", TEAM_ADMIN)
- AddDoorGroup("BASE", TEAM_ADMIN)
- AddDoorGroup("Désaffecté", TEAM_ADMIN)
- AddDoorGroup("Porte Blindée", TEAM_ADMIN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement