# TASK::TASK_PAUSE

- **Hash:** `0xE73A266DB0CA9042`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `TaskPause`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/TASK_PAUSE

## Signature

```c
void TASK_PAUSE(Ped ped, int ms);
```

## Parameters

- `ped` (`Ped`)
- `ms` (`int`)

## Returns

`void`

## Description

This tasks the ped to do nothing for the specified amount of milliseconds.
This is useful if you want to add a delay between tasks when using a sequence task.

## Usage

### Lua

```lua
TaskPause(ped, ms)

-- always available, by hash
Citizen.InvokeNative(0xE73A266DB0CA9042, ped, ms)
```

### JavaScript

```js
TaskPause(ped, ms);

// by hash
Citizen.invokeNative('0xE73A266DB0CA9042', ped, ms);
```

### C#

```csharp
Function.Call((Hash)0xE73A266DB0CA9042, ped, ms);
```

*Sources: alloc8or RDR3 NativeDB.*
