SA-MP Forums Archive
SetPlayerAttatchedObject - 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: SetPlayerAttatchedObject (/showthread.php?tid=288631)



SetPlayerAttatchedObject - Jack_Leslie - 08.10.2011

Hi guys. Never really used this much, but I'm starting too. I use SetPlayerAttachedObject, with the defines and stuff, and I use Bone IDs, but it doesn't set it in the right positions....

pawn Код:
SetPlayerAttachedObject(playerid, 3, 19136, 2);
2 is the Bone ID for head, 19136 is some sort of hat, but it puts it on the players neck, not on top of the head.. so I'm not sure what to do.


Re: SetPlayerAttatchedObject - nilanjay - 08.10.2011

Can you get a picture of the hat?


Re: SetPlayerAttatchedObject - IstuntmanI - 08.10.2011

BoneID don't set it exactly, you must to write the coordonates and rotations.

http://forum.sa-mp.com/showthread.ph...ht=hold+studio


Re: SetPlayerAttatchedObject - nilanjay - 08.10.2011

Oh ya. Thats strange than. There is no way for bug