RedM Natives

_IS_ATTRIBUTE_OVERPOWERED

Hash0x103C2F885ABEB00B
Runtime nameIsAttributeOverpowered
NamespaceATTRIBUTE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _IS_ATTRIBUTE_OVERPOWERED(Ped ped, int attributeIndex);

Parameters

NameTypeDescription
pedPed—
attributeIndexint—

Returns BOOL

Description

femga rdr3_discoveries · research notes

// 0x103C2F885ABEB00B		(By Tag = Free Ban)

BOOL _IS_ATTRIBUTE_OVERPOWERED(int ped, int coreIndex);

Core index:
* 0 = Health
* 1 = Stamina
* 2 = Dead Eye
Use `0xf6a7c08df2e28b28` (`_SET_ATTRIBUTE_OVERPOWER_AMOUNT`) with these parameters `int ped, int coreIndex, float value, BOOL makeSound` to make the outer core overpowered. Value is between `0.0` and more than `5000.0`, the higher the number, the longer it takes for the core to drain the overpowered status.

Usage

Lua
local retval = IsAttributeOverpowered(ped, attributeIndex)

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

// by hash
const retval = Citizen.invokeNative('0x103C2F885ABEB00B', ped, attributeIndex, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x103C2F885ABEB00B, 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 · femga rdr3_discoveries

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