# TASK::_SET_HOGTIE_ESCAPE_TIMER

- **Hash:** `0xAB591AE6B48B913E`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `SetHogtieEscapeTimer`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/_SET_HOGTIE_ESCAPE_TIMER

## Signature

```c
void _SET_HOGTIE_ESCAPE_TIMER(Ped ped, float time);
```

## Parameters

- `ped` (`Ped`)
- `time` (`float`)

## Returns

`void`

## Description

Sets the time it takes for a hogtied ped to escape
-1.0f for ped to never escape

## Usage

### Lua

```lua
SetHogtieEscapeTimer(ped, time)

-- always available, by hash
Citizen.InvokeNative(0xAB591AE6B48B913E, ped, time)
```

### JavaScript

```js
SetHogtieEscapeTimer(ped, time);

// by hash
Citizen.invokeNative('0xAB591AE6B48B913E', ped, time + 0.0000001);
```

### C#

```csharp
Function.Call((Hash)0xAB591AE6B48B913E, ped, time);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.
- 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.

## See also

- [TASK::_GET_HOGTIE_ESCAPE_TIMER](https://natives.borderlinerp.com/natives/TASK/_GET_HOGTIE_ESCAPE_TIMER.md)

*Sources: alloc8or RDR3 NativeDB.*
