Rotate object
#1

I want to rotate an object automatically

Код:
white_arrow_taxi = CreateDynamicObject(1318, 1783.256225, -1867.430175, 13.570199, 0, 0, 1000);
MoveDynamicObject(white_arrow_taxi, 1783.256225, -1867.430175, 13.570199, 2.0, 0.0, 0.0, -1000);
only moves in X, Y, and Z
Reply
#2

I'm not sure but I think there is a function called SetDynamicObjectRot
Reply
#3

MoveObject() and MoveDynamicObject() not needed at all.
http://dev.prineside.com/en/gtasa_sa...1276-package1/

This object rotates and if you attach another object to it that object will rotate as well no need for doing bullshit MoveObject() eating up resources.

All you need to do is make sure you attach the object at a good z-offset then you can set the rotating object well below the floor. Let the client do the work when you can!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)