A SvenCoop Module? O_o Where? O_o
> get_user_attacker returns attackers EntId.
The Entity IDs of Players range from 1 to 32.
Other Entites Entids range from 33 to 8224.
I am not sure if this can only be called on Damage
Event or if it is last Attack but if you try to use
Damage Event Hook it as Global Event, not as
Event sent to a single Player because that is
only called when the Player takes Damage.
Whatsoever you cannot get the Team or Ally Status with that.
Bythe Way it is "is_player_ally" not "sc_is_player_ally" and also
Scientistsand Barneys have this reversed. For Example a Scientist
with is_player_ally = 1 would be an Enemy. Also check if the
Data is a bool or an integer. (A bool makes more sence, as this
can just be 0 or 1 / false or true) Or you could try to get the
Monsters Relation to you. (Offers much more) This is, for Example,
if you shoot a Scientist he runs away from you, if you heal him
with the MedKit he acts normal again.