Inflictor argument not returning the actual inflictor

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



Player [1][Pat]
Player [1][Pat]
Player [2][Bot01]


I actually killed the Bot01 with an cw_ak74