GET_VEHICLE_WAYPOINT_PROGRESS
Returns the index of the waypoint vehicle has reached in its waypoint recording.
Signature
int GET_VEHICLE_WAYPOINT_PROGRESS(Vehicle vehicle); // 0x9824CFF8FC66E159 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
Facts
| Name | GET_VEHICLE_WAYPOINT_PROGRESS |
|---|---|
| Hash | 0x9824CFF8FC66E159 |
| 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(0x9824CFF8FC66E159, -- GET_VEHICLE_WAYPOINT_PROGRESS
0, -- Vehicle vehicle
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x9824CFF8FC66E159", // GET_VEHICLE_WAYPOINT_PROGRESS
0, // Vehicle vehicle
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x9824CFF8FC66E159, // GET_VEHICLE_WAYPOINT_PROGRESS
0 // Vehicle vehicle
);Related TASK natives
- GET_VEHICLE_WAYPOINT_PLAYBACK_OVERRIDE_SPEED
- GET_VEHICLE_WAYPOINT_TARGET_POINT
- GET_PED_WAYPOINT_PROGRESS
- VEHICLE_WAYPOINT_PLAYBACK_GET_IS_PAUSED
- WAYPOINT_RECORDING_GET_CLOSEST_WAYPOINT
- GET_ACTIVE_VEHICLE_MISSION_TYPE
- GET_IS_WAYPOINT_RECORDING_LOADED
- GET_ITEM_INTERACTION_PROMPT_PROGRESS
- GET_PED_WAYPOINT_DISTANCE
- GET_PED_WAYPOINT_OVERRIDE_SPEED
- GET_SEQUENCE_PROGRESS
- GET_WAYPOINT_DISTANCE_ALONG_ROUTE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.