_GET_OFFSET_FROM_ENTITY_BONE
Attaches scenario to bone with an offset _GET_I* - _GET_M*
Hash
0x5E214112806591EARuntime name
GetOffsetFromEntityBoneNamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Vector3 _GET_OFFSET_FROM_ENTITY_BONE(Entity entity, int boneIndex);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
boneIndex | int | — |
Returns Vector3
Description
Attaches scenario to bone with an offset
_GET_I* - _GET_M*
Return the offset from the entity for the selected bone index
Usage
local retval = GetOffsetFromEntityBone(entity, boneIndex)
-- always works, by hash
local retval = Citizen.InvokeNative(0x5E214112806591EA, entity, boneIndex, Citizen.ResultAsVector())JavaScript and C#
const retval = GetOffsetFromEntityBone(entity, boneIndex);
// by hash
const retval = Citizen.invokeNative('0x5E214112806591EA', entity, boneIndex, Citizen.returnResultAnyway(), Citizen.resultAsVector());Vector3 retval = Function.Call<Vector3>((Hash)0x5E214112806591EA, entity, boneIndex);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.