Skip to content

Files

Latest commit

4192e98 · Sep 29, 2018

History

History
27 lines (23 loc) · 777 Bytes

GetPedBoneCoords.md

File metadata and controls

27 lines (23 loc) · 777 Bytes
ns
PED

GET_PED_BONE_COORDS

// 0x17C07FC640E86B4E 0x4579CAB1
Vector3 GET_PED_BONE_COORDS(Ped ped, int boneId, float offsetX, float offsetY, float offsetZ);
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

  • ped:
  • boneId:
  • offsetX:
  • offsetY:
  • offsetZ:

Return value