RedM Natives

_GET_ATTRIBUTE_OVERPOWER_SECONDS_LEFT

Hash0x4C9F782180712742
Runtime nameGetAttributeOverpowerSecondsLeft
NamespaceATTRIBUTE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

float _GET_ATTRIBUTE_OVERPOWER_SECONDS_LEFT(Ped ped, int attributeIndex);

Parameters

NameTypeDescription
pedPed—
attributeIndexint—

Returns float

Usage

Lua
local retval = GetAttributeOverpowerSecondsLeft(ped, attributeIndex)

-- always works, by hash
local retval = Citizen.InvokeNative(0x4C9F782180712742, ped, attributeIndex, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetAttributeOverpowerSecondsLeft(ped, attributeIndex);

// by hash
const retval = Citizen.invokeNative('0x4C9F782180712742', ped, attributeIndex, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0x4C9F782180712742, 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.