TasksClient

taskFollowWaypointRecording

TASK_FOLLOW_WAYPOINT_RECORDING0x0759591819534F7B

The GTA V native TASK_FOLLOW_WAYPOINT_RECORDING of the TASK namespace, as LS:MP client scripts call it: the global function taskFollowWaypointRecording, in JavaScript and in Lua.

SignatureJavaScript
taskFollowWaypointRecording(
  ped: Ped,
  name: string,
  p2: number,
  p3: number,
  p4: number
): void
SignatureLua
taskFollowWaypointRecording(
  ped: Ped,
  name: string,
  p2: integer,
  p3: integer,
  p4: integer
)

Usage

JavaScript
taskFollowWaypointRecording(ped, name, p2, p3, p4);
Lua
taskFollowWaypointRecording(ped, name, p2, p3, p4)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
namestringstringstring
p2intnumberinteger
p3intnumberinteger
p4intnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void TASK_FOLLOW_WAYPOINT_RECORDING(Ped ped, const char* name, int p2, int p3, int p4)
Hash
0x0759591819534F7B

Open in the interactive natives reference