GET_SEQUENCE_PROGRESS
Returns the index of the step ped is currently performing in its task sequence, or -1 if none.
Signature
int GET_SEQUENCE_PROGRESS(Ped ped); // 0x00A9010CFE1E3533 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | GET_SEQUENCE_PROGRESS |
|---|---|
| Hash | 0x00A9010CFE1E3533 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x00A9010CFE1E3533, -- GET_SEQUENCE_PROGRESS
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x00A9010CFE1E3533", // GET_SEQUENCE_PROGRESS
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x00A9010CFE1E3533, // GET_SEQUENCE_PROGRESS
API.PlayerPedId() // Ped ped
);Related TASK natives
- GET_ITEM_INTERACTION_PROMPT_PROGRESS
- GET_PED_WAYPOINT_PROGRESS
- GET_VEHICLE_WAYPOINT_PROGRESS
- _GET_PED_WRITHE_BREAK_FREE_PROGRESS
- _GET_TASK_PED_MOUNT_LEAP_PROGRESS
- TASK_PERFORM_SEQUENCE_FROM_PROGRESS
- GET_SCENARIO_POINTS_IN_AREA
- GET_SCRIPT_TASK_STATUS
- GET_SCRIPTED_COVER_POINT_COORDS
- GET_ACTIVE_VEHICLE_MISSION_TYPE
- GET_IS_CARRIABLE_ENTITY
- GET_IS_PED_AIMING_IN_THE_AIR
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.