Erreur lua help

  • Initiateur de la discussion Yoko6001
  • Date de début
  • Initiateur de la discussion
Yoko6001

Yoko6001

Geek suprême
Messages
130
Score réaction
4
Points
115
L'erreur
ERROR] Lua is unable to understand file "darkrp_customthings/categories.lua" because its author made a mistake around line number 61.
The best help I can give you is this:

There is an opening '(' bracket at line 56, but this bracket is never closed or not closed in time. It was expected to be closed before the 'end of the file' at line 61.

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

Mon fichier categorie.lua:
DarkRP.createCategory{
name = "Citizens",
categorises = "jobs",
startExpanded = true,
color = Color(0, 107, 0, 255),
}

DarkRP.createCategory{
name = "Other",
categorises = "jobs",
startExpanded = true,
color = Color(0, 107, 0, 255),
}

DarkRP.createCategory{
name = "Civil Protection",
categorises = "jobs",
startExpanded = true,
color = Color(0, 107, 0, 255),
}

DarkRP.createCategory{
name = "Gangsters",
categorises = "jobs",
startExpanded = true,
color = Color(0, 107, 0, 255),
}

DarkRP.createCategory{
name = "Other",
categorises = "entities",
startExpanded = true,
color = Color(0, 107, 0, 255),
}

DarkRP.createCategory("Ak47", {
name = "Other",
categorises = "weapons",
startExpanded = true,
color = Color(0, 107, 0, 255),
}
 
Discord d'entraide
Rejoignz-nous sur Discord