- Initiateur de la discussion
Carlton
Bambi
- Messages
- 3
- Score réaction
- 2
- Points
- 30
Bonjour,
Déja merci de votre lecture.
Mon erreur Lua est :
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 36.
The best help I can give you is this:
Right before the 'end', Lua expected to read a ')', but it didn't.
Hints:
- Did you forget a keyword?
- Did you forget a comma?
et mon job est :
TEAM_ARC = DarkRP.createJob("Recrue ARC", {
color = Color(131, 131, 131, 255),
model = {"models/player/arctroopers/starwars/trooper.mdl"},
description = [[]],
weapons = {"tfa_swch_alphablaster", "tfa_sw_dc17dual"},
command = "recrue ARC",
max = 7,
salary = 50,
vote = false,
hasLicense = false,
candemote = false,
category = "ARC",
PlayerSpawn = function(ply)
ply:SetMaxHealth(300)
ply:SetHealth(300)
ply:SetArmor(100)
customCheck = function(ply) return CLIENT or
table.HasValue({"Recrue ARC"}, ply:GetNWString("usergroup")end
})
Merci de vos prochaine réponces .
Déja merci de votre lecture.
Mon erreur Lua est :
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 36.
The best help I can give you is this:
Right before the 'end', Lua expected to read a ')', but it didn't.
Hints:
- Did you forget a keyword?
- Did you forget a comma?
et mon job est :
TEAM_ARC = DarkRP.createJob("Recrue ARC", {
color = Color(131, 131, 131, 255),
model = {"models/player/arctroopers/starwars/trooper.mdl"},
description = [[]],
weapons = {"tfa_swch_alphablaster", "tfa_sw_dc17dual"},
command = "recrue ARC",
max = 7,
salary = 50,
vote = false,
hasLicense = false,
candemote = false,
category = "ARC",
PlayerSpawn = function(ply)
ply:SetMaxHealth(300)
ply:SetHealth(300)
ply:SetArmor(100)
customCheck = function(ply) return CLIENT or
table.HasValue({"Recrue ARC"}, ply:GetNWString("usergroup")end
})
Merci de vos prochaine réponces .