RDR3 match
PED::SET_PED_COMBAT_ATTRIBUTES
0xF86A1FE660886B8C ·RVA 0x03CD7A40
Signature
void SET_PED_COMBAT_ATTRIBUTES(
Ped ped,
int attributeIndex,
BOOL enabled
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | int | attributeIndex |
– |
| 2 | BOOL | enabled |
– |
Returns
void Nothing.
Call it
// PED::SET_PED_COMBAT_ATTRIBUTES
invoke<Void>(0xF86A1FE660886B8C, ped, attributeIndex, enabled);// PED::SET_PED_COMBAT_ATTRIBUTES
Function.Call((Hash)0xF86A1FE660886B8C, ped, attributeIndex, enabled);-- PED::SET_PED_COMBAT_ATTRIBUTES
Citizen.InvokeNative(0xF86A1FE660886B8C, ped, attributeIndex, enabled)// PED::SET_PED_COMBAT_ATTRIBUTES
Citizen.invokeNative("0xF86A1FE660886B8C", ped, attributeIndex, enabled);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.