PDA

View Full Version : Help! Please!


Sarra
22/12/2011, 12:18 PM
Please help me!
How can I modificate the way that the gate moves in! i want to make it moves to the floor or something!

Edvin
22/12/2011, 12:21 PM
MoveObject!
http://wiki.sa-mp.com/wiki/MoveObject

Thresholdold
22/12/2011, 12:22 PM
Right so MoveObject works like this
MoveObject(objectid, X, Y, Z, speed, Float:RotX, Float:RotY, Float:RotZ);

So whatever your Z is, just minus 10 from it.

Example: MoveObject(myobject, 120, 124, 15, 5.0, 0, 0, 180);
would become MoveObject(myobject, 120, 124, 5, 5.0, 0, 0, 180);

It basically depends how far above ground your object is, but if it is at ground level, -10 should do it.

EDIT: If you want to make it move straight down, DON'T CHANGE YOUR Y OR X!