из сурсов хуй ноль
auto victim = g_pEngine->GetPlayerForUserID(event->GetInt("userid"));
auto local_player = Globals::LocalPlayer;
auto attacker = g_pEntityList->GetClientEntity(g_pEngine->GetPlayerForUserID(event->GetInt("attacker")));
if (attacker == local_player) {
auto entity = g_pEntityList->GetClientEntity(victim);
if (!entity) {
return;
}