- Initiateur de la discussion
JavaDa
Geek
- Messages
- 414
- Score réaction
- 47
- Points
- 80
Salut à vous, tous mes jobs fonctionne mais quand je met celui là:
TEAM_BRIGADE = DarkRP.createJob("Brigade motorisé", {
color = Color(100, 150, 200, 255),
model = "models\darkley/motard_01.mdl",
description = [[SALARY:190]],
weapons = {"weapon_arc_atmcard", "weapon_r_handcuffs", "salute", "stungun", "tfa_m92beretta"},
command = "brigade",
max = 3,
salary = 190,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
category = "Citizens",
customCheck = function(ply) return ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") == "superadmin" end,
})
Il plante ...
Pourtant c'est les même ligne de code !
TEAM_BRIGADE = DarkRP.createJob("Brigade motorisé", {
color = Color(100, 150, 200, 255),
model = "models\darkley/motard_01.mdl",
description = [[SALARY:190]],
weapons = {"weapon_arc_atmcard", "weapon_r_handcuffs", "salute", "stungun", "tfa_m92beretta"},
command = "brigade",
max = 3,
salary = 190,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
category = "Citizens",
customCheck = function(ply) return ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") == "superadmin" end,
})
Il plante ...
Pourtant c'est les même ligne de code !