RedM Natives

_SET_PED_COMBAT_ATTRIBUTE_HASH

_SET_PED_COMBAT_A* - _SET_PED_COMBAT_M*

Hash0xBD75500141E4725C
Runtime nameSetPedCombatAttributeHash
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PED_COMBAT_ATTRIBUTE_HASH(Ped ped, Hash p1);

Parameters

NameTypeDescription
pedPed—
p1Hash—

Returns void

Description

Hashes: GUARD, COMBAT_ANIMAL, LAW, LAW_SHERIFF
_SET_PED_COMBAT_A* - _SET_PED_COMBAT_M*

Usage

Lua
SetPedCombatAttributeHash(ped, p1)

-- always works, by hash
Citizen.InvokeNative(0xBD75500141E4725C, ped, p1)
JavaScript and C#
JavaScript
SetPedCombatAttributeHash(ped, p1);

// by hash
Citizen.invokeNative('0xBD75500141E4725C', ped, p1);
C#
Function.Call((Hash)0xBD75500141E4725C, ped, p1);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • 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.

Sources

alloc8or RDR3 NativeDB

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