SA-MP Forums Archive
[Help] Rotate Object - 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: [Help] Rotate Object (/showthread.php?tid=456245)



[Help] Rotate Object - AlmirDelic - 05.08.2013

Hello,

How do i make my ramp with images slowly closes?
My problem is that how you do it quickly closes.
How do i do that slowly rotates?
Can someone give me the performed command?

Code:

Open Ramp -
Code:
CreateDynamicObject(968, 828.07813, -1309.59290, 13.45290,   0.00000, 0.00000, 0.00000);
Close Ramp -
Code:
CreateDynamicObject(968, 828.07813, -1309.59290, 13.45290,   0.00000, 90.00000, 0.00000);
Pictures:
http://www.zaslike.com/viewer.php?fi...y0vzxskwq8.png

Not doing fine language, sorry


Re: [Help] Rotate Object - Marricio - 05.08.2013

Check this tutorial: https://sampforum.blast.hk/showthread.php?tid=295590, it explains very good how you can achieve that.


Re: [Help] Rotate Object - AlmirDelic - 05.08.2013

Does not work, can someone help?


Re: [Help] Rotate Object - Marricio - 05.08.2013

I'll make it easy for you...

pawn Code:
MoveDynamicObject(objectid, 828.07813, -1309.59290, 13.45290+0.0001, 4.0, 0.0, 90.0, 0.0);



Re: [Help] Rotate Object - AlmirDelic - 05.08.2013

No... Fast fast :/


Re: [Help] Rotate Object - Marricio - 05.08.2013

MoveDynamicObject(objectid, 828.07813, -1309.59290, 13.45290+0.0001, SPEED GOES HERE, 0.0, 90.0, 0.0);


Re: [Help] Rotate Object - AlmirDelic - 05.08.2013

The problem is that there is no rotation.
Without rotation closes


Re: [Help] Rotate Object - AlmirDelic - 05.08.2013

Help?


Re: [Help] Rotate Object - AlmirDelic - 05.08.2013

Pleaseeeeee help?


Re: [Help] Rotate Object - Jefff - 05.08.2013

pawn Code:
MoveDynamicObject(objectid, 828.07813, -1309.59290, 13.45290+0.0001, 0.00003, 0.0, 90.0, 0.0);