- Initiateur de la discussion
Virlast-
Geek
- Messages
- 66
- Score réaction
- 6
- Points
- 95
Bonsoir , j'ai un bug avec mes jobs vip ,
l'erreur :
Mais il me semble pourtant que mon code est juste
VIP :
Merci d'avance.
l'erreur :
Code:
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 414.
The best help I can give you is this:
There is an opening '{' bracket at line 399, but this bracket is never closed or not closed in time. It was expected to be closed before the 'customCheck' at line 414.
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: ({)}.
VIP :
Code:
customCheck = function(ply) return ply:IsUserGroup("vip") or ply:IsUserGroup("superadmin") end, CustomCheckFailMsg = "Ce job est VIP"
Merci d'avance.