Moving an attached object
#6

check https://sampwiki.blast.hk/wiki/AttachObjectToObject
See the last parameter, and set it to 0.
Quote:

SyncRotation If set to 0, objectid's rotation will not change with attachtoid's.

About the code you can do like :
Код:
SetObjectPos(doorObject, safePos_x + offset_x, safePos_y + offset_y,..........);//u know where its going

//for moving:
MoveObject(doorObject, ..);
Reply


Messages In This Thread
Moving an attached object - by Ahmed21 - 10.08.2016, 05:48
Re: Moving an attached object - by BroZeus - 10.08.2016, 06:14
Re: Moving an attached object - by Ahmed21 - 10.08.2016, 08:40
Re: Moving an attached object - by BroZeus - 10.08.2016, 08:49
Re: Moving an attached object - by Ahmed21 - 10.08.2016, 08:59
Re: Moving an attached object - by BroZeus - 10.08.2016, 16:06
Re: Moving an attached object - by Ahmed21 - 10.08.2016, 19:15

Forum Jump:


Users browsing this thread: 2 Guest(s)