_GET_PED_COMBAT_ATTRIBUTE
Hash
0xCC2B20596E29E4E3Runtime name
GetPedCombatAttributeNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _GET_PED_COMBAT_ATTRIBUTE(Ped ped, int attributeIndex);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
attributeIndex | int | — |
Returns BOOL
Usage
local retval = GetPedCombatAttribute(ped, attributeIndex)
-- always works, by hash
local retval = Citizen.InvokeNative(0xCC2B20596E29E4E3, ped, attributeIndex, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetPedCombatAttribute(ped, attributeIndex);
// by hash
const retval = Citizen.invokeNative('0xCC2B20596E29E4E3', ped, attributeIndex, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xCC2B20596E29E4E3, ped, attributeIndex);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Enums and flags
- Combat__Attribute__Enum 135 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.