pb lua

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

Nardox

Psychopathe
Messages
1 143
Score réaction
240
Points
250
Tien:
Code:
TEAM_STAFF = DarkRP.createJob("STAFF", { color = Color(255, 0, 0, 255), model = {"models/Avengers/IronMan/mark7_player.mdl"}, description = [[Ouloulou!]], weapons = {"weapon_fists","weapon_arc_atmcard"}, command = "staff", max = 0, salary = 100, admin = 1, vote = false, hasLicense = true, customCheck = function(ply) return ply:GetNWString("usergroup") == "superadmin", "vip", "Modérateur", "admin" or ply:GetNWString("usergroup") == "superadmin" end, CustomCheckFailMag = "Uniquement au modo, modo test , admin , superadmin."
})
 
  • J'aime
Réactions: Yoh Sambre ♪ et hetldu69
  • Initiateur de la discussion
H

hetldu69

Geek suprême
Messages
137
Score réaction
2
Points
110
c'est pas un troll ???
 
Nardox

Nardox

Psychopathe
Messages
1 143
Score réaction
240
Points
250
  • J'aime
Réactions: hetldu69
  • Initiateur de la discussion
H

hetldu69

Geek suprême
Messages
137
Score réaction
2
Points
110
merci
 
Nardox

Nardox

Psychopathe
Messages
1 143
Score réaction
240
Points
250
Discord d'entraide
Rejoignz-nous sur Discord