detect a player in front
#1

need to detect a player in front for npcs.i can't use language to describe that...so look at the image,it mor like that:


now i want to check if PLAYER1 in area,any good idea?
Reply
#2

https://forum.sa-mp.com/showpost.php...84&postcount=2
Easier than using math you can use areas
Reply
#3

Quote:
Originally Posted by L0K3D
Посмотреть сообщение
https://forum.sa-mp.com/showpost.php...84&postcount=2
Easier than using math you can use areas
you're right,i also tried GetXYInFrontOfPlayer and IsPlayerInRangeOfPoint,but they gave me a circle area not sector area
may you tell me it in more detail?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)