GET_WORLD_POSITION_OF_ENTITY_BONE
Returns the coordinates of an entity-bone.
Hash
0x82CFA50E34681CA5Runtime name
GetWorldPositionOfEntityBoneNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x44A8FCB8ED227738Signature
Vector3 GET_WORLD_POSITION_OF_ENTITY_BONE(Entity entity, int boneIndex);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
boneIndex | int | — |
Returns Vector3
Description
Returns the coordinates of an entity-bone.
https://github.com/femga/rdr3_discoveries/tree/master/boneNames
Usage
local retval = GetWorldPositionOfEntityBone(entity, boneIndex)
-- always works, by hash
local retval = Citizen.InvokeNative(0x82CFA50E34681CA5, entity, boneIndex, Citizen.ResultAsVector())JavaScript and C#
const retval = GetWorldPositionOfEntityBone(entity, boneIndex);
// by hash
const retval = Citizen.invokeNative('0x82CFA50E34681CA5', entity, boneIndex, Citizen.returnResultAnyway(), Citizen.resultAsVector());Vector3 retval = Function.Call<Vector3>((Hash)0x82CFA50E34681CA5, entity, boneIndex);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.