About Moveobject ?
#1

Fixed.
Reply
#2

just get the co-ords of the object? then put em there?
Reply
#3

I did, but It won't work , can someone add me and help?

Taylan_Oncu@live.nl
Reply
#4

/Bump:

Lawonama bumped the thread.
Reply
#5

/Bump
Reply
#6

The coordinates in MoveObject are not offsets (like in AttachObjectToVehicle, for example). They are the actual ingame coordinates where the object should move to.
Reply
#7

Vince said already everything

Here a little function with offset coordinates (if thats more useful for you)
pawn Код:
stock MoveObjectEx(objectid, Float: OffsetX, Float: OffsetY, Float: OffsetZ, Float: Speed) {
    new
        Float: X,
        Float: Y,
        Float: Z;
    if(GetObjectPos(objectid, X, Y, Z)) {
        return MoveObject(objectid, X + OffsetX, Y + OffsetY, Z + OffsetZ, Speed);
    }
    return false;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)