28.07.2017, 15:06
Hello, I'm trying to attach a few objects to one main object, and then move the main object (so all other objects move together). I'm using streamer (and YSF), but it seems that eventually it moves only the main object, and the attached objects remain at their initial position.
AttachDynamicObjectToObject returns 1 on all attaches, and I am unable to move the attached objects either.
Example code:
With that code, only mainobj moves..
AttachDynamicObjectToObject returns 1 on all attaches, and I am unable to move the attached objects either.
Example code:
pawn Код:
AttachDynamicObjectToObject(obj1, mainobj, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
MoveDynamicObject(mainobj, x, y, z+100, speed, rx, ry, rz);