Detecting if a player is facing another. - 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: Detecting if a player is facing another. (
/showthread.php?tid=589645)
Detecting if a player is facing another. -
Gangster-rocks - 21.09.2015
Title explains it all, I need a function which can detect if a player is facing another. If it isn't too much of a bother, can you give me two codes about the player angle and the Camera Vectors? I haven't scripted in a long time and I'm taking time to get back in the game :/, help will be very appreciated.
Re: Detecting if a player is facing another. -
Gangster-rocks - 22.09.2015
help me... nigga.
Re: Detecting if a player is facing another. -
Gammix - 22.09.2015
https://sampforum.blast.hk/showthread.php?tid=573961
Check for the list of
playerfuncs.inc.
Re: Detecting if a player is facing another. -
Gangster-rocks - 22.09.2015
Thank you! I shall use it with pride and honor!