When use "player_hurt" event, "attacker" can return with invalid userid == 0,
happens when player hurt by fire, fall damage or get hurt something else than other player(s).
When try get client index by given userid,
GetClientOfUserId(userid) will return 0 if not found. 0 is invalid client index.
It can also be anything that does damage, not just 0.