SA-MP Forums Archive
How to get players angle - 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: How to get players angle (/showthread.php?tid=139277)



How to get players angle - Torran - 04.04.2010

2 Questions!

1. How do i get a players angle, I cant remember how!
2. How do i make the compiler show my own custom error, I can remember seeing this before


Re: How to get players angle - XRVX - 04.04.2010

1.
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid,Rotation);



Re: How to get players angle - ¤Adas¤ - 04.04.2010

2.

#if ....
#error "here is your error"
#endif


Re: How to get players angle - Torran - 04.04.2010

Thanks