_GET_ATTRIBUTE_OVERPOWER_SECONDS_LEFT
Hash
0x4C9F782180712742Runtime name
GetAttributeOverpowerSecondsLeftNamespaceATTRIBUTE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
float _GET_ATTRIBUTE_OVERPOWER_SECONDS_LEFT(Ped ped, int attributeIndex);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
attributeIndex | int | — |
Returns float
Usage
local retval = GetAttributeOverpowerSecondsLeft(ped, attributeIndex)
-- always works, by hash
local retval = Citizen.InvokeNative(0x4C9F782180712742, ped, attributeIndex, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetAttributeOverpowerSecondsLeft(ped, attributeIndex);
// by hash
const retval = Citizen.invokeNative('0x4C9F782180712742', ped, attributeIndex, Citizen.returnResultAnyway(), Citizen.resultAsFloat());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
InvokeNativewith the hash — it always works.
Enums and flags
- PedAttribute__AttributeType 23 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.