- Initiateur de la discussion
Begeek
Geek
- Messages
- 51
- Score réaction
- 4
- Points
- 95
Salut à tous et à toutes, je suis entrain de préparer un VIP sur mon serveur et j'ai besoin d'aide car j'ai une erreur alors que je ne vois pas ce qui peux la créer
category = "Civil",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(0)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "")
end,
customCheck = function(ply) if ply:GetUserGroup("vip") then salary= 10 * 2 else salary= 10 end,
})
ou encore
NeedToChangeFrom = TEAM_POLICE,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(0)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "")
end,
customCheck = function(ply) return table.HasValue({TEAM_POLICE, TEAM_RECRUERAID, TEAM_CHIEFRAID, TEAM_RAIDSNIPER, TEAM_CHIEF}, ply:Team()) or ply:GetUserGroup("vip") then salary= 200 * 2 else salary= 200 end,
CustomCheckFailMsg = "Vous n'êtes pas Policier",
})
category = "Civil",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(0)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "")
end,
customCheck = function(ply) if ply:GetUserGroup("vip") then salary= 10 * 2 else salary= 10 end,
})
ou encore
NeedToChangeFrom = TEAM_POLICE,
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(0)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "")
end,
customCheck = function(ply) return table.HasValue({TEAM_POLICE, TEAM_RECRUERAID, TEAM_CHIEFRAID, TEAM_RAIDSNIPER, TEAM_CHIEF}, ply:Team()) or ply:GetUserGroup("vip") then salary= 200 * 2 else salary= 200 end,
CustomCheckFailMsg = "Vous n'êtes pas Policier",
})