SA-MP Forums Archive
IsPlayerFacingPlayer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IsPlayerFacingPlayer (/showthread.php?tid=614870)



IsPlayerLookingAtPlayer - ax1 - 14.08.2016

Does someone have a script to check if player is facing other player (not two players facing each other, just one player facing other)? I would create it myself if I would know how, lol.

EDIT : I found IsPlayerFacingPlayer function and it works, but I realised that this is not what I need. I need function that would check if player is in another players pov (IsPlayerLookingAtPlayer or something like that)


Re: IsPlayerFacingPlayer - SyS - 14.08.2016

https://sampforum.blast.hk/showthread.php?tid=573961 this one.


Re: IsPlayerFacingPlayer - ax1 - 14.08.2016

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
Thanks, I found IsPlayerFacingPlayer function and it works, but I realised that this is not what I need. IsPlayerFacingPlayer only reacts if player is standing right in front of other player. I need function that would check if player is in another players pov (IsPlayerLookingAtPlayer or something like that)


Re: IsPlayerFacingPlayer - Konstantinos - 14.08.2016

http://forum.sa-mp.com/showpost.php?...32&postcount=4