- Initiateur de la discussion
X
xTremRac
Geek
- Messages
- 27
- Score réaction
- 1
- Points
- 60
Bonsoir a tous,
Petit probléme avec mon scoreboard, le métier BAC est le seul a s'afficher en bleu, pourquoi ? x)
Petit probléme avec mon scoreboard, le métier BAC est le seul a s'afficher en bleu, pourquoi ? x)
Code:
TEAM_POLICE = DarkRP.createJob("[VIP] BAC", { color = Color(0, 85, 255, 255), model = { "models/player/Group01/male_02.mdl", "models/player/Group01/male_06.mdl", "models/player/Group01/male_04.mdl", "models/player/Group01/male_05.mdl", "models/player/Group01/male_03.mdl", "models/player/Group01/male_07.mdl", "models/player/Group02/male_04.mdl", "models/player/hostage/hostage_01.mdl" }, description = [[Brigade Anti Criminalite, vous opérez en civil]], weapons = {"pass_police_nationale", "dradio", "fas2_p226", "weapon_taser", "weapon_r_handcuffs"}, command = "bac", max = 3, salary = 95, admin = 0, vote = false, hasLicense = true, candemote = false, category = "Gouvernement", ammo = { ["fas2_ammo_357sig"] = 150, ["pistol"] = 150 }, PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) ply:SetArmor(100) end, customCheck = function(ply) return CLIENT or
table.HasValue({'superadmin', 'admin', 'modo', 'modo-test', 'fondateur', 'support', 'vip'}, ply:GetNWString('usergroup'))
end,
CustomCheckFailMsg = 'Ce métier est que pour les VIP',
})