Update v1.4
-Added all bone_attach exported functions;
-Added all functions to client side;
-Even more optimization;
Available functions:
attachElementToBone(element, ped, bone, offx, offy, offz, offrx, offry, offrz)
detachElementFromBone(element)
isElementAttachedToBone(element)
getElementBoneAttachmentDetails(element)
returns a table with {ped, bone, offx, offy, offz, rotationMatrix};
setElementBonePositionOffset(element, offsetx, offsety, offsetz)
setElementBoneRotationOffset(element, offsetrx, offsetry, offsetrz)
Note: all functions are available client side! They're not synched with all clients!
DOWNLOAD
Cheers!