Attachment Coordinates. - 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: Attachment Coordinates. (
/showthread.php?tid=639737)
Attachment Coordinates. -
ProBro - 22.08.2017
Hi, Can anyone give me the Attachment Coordinates of HEAD.
Attaching an Attachment to Head makes it Float 4ft away from my Character.
I want my Attachment directly on the Bone I applied it on.
Any solution?
Re: Attachment Coordinates. -
thegamer355 - 22.08.2017
I use the following line to attach a santahat to my character:
SetPlayerAttachedObject(playerid, 3, 19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4);
Hope this helps you.
-TG
Re: Attachment Coordinates. -
ProBro - 22.08.2017
Thanks, I fixed it by adding 0.0 to all coordinates. Sits directly on head.
Re: Attachment Coordinates. -
FreAkeD - 22.08.2017
I just use the attachments.pwn script that came with the server package to modify attachments (move them around and then get their coordinates). Have you tried that or searched for a filterscript that could help you out?
Edit: too slow
Re: Attachment Coordinates. -
ProBro - 22.08.2017
Quote:
Originally Posted by FreAkeD
I just use the attachments.pwn script that came with the server package to modify attachments (move them around and then get their coordinates). Have you tried that or searched for a filterscript that could help you out?
Edit: too slow 
|
Thanks, will try