probleme VIP GMOD

  • Initiateur de la discussion LesBluePc
  • Date de début
  • Initiateur de la discussion
L

LesBluePc

Geek
Messages
82
Score réaction
4
Points
60
Bonjours je n arrive pas a mettre le VIP sur mon serveur, a chaque fois que je met la commande que tout le monde dis, ca me fait une ereure lua...

Voici la commande:

customCheck = function(ply) return ply:CheckGroup("VIP") or ply:IsAdmin() end,
})

et l autre model aussi je l ai tester...
ca me met ça dans la console:

[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 260.
The best help I can give you is this:

There is an opening '{' bracket at line 239, but this bracket is never closed or not closed in time. It was expected to be closed before the 'customCheck' at line 260.

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 -------

Pouvez vous m aider?
Merci bonne soirée
 
SwiiD

SwiiD

Geek suprême
Messages
334
Score réaction
12
Points
115
customCheck = function(ply) return ply:CheckGroup("VIP") or ply:IsAdmin() end,

Remplace ply:CheckGroup par ply:GetNWString et dit moi si sa marche ^^
 
Discord d'entraide
Rejoignz-nous sur Discord