- Initiateur de la discussion
SwiiD
Geek suprême
- Messages
- 334
- Score réaction
- 12
- Points
- 115
Bonjour,
j'ai crée un job je voudrais mettre plusieur Skin sauf que sa fait des lua probleme
voici la ligne de code :
TEAM_AME = DarkRP.createJob("Jonin", {
color = Color(255, 0, 0, 255),
model = model = {
"models/player/bobert/mknoob_npc.mdl",
"models/player/bobert/mkxkenshi.mdl "},
description = [[Vous venez de passer Jonin,faite des mission avec vos genin S !]],
weapons = {"weapon_fists","weapon_shuriken","weapon_ninjaskunai","weapon_force_fists"},
command = "Jonin",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Konoha",
PlayerLoadout = function(ply) ply:SetArmor( 0 ) end,
PlayerLoadout = function(ply) ply:SetArmor( math.Clamp( ( ply:Armor() or 100 ) + 0, 0, 0 ) ) end,
PlayerSpawn = function(ply)
GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0)
ply:SetHealth(1150)
end,
customCheck = function(ply) return ply:GetNWString("usergroup") == "Chunin" or ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") == "Admin" or ply:GetNWString("usergroup") == "superadmin" end,
})
j'ai fait une faute ou ,
Merci,
j'ai crée un job je voudrais mettre plusieur Skin sauf que sa fait des lua probleme
voici la ligne de code :
TEAM_AME = DarkRP.createJob("Jonin", {
color = Color(255, 0, 0, 255),
model = model = {
"models/player/bobert/mknoob_npc.mdl",
"models/player/bobert/mkxkenshi.mdl "},
description = [[Vous venez de passer Jonin,faite des mission avec vos genin S !]],
weapons = {"weapon_fists","weapon_shuriken","weapon_ninjaskunai","weapon_force_fists"},
command = "Jonin",
max = 0,
salary = 100,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
category = "Konoha",
PlayerLoadout = function(ply) ply:SetArmor( 0 ) end,
PlayerLoadout = function(ply) ply:SetArmor( math.Clamp( ( ply:Armor() or 100 ) + 0, 0, 0 ) ) end,
PlayerSpawn = function(ply)
GAMEMODE:SetPlayerSpeed(ply, GAMEMODE.Config.walkspeed * 1.0, GAMEMODE.Config.runspeed * 1.0)
ply:SetHealth(1150)
end,
customCheck = function(ply) return ply:GetNWString("usergroup") == "Chunin" or ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") == "Admin" or ply:GetNWString("usergroup") == "superadmin" end,
})
j'ai fait une faute ou ,
Merci,