# ATTRIBUTE::_GET_ATTRIBUTE_OVERPOWER_SECONDS_LEFT

- **Hash:** `0x4C9F782180712742`
- **Namespace:** ATTRIBUTE
- **Runtime name (Lua/JS):** `GetAttributeOverpowerSecondsLeft`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ATTRIBUTE/_GET_ATTRIBUTE_OVERPOWER_SECONDS_LEFT

## Signature

```c
float _GET_ATTRIBUTE_OVERPOWER_SECONDS_LEFT(Ped ped, int attributeIndex);
```

## Parameters

- `ped` (`Ped`)
- `attributeIndex` (`int`)

## Returns

`float`

## Usage

### Lua

```lua
local retval = GetAttributeOverpowerSecondsLeft(ped, attributeIndex)

-- always available, by hash
local retval = Citizen.InvokeNative(0x4C9F782180712742, ped, attributeIndex, Citizen.ResultAsFloat())
```

### JavaScript

```js
const retval = GetAttributeOverpowerSecondsLeft(ped, attributeIndex);

// by hash
const retval = Citizen.invokeNative('0x4C9F782180712742', ped, attributeIndex, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
```

### C#

```csharp
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.

## Related enums

- [PedAttribute__AttributeType](https://natives.borderlinerp.com/enums/PedAttribute__AttributeType.md) — 23 values

*Sources: alloc8or RDR3 NativeDB.*
