Because it's how gt_user_attacker is done, it checks inflictor, if inflictor is a player it returns the player index, if it's a nade it returns the owner of that nade, if it's another entity type, it returns the owner of that entity if it is a player, else the entity itself.
http://www.amxmodx.org/funcwiki.php?...cker&go=search
Quote:
|
As of 1.75, get_user_attacker can return a non-player index if the player was attacked by a non-player entity.
|
__________________