SA-MP Forums Archive
a little help with SetPlayerFacingAngle - 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: a little help with SetPlayerFacingAngle (/showthread.php?tid=140667)



a little help with SetPlayerFacingAngle - AK47317 - 10.04.2010

hello,

i here asking when i use SetPlayerFacingAngle(playerid, 8.9980); it always heading to the north i have try everythig i cant fix it



Re: a little help with SetPlayerFacingAngle - Sascha - 10.04.2010

Quote:
Originally Posted by AK47317
hello,

i here asking when i use SetPlayerFacingAngle(playerid, 8.9980); it always heading to the north i have try everythig i cant fix it
lool..
the Angle 8 is pretty near to the north angle which is 0..
best is, you go to the position, head the player to the angle you want, do /save...
then you have: AddPlayerClass(ID, x, y, z, angle, blablabla)..
copy the number which i named with "angle"...and just replace the old number at your SetPlayerFacingAngle with the new one..



Re: a little help with SetPlayerFacingAngle - AK47317 - 13.04.2010

ok its work thx pal