ClockClient

pauseClock

PAUSE_CLOCK0x4055E40BD2DBEC1D

The GTA V native PAUSE_CLOCK of the CLOCK namespace, as LS:MP client scripts call it: the global function pauseClock, in JavaScript and in Lua.

SignatureJavaScript
pauseClock(toggle: boolean): void
SignatureLua
pauseClock(toggle: boolean)

Usage

JavaScript
pauseClock(toggle);
Lua
pauseClock(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Clock CLOCK
In the game
void PAUSE_CLOCK(BOOL toggle)
Hash
0x4055E40BD2DBEC1D

Open in the interactive natives reference