FacingAngle problem =\ - 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: FacingAngle problem =\ (
/showthread.php?tid=123632)
FacingAngle problem =\ -
Cry_Wolf - 26.01.2010
Hey all,
until now I didn't get the idea of the FacingAngle parameter thing.
I want to create some ClassScreen OnPlayerRequestClass, but the player looks at the other side.
what is exactly FacingAngle? how to save it right and use it in OnPlayerRequestClass callback.
Thanks!
Re: FacingAngle problem =\ -
mansonh - 26.01.2010
Facing angle relates to North then angle.
N
^ 0 degrees
|
270 W<--- ---> E 90
|
V 180
S
So then you can do
SetPlayerFacingAngle(playerid, Angle);