- Initiateur de la discussion
Mr Akitaman
Geek
- Messages
- 22
- Score réaction
- 8
- Points
- 80
je n'arrive pas a résoudre mon problème d'erreur lua si vous pouvais m'aider sa serais sympa
erreur :
[ERROR] addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:265: '}' expected (to close '{' at line 257) near 'command'
1. unknown - addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:0
job :
TEAM_501CLONE = DarkRP.createJob("Clone 501th", {
color = Color(0, 26, 255, 255),
model = {
"models/reizer_cgi_p2/501_d2/501_d2.mdl",
"models/reizer_cgi_p2/501_snow_trp/501_snow_trp.mdl"
},
description = [[Vous faite parti(e)du régiment de la 501th vous devez suivre les ordre de vos supérieur !]],
weapons = {"clone_card_c1", "garde_a_vousv1.1", "weapon_752_dc15a"}
command = "clone501",
max = 0,
salary = 50,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
PlayerSpawn = function(ply)
ply:SetMaxHealth(150)
ply:SetHealth(150)
ply:SetArmor(100)
end
})
erreur :
[ERROR] addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:265: '}' expected (to close '{' at line 257) near 'command'
1. unknown - addons/darkrpmodification/lua/darkrp_customthings/jobs.lua:0
job :
TEAM_501CLONE = DarkRP.createJob("Clone 501th", {
color = Color(0, 26, 255, 255),
model = {
"models/reizer_cgi_p2/501_d2/501_d2.mdl",
"models/reizer_cgi_p2/501_snow_trp/501_snow_trp.mdl"
},
description = [[Vous faite parti(e)du régiment de la 501th vous devez suivre les ordre de vos supérieur !]],
weapons = {"clone_card_c1", "garde_a_vousv1.1", "weapon_752_dc15a"}
command = "clone501",
max = 0,
salary = 50,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
PlayerSpawn = function(ply)
ply:SetMaxHealth(150)
ply:SetHealth(150)
ply:SetArmor(100)
end
})