TasksClient

closeSequenceTask

CLOSE_SEQUENCE_TASK0x39E72BC99E6360CB

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

SignatureJavaScript
closeSequenceTask(taskSequenceId: number): void
SignatureLua
closeSequenceTask(taskSequenceId: integer)

Usage

JavaScript
closeSequenceTask(taskSequenceId);
Lua
closeSequenceTask(taskSequenceId)

Parameters

ParameterTypeJavaScriptLua
taskSequenceIdintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void CLOSE_SEQUENCE_TASK(int taskSequenceId)
Hash
0x39E72BC99E6360CB

Open in the interactive natives reference