# TASK::GET_SEQUENCE_PROGRESS

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

## Signature

```c
int GET_SEQUENCE_PROGRESS(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`int`

## Description

returned values:
0 to 7 = task that's currently in progress, 0 meaning the first one.
-1 no task sequence in progress.

## Usage

### Lua

```lua
local retval = GetSequenceProgress(ped)

-- always available, by hash
local retval = Citizen.InvokeNative(0x00A9010CFE1E3533, ped, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetSequenceProgress(ped);

// by hash
const retval = Citizen.invokeNative('0x00A9010CFE1E3533', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x00A9010CFE1E3533, ped);
```

*Sources: alloc8or RDR3 NativeDB.*
