GetPedBoneCoords — FiveM Natives
0x17C07FC640E86B4E · PED · all
`` Gets the position of the specified bone of the specified ped. ped: The ped to get the position of a bone from. boneId: The ID of the bone to get the position from. This is NOT the index. offsetX: The X-component of the offset to add to the position relative to the bone's rotation. offsetY: The Y-component of the offset to add to the position relative to the bone's rotation. offsetZ: The Z-component of the offset to add to the position relative to the bone's rotation. ``
Parameters
| Name | Type |
|---|---|
| ped | Ped |
| boneId | int |
| offsetX | float |
| offsetY | float |
| offsetZ | float |
Returns
Vector3