taskPerformSequenceLocally
TASK_PERFORM_SEQUENCE_LOCALLY0x8C33220C8D78CA0DThe GTA V native TASK_PERFORM_SEQUENCE_LOCALLY of the TASK namespace, as LS:MP client scripts call it: the global function taskPerformSequenceLocally, in JavaScript and in Lua.
taskPerformSequenceLocally(ped: Ped, taskSequenceId: number): voidtaskPerformSequenceLocally(ped: Ped, taskSequenceId: integer)Usage
JavaScript
taskPerformSequenceLocally(ped, taskSequenceId);Lua
taskPerformSequenceLocally(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_LOCALLY(Ped ped, int taskSequenceId)- Hash
0x8C33220C8D78CA0D- Introduced
- Game build 944 legacy numbering