TasksClientNot in this build

setPedWaypointProgress

SET_PED_WAYPOINT_PROGRESS0x686ECCD99D4E61BB

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

SignatureJavaScript
setPedWaypointProgress(ped: Ped, progress: number): void
SignatureLua
setPedWaypointProgress(ped: Ped, progress: integer)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
setPedWaypointProgress(ped, progress);
Lua
setPedWaypointProgress(ped, progress)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
progressintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void SET_PED_WAYPOINT_PROGRESS(Ped ped, int progress)
Hash
0x686ECCD99D4E61BB
Introduced
Game build 3570 legacy numbering

Open in the interactive natives reference