- Initiateur de la discussion
F
Ferost
Geek
- Messages
- 72
- Score réaction
- 3
- Points
- 90
Bonjour,
j'ai un bug au niveau de mes jobs et je ne trouve vraiment pas le problème
Dans la console sa me met :
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 48.
The best help I can give you is this:
There is an opening '{' bracket at line 36, but this bracket is never closed or not closed in time. It was expected to be closed before the 'category' at line 48.
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 le job c'est sa (sa me le fait a chaque job que j'ai ajouté une categories) :
TEAM_STAFF = DarkRP.createJob("Staff", {
color = Color(255, 0, 0, 255),
model = {"models/player/anon/anon.mdl"},
description = [[ ]],
weapons = {"itemstore_pickup","weapon_arc_atmcard","weapon_fists"},
command = "staff",
max = 4,
salary = 0,
admin = 1,
vote = false,
hasLicense = true,
candemote = false
category = "Administrations"
})
En espérant de l'aide
j'ai un bug au niveau de mes jobs et je ne trouve vraiment pas le problème
Dans la console sa me met :
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 48.
The best help I can give you is this:
There is an opening '{' bracket at line 36, but this bracket is never closed or not closed in time. It was expected to be closed before the 'category' at line 48.
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 le job c'est sa (sa me le fait a chaque job que j'ai ajouté une categories) :
TEAM_STAFF = DarkRP.createJob("Staff", {
color = Color(255, 0, 0, 255),
model = {"models/player/anon/anon.mdl"},
description = [[ ]],
weapons = {"itemstore_pickup","weapon_arc_atmcard","weapon_fists"},
command = "staff",
max = 4,
salary = 0,
admin = 1,
vote = false,
hasLicense = true,
candemote = false
category = "Administrations"
})
En espérant de l'aide