Object not moving slowly? - 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: Object not moving slowly? (
/showthread.php?tid=332332)
Object not moving smoothly? -
ReneG - 07.04.2012
I have this door object that I am moving on the z axis to open like a real door, but when I type the command it's just like SetObjectPos rather than Moving it smoothly. The door just snaps open/closed whenever the command is used. I looked up why this was happening and couldn't find anything on it. I just don't get it.
Here is the line.
pawn Код:
MoveObject(cell[1],240.59960938,72.09960938,1000.79998779,0.02,0.00000000,0.00000000,12.74499512);
Re: Object not moving slowly? -
ReneG - 08.04.2012
Bump.
Re: Object not moving slowly? -
Catalyst- - 08.04.2012
Change the X co-ord slightly when you are opening the door, and when you close the door change the X co-ord back to the default position.