05.03.2017, 10:04
I seem to solve my problem. I set coords to my attached objects the same as main object has and now they dont desync(dont change their position, dont disappear)
Right code:
Right code:
PHP код:
//creating mainObj somewhere above
new atObj = CreateDynamicObject(1944,x,y,z,0.0,0.0,0.0);//attached object with coords x,y,z. Without they it doesn`t work
AttachDynamicObjectToObject(atObj, mainObj, 1.0, 0.0, 0.4, 30.0, 0.0, 0.0); //attaching atObj to mainObj
//it`s working very well