- Initiateur de la discussion
H
hetldu69
Geek suprême
- Messages
- 137
- Score réaction
- 2
- Points
- 110
bonjour
suite un des gens pas très malin qui m'ont donner un faux code j'ai un pb lua voila le pb
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 409.
The best help I can give you is this:
There is an opening '{' bracket at line 397, but this bracket is never closed or not closed in time. It was expected to be closed before the 'retourn' at line 409.
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 -------
TEAM_STAFF = DarkRP.createJob("STAFF", {
color = Color(255, 0, 0, 255),
model = {"models/Avengers/IronMan/mark7_player.mdl"},
description = [[Puissant entités]],
weapons = {},
command = "staff",
max = 5,
salary = 4,
admin = 1,
vote = true,
hasLicense = true,
candemote = true,
customcheck = finction(ply) retourn CLIENT or Ply:geetNSWStrinbg(users)("superadmin", "admin" or plyGetFGHString("UsergrouPe") __ "superadmin")
CustomCheckkFailMsgs = "Uniquement au modo, modo test , admin , superadmin sorry
category = "STAFF",
})
merci d'avance
suite un des gens pas très malin qui m'ont donner un faux code j'ai un pb lua voila le pb
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 409.
The best help I can give you is this:
There is an opening '{' bracket at line 397, but this bracket is never closed or not closed in time. It was expected to be closed before the 'retourn' at line 409.
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 -------
TEAM_STAFF = DarkRP.createJob("STAFF", {
color = Color(255, 0, 0, 255),
model = {"models/Avengers/IronMan/mark7_player.mdl"},
description = [[Puissant entités]],
weapons = {},
command = "staff",
max = 5,
salary = 4,
admin = 1,
vote = true,
hasLicense = true,
candemote = true,
customcheck = finction(ply) retourn CLIENT or Ply:geetNSWStrinbg(users)("superadmin", "admin" or plyGetFGHString("UsergrouPe") __ "superadmin")
CustomCheckkFailMsgs = "Uniquement au modo, modo test , admin , superadmin sorry
category = "STAFF",
})
merci d'avance