Well, I'm making a plugin but I can't really get a grasp on it.
I'm trying to figure out how to find the closest player who's looking at you, and you are looking at him..
Also, how do I get an entity for a player. My friend suggest that I use is_visible. Sounds logical (If theres not a better way) but I don't use engine much.
I was thinking its like..
new player=find_ent_by_class(-1,"Player")