RDR3 match
PED::GET_PED_BONE_INDEX
0x41A551CEC0BD72F7 ·RVA 0x04BCBFF0
Signature
int GET_PED_BONE_INDEX(Ped ped, int boneId);
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 | Ped | ped |
– |
| 1 | int | boneId |
– |
Returns
int
Call it
// PED::GET_PED_BONE_INDEX
auto result = invoke<int>(0x41A551CEC0BD72F7, ped, boneId);// PED::GET_PED_BONE_INDEX
int result = Function.Call<int>((Hash)0x41A551CEC0BD72F7, ped, boneId);-- PED::GET_PED_BONE_INDEX
local result = Citizen.InvokeNative(0x41A551CEC0BD72F7, ped, boneId)// PED::GET_PED_BONE_INDEX
const result = Citizen.invokeNative("0x41A551CEC0BD72F7", ped, boneId);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.