SA-MP Forums Archive
SetObjectMaterial on an attached object? - 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: SetObjectMaterial on an attached object? (/showthread.php?tid=483339)



SetObjectMaterial on an attached object? - [FMJ]PowerSurge - 25.12.2013

I can easily do it with AttachObjectToPlayer but you can't attach to bones so it looks messy when crouching and running and whatnot. Is there a way to find the object ID of an object attached use SetPlayerAttachedObject so I can use SetObjectMaterial?


Re: SetObjectMaterial on an attached object? - Pottus - 25.12.2013

No, you can only set the color.