RedM Natives

_GET_PED_COMBAT_ATTRIBUTE

Hash0xCC2B20596E29E4E3
Runtime nameGetPedCombatAttribute
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _GET_PED_COMBAT_ATTRIBUTE(Ped ped, int attributeIndex);

Parameters

NameTypeDescription
pedPed—
attributeIndexint—

Returns BOOL

Usage

Lua
local retval = GetPedCombatAttribute(ped, attributeIndex)

-- always works, by hash
local retval = Citizen.InvokeNative(0xCC2B20596E29E4E3, ped, attributeIndex, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetPedCombatAttribute(ped, attributeIndex);

// by hash
const retval = Citizen.invokeNative('0xCC2B20596E29E4E3', ped, attributeIndex, Citizen.returnResultAnyway());
C#
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 InvokeNative with the hash — it always works.

Enums and flags

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.