Hello, everybody! client_death are not called when i killing podbots, but it is triggered when i suicide. did not find analogs, with getting the hitplace. help solve the problem or find an alternative, pls
plugin for tests:
PHP Code:
#include <amxmodx>
#include <csx>
public plugin_init()
{
register_plugin("unk", "0x999", "unk");
}
public client_death(killer, victim, weapon, hit, tk)
{
new killer_name[32], victim_name[32];
get_user_name(killer, killer_name, 32);
get_user_name(victim, victim_name, 32);
server_print("%s kill %s", killer_name, victim_name);
}