SA-MP Forums Archive
Is possible to attach object directly to house wall? - 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: Is possible to attach object directly to house wall? (/showthread.php?tid=595600)



Is possible to attach object directly to house wall? - Riwerry - 05.12.2015

As title says, I want to attach "plate" object with some text to house, so I don't have to do it manually, is this possible to do?


Re: Is possible to attach object directly to house wall? - TwinkiDaBoss - 05.12.2015

If you mean attaching object to another object yes, but bare in mind the object must be server-created, you cannot attach it to default GTA object, you would have to map or something like that.
https://sampwiki.blast.hk/wiki/AttachObjectToObject

You could just create object, use editobject() and then move it where you want.
At the end just save the position


Re: Is possible to attach object directly to house wall? - SilverStand - 05.12.2015

Attaching Object to another Object

https://sampwiki.blast.hk/wiki/AttachObjectToObject

Change Object Text
https://sampwiki.blast.hk/wiki/SetObjectMaterialText