RDR3 matchUnofficial name
PED::_GET_PED_COMBAT_ATTRIBUTE
0x91D61B1C33D4DFA6 ·RVA 0x03CD2A40
Signature
BOOL _GET_PED_COMBAT_ATTRIBUTE(Ped ped, int attributeIndex);
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 | attributeIndex |
– |
Returns
BOOL
the game returns one byte.
Call it
// PED::_GET_PED_COMBAT_ATTRIBUTE
auto result = invoke<BOOL>(0x91D61B1C33D4DFA6, ped, attributeIndex);// PED::_GET_PED_COMBAT_ATTRIBUTE
bool result = Function.Call<bool>((Hash)0x91D61B1C33D4DFA6, ped, attributeIndex);-- PED::_GET_PED_COMBAT_ATTRIBUTE
local result = Citizen.InvokeNative(0x91D61B1C33D4DFA6, ped, attributeIndex)// PED::_GET_PED_COMBAT_ATTRIBUTE
const result = Citizen.invokeNative("0x91D61B1C33D4DFA6", ped, attributeIndex);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.