07.04.2013, 17:59
I'm trying to create a script that detects if a player is in front of another player. I think it would be possible using getxyinfrontofplayer but I want it to be a little more complex than that. In other words, I am trying to detect if player1 is infront of player2 within a certain angle. I am really bad with coordinate math so any help would be appreciated.
Thanks
This screenshot is an example of what im looking for:
Thanks
This screenshot is an example of what im looking for: