How to attach object to player - 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: How to attach object to player (
/showthread.php?tid=360674)
How to attach object to player -
kbalor - 18.07.2012
If player do /guitar. The object below will attach in players back.
Re: How to attach object to player -
[KHK]Khalid - 18.07.2012
Use
SetPlayerAttachedObject. The id of the guitar object is 19319 I guess.
Re: How to attach object to player -
kbalor - 18.07.2012
Quote:
Originally Posted by HellSphinX
|
It's 19317 XD. But you mentioned 19319 that was also a guitar it's warlock01.
Can you give exact rotation, offset and scale? I just wanna try.
Re: How to attach object to player -
[KHK]Khalid - 18.07.2012
Uhmm try to attach it to bone 1 (Spine) and just chill with the others
or use samp map editor it might help ya.