RedM Natives

GET_SEQUENCE_PROGRESS

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

Hash0x00A9010CFE1E3533
Runtime nameGetSequenceProgress
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x00A9010CFE1E3533

Signature

int GET_SEQUENCE_PROGRESS(Ped ped);

Parameters

NameTypeDescription
pedPed—

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
local retval = GetSequenceProgress(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x00A9010CFE1E3533, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetSequenceProgress(ped);

// by hash
const retval = Citizen.invokeNative('0x00A9010CFE1E3533', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x00A9010CFE1E3533, ped);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.