How can I hook the death of an entity and get its attacker? I've tried
PHP Code:
RegisterHam( Ham_Killed, "func_wall", "Killed", 1 );
but it crashes the engine upon killing a monster.
Is ham really the only way to do this?
I've looks at some other examples on here but none of them work at all. At least this one can detect monster killed even tho it results in a crash.
__________________