Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Protection Civil
- TEAM_RECRUEPC = DarkRP.createJob("Recrue protection civil", {
- color = Color(0, 16, 150, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_hdpolice.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker"},
- command = "rct",
- max = 3,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(150)
- end,
- customCheck = function(ply) return table.HasValue({"recruepc", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Civil Protection"
- })
- TEAM_PCCINQ = DarkRP.createJob("Protection civil 05", {
- color = Color(0, 16, 150, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_retrocop.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol"},
- command = "pccinq",
- max = 5,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(150)
- ply:SetHealth(150)
- ply:SetArmor(200)
- end,
- customCheck = function(ply) return table.HasValue({"05", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Civil Protection"
- })
- TEAM_PCSHIELD = DarkRP.createJob("Protection civil shield", {
- color = Color(0, 16, 150, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_rtb_police.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "riot_shield", "weapon_smg1", "weapon_shotgun", "weapon_frag"},
- command = "pcshield",
- max = 2,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(350)
- ply:SetHealth(350)
- ply:SetArmor(400)
- end,
- customCheck = function(ply) return table.HasValue({"shield", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Civil Protection"
- })
- TEAM_HELIX = DarkRP.createJob("Helix protection civil", {
- color = Color(0, 16, 150, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_civil_medic.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "weapon_medkit"}
- command = "helix",
- max = 2,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(150)
- ply:SetHealth(150)
- ply:SetArmor(200)
- end,
- customCheck = function(ply) return table.HasValue({"helix", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Civil Protection"
- })
- TEAM_PCQUATRE = DarkRP.createJob("Protection civil 04", {
- color = Color(0, 16, 150, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_skull_police.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "weapon_smg1", "weapon_frag"},
- command = "pcquatre",
- max = 4,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(300)
- ply:SetHealth(300)
- ply:SetArmor(350)
- end,
- customCheck = function(ply) return table.HasValue({"04", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Civil Protection"
- })
- TEAM_PCTROIS = DarkRP.createJob("Protection civil 03", {
- color = Color(0, 16, 150, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_rogue_police.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "weapon_smg1", "weapon_frag"},
- command = "pctrois",
- max = 3,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(450)
- ply:SetHealth(450)
- ply:SetArmor(500)
- end,
- customCheck = function(ply) return table.HasValue({"03", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Civil Protection"
- })
- TEAM_PCDEUX = DarkRP.createJob("Protection civil 02", {
- color = Color(0, 16, 150, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_phoenix_police.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "weapon_ar2", "weapon_frag"},
- command = "pcdeux",
- max = 3,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(500)
- ply:SetHealth(500)
- ply:SetArmor(550)
- end,
- customCheck = function(ply) return table.HasValue({"02", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Civil Protection"
- })
- TEAM_PCUN = DarkRP.createJob("Protection civil 01", {
- color = Color(0, 16, 150, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_police_bt.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_pistol", "weapon_ar2", "weapon_frag"},
- command = "pcun",
- max = 2,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(550)
- ply:SetHealth(550)
- ply:SetArmor(600)
- end,
- customCheck = function(ply) return table.HasValue({"01", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Civil Protection"
- })
- TEAM_OFC = DarkRP.createJob("Officier protection civil", {
- color = Color(0, 16, 150, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_policetrench.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_357", "weapon_ar2", "weapon_shotgun", "weapon_frag"},
- command = "ofc",
- max = 1,
- salary = 50,
- admin = 0,
- vote = false,
- hasLicense = false,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(600)
- ply:SetHealth(600)
- ply:SetArmor(650)
- end,
- customCheck = function(ply) return table.HasValue({"ofc", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- mayor = true,
- category = "Civil Protection"
- })
- TEAM_ADMINISTRATEUR = DarkRP.createJob("Administrateur", {
- color = Color(224, 0, 0, 255),
- model = {"models/taggart/gallahan.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool"},
- command = "administrateur",
- max = 1,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = false,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(50)
- end,
- customCheck = function(ply) return table.HasValue({"administrateur", "superadmin" , "fondateur"}, ply:GetNWString("usergroup"))
- end,
- mayor = true,
- category = "Civil Protection"
- })
- --Overwatch Transhumans Arms
- TEAM_OTA = DarkRP.createJob("OTA", {
- color = Color(187, 0, 217, 255),
- model = {"models/ffcm/combine_soldier.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_357", "weapon_ar2", "weapon_frag"},
- command = "ota",
- max = 3,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(1200)
- ply:SetHealth(1200)
- ply:SetArmor(1500)
- end,
- customCheck = function(ply) return table.HasValue({"ota", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Overwatch Transhumans Arms"
- })
- TEAM_OTAELITE = DarkRP.createJob("OTA Elite", {
- color = Color(187, 0, 217, 255),
- model = {"models/ffcm/combine_super_soldier.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_357", "weapon_ar2", "weapon_frag"},
- command = "otaelite",
- max = 1,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(1500)
- ply:SetHealth(1500)
- ply:SetArmor(2500)
- end,
- customCheck = function(ply) return table.HasValue({"otaelite", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Overwatch Transhumans Arms"
- })
- TEAM_OTAGARDE = DarkRP.createJob("OTA Garde", {
- color = Color(187, 0, 217, 255),
- model = {"models/ffcm/combine_soldier_prisonguard.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker", "weapon_357", "weapon_shotgun", "weapon_frag"},
- command = "otagarde",
- max = 2,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(1350)
- ply:SetHealth(1350)
- ply:SetArmor(1700)
- end,
- customCheck = function(ply) return table.HasValue({"otagarde", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Overwatch Transhumans Arms"
- })
- --Autres membres du Cartel
- TEAM_STALKER = DarkRP.createJob("Stalker", {
- color = Color(0, 16, 150, 255),
- model = {"models/player/zelpa/stalker.mdl"},
- description = [[]],
- weapons = {"re_hands"},
- command = "stalker",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Civil Protection",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return table.HasValue({"stalker", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "Vous n'avez pas le bon grade !"
- })
- TEAM_CREMATOR = DarkRP.createJob("Cremator", {
- color = Color(0, 16, 150, 255),
- model = {"models/player/cremator_player.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool"},
- command = "cremator",
- max = 1,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Civil Protection",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(500)
- ply:SetHealth(500)
- ply:SetArmor(600)
- end,
- customCheck = function(ply) return table.HasValue({"cremator", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "Vous n'avez pas le bon grade !"
- })
- TEAM_VORTIGAUNTESCLAVE= DarkRP.createJob("Vortigaunt esclave", {
- color = Color(0, 16, 150, 255),
- model = {"models/player/vortigaunt.mdl"},
- description = [[]],
- weapons = {"re_hands", "swep_vortigaunt_beam"},
- command = "vortigauntescalve",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Civil Protection",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(250)
- ply:SetHealth(250)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return table.HasValue({"vortigauntesclave", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "Vous n'avez pas le bon grade !"
- })
- --Civiles
- TEAM_CITOYEN = DarkRP.createJob("Citoyen", {
- color = Color(0, 204, 7, 255),
- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- description = [[]],
- weapons = {"re_hands"},
- command = "citoyen",
- max = 0,
- salary = 0,
- admin = 0,
- vote = false,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(30)
- ply:SetHealth(30)
- ply:SetArmor(0)
- end,
- hasLicense = false,
- candemote = false,
- category = "Civil",
- bodygroups = {
- ["torso"] = {0},
- ["legs"] = {0},
- }
- })
- TEAM_LOYALISTE = DarkRP.createJob("Loyaliste", {
- color = Color(0, 214, 188, 255),
- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- description = [[]],
- weapons = {"re_hands"},
- command = "loyaliste",
- max = 0,
- salary = 0,
- admin = 0,
- vote = false,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return table.HasValue({"loyaliste", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- hasLicense = false,
- candemote = false,
- category = "Civil",
- bodygroups = {
- ["torso"] = {3,15,16,17,18,19,20},
- ["legs"] = {6},
- }
- })
- -- Civils Workers Union
- TEAM_CWURECRUE = DarkRP.createJob("CWU Recrue", {
- color = Color(0, 214, 188, 255),
- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- description = [[]],
- weapons = {"re_hands"},
- command = "cwurecrue",
- max = 4,
- salary = 100,
- admin = 0,
- vote = false,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return table.HasValue({"cwurecrue", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- hasLicense = false,
- category = "Civil Workers Union",
- bodygroups = {
- ["torso"] = {12},
- ["legs"] = {6},
- }
- })
- TEAM_CWUCONFIRME = DarkRP.createJob("CWU Confirme", {
- color = Color(0, 214, 188, 255),
- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- description = [[]],
- weapons = {"re_hands"},
- command = "cwuconfirme",
- max = 3,
- salary = 100,
- admin = 0,
- vote = false,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return table.HasValue({"cwuconfirme", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- hasLicense = false,
- category = "Civil Workers Union",
- bodygroups = {
- ["torso"] = {13},
- ["legs"] = {6},
- }
- })
- TEAM_CWUSUPERVISEUR = DarkRP.createJob("CWU Superviseur", {
- color = Color(0, 214, 188, 255),
- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- description = [[]],
- weapons = {"re_hands"},
- command = "cwusuperviseur",
- max = 1,
- salary = 150,
- admin = 0,
- vote = false,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(10)
- end,
- customCheck = function(ply) return table.HasValue({"cwusuperviseur", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- hasLicense = false,
- category = "Civil Workers Union",
- bodygroups = {
- ["torso"] = {14},
- ["legs"] = {6},
- }
- })
- --Résistance
- --TEAM_REFUGIE = DarkRP.createJob("Recrue Resistant ", {
- -- color = Color(214, 177, 0, 255),
- -- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- -- description = [[]],
- -- weapons = {"re_hands"},
- -- command = "refugie",
- -- max = 5,
- -- salary = 2,
- -- admin = 0,
- -- vote = false,
- -- hasLicense = false,
- -- candemote = true,
- -- PlayerSpawn = function(ply)
- -- ply:SetMaxHealth(80)
- -- ply:SetHealth(80)
- -- ply:SetArmor(0)
- -- end,
- -- customCheck = function(ply) return table.HasValue({"refugie", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- -- end,
- -- bodygroups = {
- -- ["torso"] = {0},
- -- ["legs"] = {0},
- -- }
- --})
- TEAM_RECRERESISTANT = DarkRP.createJob("Recrue Resistant ", {
- color = Color(214, 177, 0, 255),
- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- description = [[]],
- weapons = {"re_hands"},
- command = "recrueresistant",
- max =2,
- salary = 2,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Résistance",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(10)
- end,
- customCheck = function(ply) return table.HasValue({"recrueresistant", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- bodygroups = {
- ["torso"] = {5,6,7,8,9},
- ["legs"] = {6},
- }
- })
- TEAM_RESISTANTINFILTRE = DarkRP.createJob("Resistant Infiltre", {
- color = Color(214, 177, 0, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_resistance_police.mdl"},
- description = [[]],
- weapons = {"re_hands", "alyx_emptool", "guigui_handcuffs", "arrest_stick", "stunstick", "unarrest_stick", "weaponchecker"},
- command = "resistantinfiltre",
- max = 1,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = true,
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(150)
- ply:SetHealth(150)
- ply:SetArmor(200)
- end,
- customCheck = function(ply) return table.HasValue({"resistantinfiltre", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- category = "Résistance",
- bodygroups = {
- ["torso"] = {5,6,7,8,9},
- ["legs"] = {6},
- }
- })
- TEAM_RESISTANT = DarkRP.createJob("Resistant", {
- color = Color(214, 177, 0, 255),
- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- description = [[]],
- weapons = {"re_hands"},
- command = "resistant",
- max = 4,
- salary = 3,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Résistance",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(30)
- end,
- customCheck = function(ply) return table.HasValue({"resistant", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "Vous n'avez pas le bon grade !",
- bodygroups = {
- ["torso"] = {5,6,7,8,9,3,15,16,17,18,19,20},
- ["legs"] = {6},
- }
- })
- TEAM_RESISTANTMEDECIN = DarkRP.createJob("Resistant Medecin", {
- color = Color(214, 177, 0, 255),
- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- description = [[]],
- weapons = {"re_hands", "weapon_medkit"},
- command = "resistantmedecin",
- max = 1,
- salary = 4,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Résistance",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(30)
- end,
- customCheck = function(ply) return table.HasValue({"resistantmedecin", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "Vous n'avez pas le bon grade !",
- bodygroups = {
- ["torso"] = {5,6,7,8,9,3,15,16,17,18,19,20},
- ["legs"] = {6},
- }
- })
- TEAM_SERGENTRESISTANT = DarkRP.createJob("Sergent Resistant", {
- color = Color(214, 177, 0, 255),
- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- description = [[]],
- weapons = {"re_hands", "weapon_pistol"},
- command = "sergentresistant",
- max = 2,
- salary = 10,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Résistance",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(50)
- end,
- customCheck = function(ply) return table.HasValue({"sergentresistant", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "Vous n'avez pas le bon grade !",
- bodygroups = {
- ["torso"] = {5,6,7,8,9,3,15,16,17,18,19,20},
- ["legs"] = {6},
- }
- })
- TEAM_CHEFRESISTANT = DarkRP.createJob("Chef de la Resistance", {
- color = Color(214, 177, 0, 255),
- model = {"models/player/zelpa/female_01.mdl", "models/player/zelpa/female_06.mdl", "models/player/zelpa/male_02.mdl", "models/player/zelpa/male_07.mdl", "models/player/zelpa/male_11.mdl"},
- description = [[]],
- weapons = {"re_hands", "weapon_357"},
- command = "chefresistant",
- max = 1,
- salary = 15,
- admin = 0,
- vote = false,
- hasLicense = false,
- candemote = true,
- category = "Résistance",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(100)
- ply:SetHealth(100)
- ply:SetArmor(100)
- end,
- customCheck = function(ply) return table.HasValue({"chefresistant", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "Vous n'avez pas le bon grade !",
- bodygroups = {
- ["torso"] = {5,6,7,8,9,3,15,16,17,18,19,20},
- ["legs"] = {6},
- }
- })
- TEAM_VORTIGAUNT = DarkRP.createJob("Vortigaunt", {
- color = Color(214, 177, 0, 255),
- model = {"models/player/vortigaunt.mdl"},
- description = [[]],
- weapons = {"re_hands", "swep_vortigaunt_beam"},
- command = "vortigaunt",
- max = 2,
- salary = 65,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Résistance",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(150)
- ply:SetHealth(150)
- ply:SetArmor(0)
- end,
- customCheck = function(ply) return table.HasValue({"vortigaunt", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "Vous n'avez pas le bon grade !",
- })
- TEAM_MAITRE = DarkRP.createJob("Maitre du jeu", {
- color = Color(255, 0, 0, 255),
- model = {"models/dpfilms/metropolice/playermodels/pm_badass_police.mdl", "models/dpfilms/metropolice/playermodels/pm_steampunk_police.mdl"},
- description = [[]],
- weapons = {"re_hands"},
- command = "admin",
- max = 0,
- salary = 100,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = true,
- category = "Staff",
- customCheck = function(ply) return table.HasValue({"modotest", "modo", "admin", "superadmin", "fondateur"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "Nope ^^",
- })
- --[[---------------------------------------------------------------------------
- Define which team joining players spawn into and what team you change to if demoted
- ---------------------------------------------------------------------------]]
- GAMEMODE.DefaultTeam = TEAM_CITOYEN
- --[[---------------------------------------------------------------------------
- Define which teams belong to civil protection
- Civil protection can set warrants, make people wanted and do some other police related things
- ---------------------------------------------------------------------------]]
- GAMEMODE.CivilProtection = {
- [TEAM_POLICE] = true,
- [TEAM_CHIEF] = false,
- [TEAM_MAYOR] = true,
- }
- --[[---------------------------------------------------------------------------
- Jobs that are hitmen (enables the hitman menu)
- ---------------------------------------------------------------------------]]
- DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement