GET_SEQUENCE_PROGRESS
returned values: 0 to 7 = task that's currently in progress, 0 meaning the first one.
Hash
0x00A9010CFE1E3533Runtime name
GetSequenceProgressNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x00A9010CFE1E3533Signature
int GET_SEQUENCE_PROGRESS(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
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
local retval = GetSequenceProgress(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x00A9010CFE1E3533, ped, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetSequenceProgress(ped);
// by hash
const retval = Citizen.invokeNative('0x00A9010CFE1E3533', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x00A9010CFE1E3533, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.