SA-MP Forums Archive
How to make object rotation - 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 make object rotation (/showthread.php?tid=271015)



How to make object rotation - billy4601 - 22.07.2011

Well, i Create a object.

i want to move it to another place, and rotation it

How to do this? MoveObject function does not support rotation


How to move this object
Код:
CreateObject(1251, 2238.0778, 2454.0815, 10.9249, 0, 0, 0);
to this?
Код:
CreateObject(1251, 2238.1818, 2450.6723, 13.9249,90, 0, 0);



AW: How to make object rotation - Nero_3D - 22.07.2011

You need to use SetObjectRot and a timer

or for instant only SetObjectRot


Re: How to make object rotation - billy4601 - 22.07.2011

Thanks to tell me this function.

you fix my problem