SA-MP Forums Archive
AttachObjectToPlayer - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: AttachObjectToPlayer (/showthread.php?tid=127903)



AttachObjectToPlayer - sushihusi - 15.02.2010

hello all
i need to attach an object to player to his hand and he will hold it.
the function parameters are these: AttachObjectToPlayer(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ)
i dont know the offsetX,offsetY,offsetZ.
Can you help me?


Re: AttachObjectToPlayer - sushihusi - 15.02.2010

nobody?


Re: AttachObjectToPlayer - ¤Adas¤ - 15.02.2010

Try to let all offsets 0, but offset X 0.2 or something like that. Try it


Re: AttachObjectToPlayer - wafffllesss - 15.02.2010

Quote:
Originally Posted by sushihusi
hello all
i need to attach an object to player to his hand and he will hold it.
the function parameters are these: AttachObjectToPlayer(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ)
i dont know the offsetX,offsetY,offsetZ.
Can you help me?
At the current release, isn't possible to attach object to player bones.