Inflictor argument not returning the actual inflictor
0 replies, posted
I overwrote PlayerDeath and my inflictor argument aren't the actual inflictor aka the weapon that killed the victim.
[lua]
function GM:PlayerDeath( victim, inflictor, attacker )
print(inflictor);
print(attacker);
print(victim);
end
[/lua]
Console output
[code]
Player [1][Pat]
Player [1][Pat]
Player [2][Bot01]
[/code]
I actually killed the Bot01 with an cw_ak74
Sorry, you need to Log In to post a reply to this thread.