Jobs VIP

  • Initiateur de la discussion
rom11ain

rom11ain

Geek
Messages
17
Score réaction
0
Points
55
Bonjour,
Pour les job vip c'est bien ça ?
TEAM_PARRAIN = DarkRP.createJob(« *VIP* Parrain", {
color = Color(0, 0, 0, 255),
model = {"models/fearless/don1.mdl"},
description = [[Il gère les mafieux.]],
weapons = {"weapon_fists","pocher","weapon_arc_atmcard"},
command = "parrain",
max = 1,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
customCheck = function(ply) return CLIENT or
table.HasValue({"vip","superadmin","admin"}, ply:GetNWString("usergroup"))
end,
CustomCheckFailMsg = "Il faut être VIP pour ce job.",
})

Manque t'il un espace a partir du customCheck car ça me met une erreur sur le serveur !?
Merci.
 
R

raidzix04

Geek suprême
Messages
249
Score réaction
21
Points
125
Code:
TEAM_PARRAIN = DarkRP.createJob("*PIGEON* Parrain", { color = Color(0, 0, 0, 255), model = {"models/fearless/don1.mdl"}, description = [[Il gère les mafieux.]], weapons = {"weapon_fists", "pocket", "weapon_arc_atmcard"}, command = "parrain", max = 1, salary = 50, admin = 0, vote = false, hasLicense = false, hasRadio = true, customCheck = function(ply) return ply:CheckGroup("PIGEON", "admin", "superadmin") or ply:IsAdmin() end, CustomCheckFailMsg = "Il faut être PIGEON pour ce job."
})
 
Discord d'entraide
Rejoignz-nous sur Discord