- Initiateur de la discussion
VAVA Fonda Swinrp
Geek
- Messages
- 12
- Score réaction
- 0
- Points
- 80
Bonjour je rencontre un promblème avec le VIP quand je met cette ligne de code:
TEAM_GANG = DarkRP.createJob("ChefYakuza[VIP]", { (ligne 790)
color = Color(0, 0, 0, 255),
model = {
"models/sd/players/[soy_grappler].mdl",
"models/sd/players/[dbs_grappler].mdl",
"models/sd/players/[dbs_grappler_2].mdl"
},
description = [[Vous devez vous inposé devant les autres gangs]],
weapons = {"weapon_arc_atmcard", "weapon_fists", "unarrest_stick", "m9k_honeybadger","itemstore_pickup"},
command = "yakuzav",
max = 1,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Gangsters"
customCheck = function(ply) return ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") == "admin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "VIP+" end, (ligne 807)
})
Ma console me dit qu'il faut fermer un paranthèse,voi l'erreur :
There is an opening '{' bracket at line 790, but this bracket is never closed or not closed in time. It was expected to be closed before the '(' at line 807.
Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.
TEAM_GANG = DarkRP.createJob("ChefYakuza[VIP]", { (ligne 790)
color = Color(0, 0, 0, 255),
model = {
"models/sd/players/[soy_grappler].mdl",
"models/sd/players/[dbs_grappler].mdl",
"models/sd/players/[dbs_grappler_2].mdl"
},
description = [[Vous devez vous inposé devant les autres gangs]],
weapons = {"weapon_arc_atmcard", "weapon_fists", "unarrest_stick", "m9k_honeybadger","itemstore_pickup"},
command = "yakuzav",
max = 1,
salary = 0,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Gangsters"
customCheck = function(ply) return ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") == "admin" or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "VIP+" end, (ligne 807)
})
Ma console me dit qu'il faut fermer un paranthèse,voi l'erreur :
There is an opening '{' bracket at line 790, but this bracket is never closed or not closed in time. It was expected to be closed before the '(' at line 807.
Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.