TasksClient

taskPerformSequenceFromProgress

TASK_PERFORM_SEQUENCE_FROM_PROGRESS0x89221B16730234F0

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

SignatureJavaScript
taskPerformSequenceFromProgress(
  ped: Ped,
  taskIndex: number,
  progress1: number,
  progress2: number
): void
SignatureLua
taskPerformSequenceFromProgress(
  ped: Ped,
  taskIndex: integer,
  progress1: integer,
  progress2: integer
)

Usage

JavaScript
taskPerformSequenceFromProgress(ped, taskIndex, progress1, progress2);
Lua
taskPerformSequenceFromProgress(ped, taskIndex, progress1, progress2)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
taskIndexintnumberinteger
progress1intnumberinteger
progress2intnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void TASK_PERFORM_SEQUENCE_FROM_PROGRESS(Ped ped, int taskIndex, int progress1, int progress2)
Hash
0x89221B16730234F0

Open in the interactive natives reference