- Initiateur de la discussion
tifeux
Geek suprême
- Messages
- 262
- Score réaction
- 38
- Points
- 160
Bonjour alors j'ai un petit problème j'ai rajouté des catégories et là premier fois que j'ai un message d'erreur avec les catégories
voilà l'erreur de la ligne (76-97)
TEAM_ASSI = DarkRP.createJob("Assistant Chercheur", {
color = Color(0, 224, 255, 255),
model = {
"models/player/scpsci_male_01.mdl",
"models/player/scpsci_male_02.mdl",
"models/player/scpsci_male_03.mdl",
"models/player/scpsci_male_04.mdl",
"models/player/scpsci_male_05.mdl",
"models/player/scpsci_male_06.mdl",
"models/player/scpsci_male_07.mdl",
"models/player/scpsci_male_08.mdl"
},
description = [[Vous êtes un Assistant Chercheur de la Fondation.]],
weapons = {"wep_jack_job_drpstungun", "stunstick", "weaponchecker", "guthscp_keycard_lvl_1"},
command = "assi",
max = 4,
salary = 150,
admin = 0,
vote = false,
hasLicense = false,
candemote = false
category = "Scientifique"
})
message d'erreur :
ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 97.
The best help I can give you is this:
There is an opening '{' bracket at line 76, but this bracket is never closed or not closed in time. It was expected to be closed before the 'category' at line 97.
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: ({)}.
J'ai un level assez bas en anglais mais j'ai quand même compris l'erreur que je vois pourquoi ça fait celà (This will work: ({}), but this won't: ({)}.) car c'est comme ce ci avec tout mes jobs
voilà l'erreur de la ligne (76-97)
TEAM_ASSI = DarkRP.createJob("Assistant Chercheur", {
color = Color(0, 224, 255, 255),
model = {
"models/player/scpsci_male_01.mdl",
"models/player/scpsci_male_02.mdl",
"models/player/scpsci_male_03.mdl",
"models/player/scpsci_male_04.mdl",
"models/player/scpsci_male_05.mdl",
"models/player/scpsci_male_06.mdl",
"models/player/scpsci_male_07.mdl",
"models/player/scpsci_male_08.mdl"
},
description = [[Vous êtes un Assistant Chercheur de la Fondation.]],
weapons = {"wep_jack_job_drpstungun", "stunstick", "weaponchecker", "guthscp_keycard_lvl_1"},
command = "assi",
max = 4,
salary = 150,
admin = 0,
vote = false,
hasLicense = false,
candemote = false
category = "Scientifique"
})
message d'erreur :
ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 97.
The best help I can give you is this:
There is an opening '{' bracket at line 76, but this bracket is never closed or not closed in time. It was expected to be closed before the 'category' at line 97.
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: ({)}.
J'ai un level assez bas en anglais mais j'ai quand même compris l'erreur que je vois pourquoi ça fait celà (This will work: ({}), but this won't: ({)}.) car c'est comme ce ci avec tout mes jobs