Erreur job

  • Initiateur de la discussion
M

MetoraFR

Geek
Messages
89
Score réaction
0
Points
80
Bonsoir,

Dans ma console y'a marqué sa :

Code:
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 566.
The best help I can give you is this:
There is an opening '{' bracket at line 558, but this bracket is never closed or not closed in time. It was expected to be closed before the 'description' at line 566.
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: ({)}.

Sauf que quand je vais a la ligne 566 y'a rien ...

Code:
TEAM_FERMIER = DarkRP.createJob("Fermier", { color = Color(255, 214, 0, 255), model = { "models/player/Group01/Female_01.mdl", "models/player/Group01/Female_02.mdl", "models/player/group01/male_01.md", "models/player/Group01/Male_02.mdl" } description = [[Vous être un fermier, vous devez planter vos graines et les vendre aux magasins]], weapons = {}, command = "fermier", max = 2, salary = 65, admin = 0, vote = false, hasLicense = false, candemote = false
})
 
N

Neax

Geek
Messages
5
Score réaction
1
Points
45
Salut,
Dans les model,ou y'a le "}",tu doit rajoute une virgule a la fin !
Comme sa :

Code:
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/group01/male_01.md",
"models/player/Group01/Male_02.mdl"
},
 
  • Initiateur de la discussion
M

MetoraFR

Geek
Messages
89
Score réaction
0
Points
80
Effectivement j'avais raté mon copier/coller
Merci :D
 
Discord d'entraide
Rejoignz-nous sur Discord