SA-MP Forums Archive
Help! Object attached! - 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: Help! Object attached! (/showthread.php?tid=660480)



Help! Object attached! - ZKDarkOMG - 04.11.2018

Hi. I'm doing a garbage system and I need the object (19904) to be placed on the player (AttachedObject).
What I named before I already have it. The problem I have, is that I need to know if there is any way to make the object fit the skin and look good ... Let's say, if there is some way to configure the coordinates automatically and not do them one by one in the skins. Is there any way or will I have to do skin by skin?


Re: Help! Object attached! - TheToretto - 04.11.2018

Yes but you have to configure it for the first time by yourself:

Use EditAttachedObject then OnPlayerEditAttachedObject and print the coordinates to the console, then to make it automatic SetPlayerAttachedObject and fill the optional arguments.