SA-MP Forums Archive
GetObjectFacingAngle ? - 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: GetObjectFacingAngle ? (/showthread.php?tid=633616)



GetObjectFacingAngle ? - YouHack - 04.05.2017

Hello again, i'm making a script that needs the object angle so i'll set player to same as object floats, are there any related functions? because i didn't find it. ( rotation )


Re: GetObjectFacingAngle ? - Toroi - 04.05.2017

What could be the 'face' of, let's say, a lamp? I can't see that being logic at all.

But if you mean the rotation: https://sampwiki.blast.hk/wiki/GetObjectRot


Re: GetObjectFacingAngle ? - raydx - 04.05.2017

Rotation Z.