SA-MP Forums Archive
Make players face each other: PlayerFacePlayer(..) ? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Make players face each other: PlayerFacePlayer(..) ? (/showthread.php?tid=135271)



Make players face each other: PlayerFacePlayer(..) ? - Alec24 - 19.03.2010

Hello, does anyone know how to make 2 near-by players face each other using a script?


Re: Make players face each other: PlayerFacePlayer(..) ? - Correlli - 19.03.2010

Search for a a_angles.inc include file (you can find the angle and facing functions in it) on the forum and GetClosestPlayer function.