RDR3 match
ENTITY::GET_ENTITY_BONE_INDEX_BY_NAME
0x3893EDB145357016 ·RVA 0x03C09B00
Signature
int GET_ENTITY_BONE_INDEX_BY_NAME(Entity entity, Hash boneName);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
| 1 | Hash | boneName |
RDR3 takes a string; GTA VI passes its hash. |
Returns
int
Call it
// ENTITY::GET_ENTITY_BONE_INDEX_BY_NAME
auto result = invoke<int>(0x3893EDB145357016, entity, boneName);// ENTITY::GET_ENTITY_BONE_INDEX_BY_NAME
int result = Function.Call<int>((Hash)0x3893EDB145357016, entity, boneName);-- ENTITY::GET_ENTITY_BONE_INDEX_BY_NAME
local result = Citizen.InvokeNative(0x3893EDB145357016, entity, boneName)// ENTITY::GET_ENTITY_BONE_INDEX_BY_NAME
const result = Citizen.invokeNative("0x3893EDB145357016", entity, boneName);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.