Gate Problem..
#3

pawn Код:
MoveObject(adgarage, 1620.6000000, -1862.1000000, 15.3000000, 2);
pawn Код:
MoveObject(adgarage, 1620.6000000, -1862.1000000, 15.3000000, 2);
You're using the same coordinates for opening/closing. How do you expect these to move if the coordinates aren't changing? You're moving them to the exact same position they're in.

Код:
MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0)
There are additional 'rotation' parameters if that's what you're looking for. But take note that you have to MOVE the object as well for the rotation to show. Otherwise the object just cuts to the rotation and no 'movement' occurs.

Example:
Opening
pawn Код:
MoveObject(adgarage, 1620.6000000, -1862.1000000, 15.3000001, 2, 0.0, 0.0, 90.0);
Closing
pawn Код:
MoveObject(adgarage, 1620.6000000, -1862.1000000, 15.3000000, 2, 0.0, 0.0, 0.0);
Reply


Messages In This Thread
Gate Problem.. - by TheKnown - 26.10.2014, 14:35
Re : Gate Problem.. - by MCZOFT - 26.10.2014, 22:51
Re: Gate Problem.. - by Threshold - 26.10.2014, 23:32

Forum Jump:


Users browsing this thread: 1 Guest(s)