SET_PED_COMBAT_ATTRIBUTES
Hash
0x9F7794730795E019Runtime name
SetPedCombatAttributesNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x9F7794730795E019Signature
void SET_PED_COMBAT_ATTRIBUTES(Ped ped, int attributeIndex, BOOL enabled);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
attributeIndex | int | — |
enabled | BOOL | — |
Returns void
Description
attributeIndex: https://alloc8or.re/rdr3/doc/enums/eCombatAttribute.txt
https://github.com/femga/rdr3_discoveries/tree/master/AI/COMBAT_ATTRIBUTES
Usage
SetPedCombatAttributes(ped, attributeIndex, enabled)
-- always works, by hash
Citizen.InvokeNative(0x9F7794730795E019, ped, attributeIndex, enabled)JavaScript and C#
SetPedCombatAttributes(ped, attributeIndex, enabled);
// by hash
Citizen.invokeNative('0x9F7794730795E019', ped, attributeIndex, enabled);Function.Call((Hash)0x9F7794730795E019, ped, attributeIndex, enabled);Enums and flags
- Combat__Attribute__Enum 135 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.