SA-MP Forums Archive
Object editor doesn't work with normal attached objects - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Object editor doesn't work with normal attached objects (/showthread.php?tid=323640)



Object editor doesn't work with normal attached objects - kurta999 - 06.03.2012

When the object is atteched to the vehicle, then the object editor doesn't do anything with object. (You can't move or rotate it)
Same problem when attached to player, with AttachObjectToPlayer(..)

Please check this.


Re: Object editor doesn't work with normal attached objects - SpiritEvil - 06.03.2012

You have to use
pawn Код:
EditAttachedObject()



Re: Object editor doesn't work with normal attached objects - kurta999 - 06.03.2012

Quote:
Originally Posted by SpiritEvil
Посмотреть сообщение
You have to use
pawn Код:
EditAttachedObject()
I now edit "normal" object, not object which is attached to player with SetPlayerAttachedObject(...)
(I used neon for vehicle, and barrel4 (1225) for player, neon doesn't have collsion, so you don't know select it with SelectObject().)