MiscClient

pauseDeathArrestRestart

PAUSE_DEATH_ARREST_RESTART0x2C2B3493FBF51C71

The GTA V native PAUSE_DEATH_ARREST_RESTART of the MISC namespace, as LS:MP client scripts call it: the global function pauseDeathArrestRestart, in JavaScript and in Lua.

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

Usage

JavaScript
pauseDeathArrestRestart(toggle);
Lua
pauseDeathArrestRestart(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Misc MISC
In the game
void PAUSE_DEATH_ARREST_RESTART(BOOL toggle)
Hash
0x2C2B3493FBF51C71
Formerly
_DISABLE_AUTOMATIC_RESPAWN

Open in the interactive natives reference