19.07.2011, 18:17
Make sure the script makes it all the way to SetObjectRot which it probably does, this'll be easy, You'll be -$150.
The X Y & Z Rotations are diffirent than MTA Map Editor or least for what I remember, so experientment a bit:
(Assuming you used MTA to map your object)
For example, see what that might do to the object
I do remember having a problem back in 0.2a with rotating objects because the function just didnt work properly
But keep messing around with the diffirent X, Y & Z Settings to see if that at least rotates the object at all
ALSO: There are global objects & there are player objects, make sure you're using the right functions to rotate the target object. For example, you cant move a player object by rotating a global object (Just a note)
The X Y & Z Rotations are diffirent than MTA Map Editor or least for what I remember, so experientment a bit:
(Assuming you used MTA to map your object)
Код:
SetObjectRot(aikstelesv,180.7361450195313, 0.0, 0.0);
I do remember having a problem back in 0.2a with rotating objects because the function just didnt work properly
But keep messing around with the diffirent X, Y & Z Settings to see if that at least rotates the object at all
ALSO: There are global objects & there are player objects, make sure you're using the right functions to rotate the target object. For example, you cant move a player object by rotating a global object (Just a note)