TasksClient

taskPause

TASK_PAUSE0xE73A266DB0CA9042

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

SignatureJavaScript
taskPause(ped: Ped, ms: number): void
SignatureLua
taskPause(ped: Ped, ms: integer)

Usage

JavaScript
taskPause(ped, ms);
Lua
taskPause(ped, ms)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
msintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Stand still (?)

Reference

Namespace
Tasks TASK
In the game
void TASK_PAUSE(Ped ped, int ms)
Hash
0xE73A266DB0CA9042

Open in the interactive natives reference