GET_PED_BONE_COORDS
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.
PEDBuild 1207
Signature
lua
GetPedBoneCoords(PlayerPedId(), 0, 0.0, 0.0, 0.0)
-- returns Vector3Parameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| int | — | |
| float | — | |
| float | — | |
| float | — |
Usage
lua
GetPedBoneCoords(PlayerPedId(), 0, 0.0, 0.0, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
