ATTACH_OBJECT_TO_PED
Usage
Game.AttachObjectToPed(objectIndex, charIndex, boneIndex, offsetX, offsetY, offsetZ, rotationX, rotationY, rotationZ, detachOnRagdoll)
Attaches an object to an char with a non physical attachement.
Parameters
objectIndexintegerintcharIndexintegerintboneIndexintegerintoffsetXnumberfloatoffsetYnumberfloatoffsetZnumberfloatrotationXnumberfloatrotationYnumberfloatrotationZnumberfloatdetachOnRagdollbooleanbool
Returns
Nothing
Original declaration
// 0x577A699E
void ATTACH_OBJECT_TO_PED(int objectIndex, int charIndex, int boneIndex, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ, bool detachOnRagdoll);