- Initiateur de la discussion
wazakk
Geek suprême
- Messages
- 130
- Score réaction
- 1
- Points
- 115
Aprés avoir suivis beaucoup de tuto je ne parvient toujours pas a mette des jobs VIP j'ai crée le groupe VIP et la team VIP mais impossible,les métiers que je let en vip n'apparaissent même pas en jeux..
TEAM_SWATLEADERVIP = DarkRP.createJob("Swat Leader VIP", {
color = Color(0, 0, 0, 255),
model = {"models/player/riot.mdl"},
description = [[]],
weapons = {"weapon_m42", "ls_sniper", "weapon_pumpshotgun2", "door_ram"},
command = "/vip",
max = 2,
salary = 500,
admin = 0,
vote = false,
hasLicense = true,
-- Insert customCheck here if you have one and want one.
customCheck = function(ply) return ply:IsUserGroup("usergroup") == "V.I.P" end -- The extra check function. Enter nil or nothing to not have an extra check
Voici un exemple..
TEAM_SWATLEADERVIP = DarkRP.createJob("Swat Leader VIP", {
color = Color(0, 0, 0, 255),
model = {"models/player/riot.mdl"},
description = [[]],
weapons = {"weapon_m42", "ls_sniper", "weapon_pumpshotgun2", "door_ram"},
command = "/vip",
max = 2,
salary = 500,
admin = 0,
vote = false,
hasLicense = true,
-- Insert customCheck here if you have one and want one.
customCheck = function(ply) return ply:IsUserGroup("usergroup") == "V.I.P" end -- The extra check function. Enter nil or nothing to not have an extra check
Voici un exemple..