View Full Version : SetPlayerAttatchedObject

08/10/2011, 03:04 PM
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....

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.

08/10/2011, 04:12 PM
Can you get a picture of the hat?

08/10/2011, 04:14 PM
BoneID don't set it exactly, you must to write the coordonates and rotations.


08/10/2011, 04:22 PM
Oh ya. Thats strange than. There is no way for bug