- Initiateur de la discussion
Predatz
Geek
- Messages
- 58
- Score réaction
- 2
- Points
- 45
donc salut j'ai un petit probleme avec le vip qui ne fonctionne pas je n'arrive pas du tout a voir d'ou vien l'erreur mais je pense que sa doit etres une faute de frappe voici l'erreur :
There is 1 Lua problem!
Please check your console for more information!
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 114.
The best help I can give you is this:
There is an opening '{' bracket at line 102, but this bracket is never closed or not closed in time. It was expected to be closed before the 'customCheck' at line 114.
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: ({)}.
------- End of Simplerr error -------
ET VOICI LE JOB VIP :
TEAM_HACKER = DarkRP.createJob("Hacker", {
color = Color(150, 91, 0, 255),
model = {"models/player/aiden_pearce.mdl"},
description = [[Vous êtes un hacker , vous hacker des ATM , et les systèmes de la ville !]],
weapons = {"weapon_arc_atmcard", "weapon_arc_atmhack", "weapon_fists", "weapon_hack_phone"},
command = "Hacker",
max = 2,
salary = 150,
admin = 0,
vote = false,
hasLicense = false,
candemote = true
customCheck = function(ply) return ply:IsUserGroup("VIP") or ply:IsUserGroup("superadmin") or ply:IsUserGroup("Adminvip")end,
CustomCheckFailMsg = "Tu doit devenir un Membre VIP ! utilise: !vip"
})
-------------------------------------------------------------------------------------------------
Ligne 102 : TEAM_HACKER = DarkRP.createJob("Hacker", {
Ligne 114 : customCheck = function(ply) return ply:IsUserGroup("VIP") or ply:IsUserGroup("superadmin") or ply:IsUserGroup("Adminvip")end,
There is 1 Lua problem!
Please check your console for more information!
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 114.
The best help I can give you is this:
There is an opening '{' bracket at line 102, but this bracket is never closed or not closed in time. It was expected to be closed before the 'customCheck' at line 114.
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: ({)}.
------- End of Simplerr error -------
ET VOICI LE JOB VIP :
TEAM_HACKER = DarkRP.createJob("Hacker", {
color = Color(150, 91, 0, 255),
model = {"models/player/aiden_pearce.mdl"},
description = [[Vous êtes un hacker , vous hacker des ATM , et les systèmes de la ville !]],
weapons = {"weapon_arc_atmcard", "weapon_arc_atmhack", "weapon_fists", "weapon_hack_phone"},
command = "Hacker",
max = 2,
salary = 150,
admin = 0,
vote = false,
hasLicense = false,
candemote = true
customCheck = function(ply) return ply:IsUserGroup("VIP") or ply:IsUserGroup("superadmin") or ply:IsUserGroup("Adminvip")end,
CustomCheckFailMsg = "Tu doit devenir un Membre VIP ! utilise: !vip"
})
-------------------------------------------------------------------------------------------------
Ligne 102 : TEAM_HACKER = DarkRP.createJob("Hacker", {
Ligne 114 : customCheck = function(ply) return ply:IsUserGroup("VIP") or ply:IsUserGroup("superadmin") or ply:IsUserGroup("Adminvip")end,