- Initiateur de la discussion
J
Jean-pierre du 57
Nouveau né
- Messages
- 1
- Score réaction
- 0
- Points
- 15
Bonjour ou bonsoir,
Je vais vous expliquer mon problème lua,mon serveur gmod est (quasiment) complètement codé il manquait juste cet addon(farm system),mais malheureusement cet addon a créé une erreur lua qui est la suivante:
[ERROR] Lua is unable to understand file "darkrp_customthings/entities.lua" because its author made a mistake around line number 26.
The best help I can give you is this:
There is an opening '{' bracket at line 19, but this bracket is never closed or not closed in time. It was expected to be closed before the 'category' at line 26.
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 -------
,je vous mets donc mon fichier enitites:
DarkRP.createEntity("Graines de pommes", {
ent = "fs_apple_seeds",
model = "models/props_lab/box01a.mdl",
price = 200,
max = 20,
cmd = "buyappleseeds",
allowed = TEAM_FS_FARMER
category = "Ferme"
})
C'est donc dans cette partie de code que le problème se trouve.
Je vous remercie d'avance pour votre aide.
Cordialement.
Je vais vous expliquer mon problème lua,mon serveur gmod est (quasiment) complètement codé il manquait juste cet addon(farm system),mais malheureusement cet addon a créé une erreur lua qui est la suivante:
[ERROR] Lua is unable to understand file "darkrp_customthings/entities.lua" because its author made a mistake around line number 26.
The best help I can give you is this:
There is an opening '{' bracket at line 19, but this bracket is never closed or not closed in time. It was expected to be closed before the 'category' at line 26.
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 -------
,je vous mets donc mon fichier enitites:
DarkRP.createEntity("Graines de pommes", {
ent = "fs_apple_seeds",
model = "models/props_lab/box01a.mdl",
price = 200,
max = 20,
cmd = "buyappleseeds",
allowed = TEAM_FS_FARMER
category = "Ferme"
})
C'est donc dans cette partie de code que le problème se trouve.
Je vous remercie d'avance pour votre aide.
Cordialement.