The Lab
TASK native

TASK_FOLLOW_WAYPOINT_RECORDING

returns void8 paramsbuild 1207

Tasks ped to follow the waypoint recording waypointRecording from startIndex, with flags controlling playback.

Load the recording first with REQUEST_WAYPOINT_RECORDING.

Signature

C
void TASK_FOLLOW_WAYPOINT_RECORDING(Ped ped, const char* waypointRecording, int startIndex, int flags, int endIndex, BOOL patrol, BOOL aimWeapon, int durationMs); // 0x0759591819534F7B b1207

Parameters

#NameType
1pedPed
2waypointRecordingconst char*
3startIndexint
4flagsint
5endIndexint
6patrolBOOL
7aimWeaponBOOL
8durationMsint

Facts

Facts about TASK_FOLLOW_WAYPOINT_RECORDING
Name
TASK_FOLLOW_WAYPOINT_RECORDING
Hash
0x0759591819534F7B
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x0759591819534F7B, -- TASK_FOLLOW_WAYPOINT_RECORDING
  PlayerPedId(), -- Ped ped
  "text", -- const char* waypointRecording
  0, -- int startIndex
  0, -- int flags
  0, -- int endIndex
  false, -- BOOL patrol
  false, -- BOOL aimWeapon
  0 -- int durationMs
)
JavaScript
Citizen.invokeNative("0x0759591819534F7B", // TASK_FOLLOW_WAYPOINT_RECORDING
  PlayerPedId(), // Ped ped
  "text", // const char* waypointRecording
  0, // int startIndex
  0, // int flags
  0, // int endIndex
  false, // BOOL patrol
  false, // BOOL aimWeapon
  0 // int durationMs
);
C#
Function.Call((Hash)0x0759591819534F7B, // TASK_FOLLOW_WAYPOINT_RECORDING
  API.PlayerPedId(), // Ped ped
  "text", // const char* waypointRecording
  0, // int startIndex
  0, // int flags
  0, // int endIndex
  false, // BOOL patrol
  false, // BOOL aimWeapon
  0 // int durationMs
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.