taskPerformSequence
TASK_PERFORM_SEQUENCE0x5ABA3986D90D8A3BThe GTA V native TASK_PERFORM_SEQUENCE of the TASK namespace, as LS:MP client scripts call it: the global function taskPerformSequence, in JavaScript and in Lua.
taskPerformSequence(ped: Ped, taskSequenceId: number): voidtaskPerformSequence(ped: Ped, taskSequenceId: integer)Usage
JavaScript
taskPerformSequence(ped, taskSequenceId);Lua
taskPerformSequence(ped, taskSequenceId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
taskSequenceId | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_PERFORM_SEQUENCE(Ped ped, int taskSequenceId)- Hash
0x5ABA3986D90D8A3B