Ulysses
General => Developers Corner => Topic started by: jcoolj13 on February 04, 2017, 08:49:16 PM
-
Hello, I am fairly new to this website and I have one question. How do I make it where if the bystander kills another bystander, they become blind for 45 seconds. Here is the code;
function IgniteBystander(victim,inflictor,attacker)
if not attacker:GetMurderer() then
attacker:Ignite()
end
end
hook.Add("PlayerDeath", "BystanderPunishment", IgniteBystander)