Hi
I'm looking for a code that makes sure that when the gunner kills an innocent person, he gets killed too
but that completely ruins the entire point of murder, which is to not know who the killer is
no because, imagine if a shooter kills another innocent, and another kills another innocent and so on, there too it ruins the game
Whatever if it ruins find where it prints some1 killed an innocent and then add ply:Kill()
That's why the shooter drops the gun, or as such it would when I played the game
If you just automatically lose for being wrong then the game becomes entirely shit to even play
the chaos and unpredictable mess is the entire point. The more people and longer matches, the wilder it gets. But if 2 people die due to a wrong answer, it makes the killers job way easier.
no one's just gonna give you the code. this is a very simple task, albeit a shitty one, so figure it out.
That does not make any sense. When the gunner kills an innocent and he loses his gun, another takes it and kills another innocent, imagine it repetitively at each round, the murderer lose his killer role, the game has no more taste, no more flavor.
in my case I always forbid it because it's freekill.
I was given this code but no effect except that the server crashed
local function Death( victim, inflictor, attacker )
if !victim:IsPlayer() or !attacker :IsPlayer() then return end
if !victim:GetMurderer() and !attacker:GetMurderer() then
attacker:Kill()
end
end
hook.Add( "PlayerDeath", Death )
You added hook incorrectrly, correct is:
hook.Add( "PlayerDeath", "SuperUniqieName", Death )
that's not how the game works
Sorry, you need to Log In to post a reply to this thread.