HUDClient

allowPauseWhenNotInStateOfPlayThisFrame

ALLOW_PAUSE_WHEN_NOT_IN_STATE_OF_PLAY_THIS_FRAME0xCC3FDDED67BCFC63

The GTA V native ALLOW_PAUSE_WHEN_NOT_IN_STATE_OF_PLAY_THIS_FRAME of the HUD namespace, as LS:MP client scripts call it: the global function allowPauseWhenNotInStateOfPlayThisFrame, in JavaScript and in Lua.

SignatureJavaScript
allowPauseWhenNotInStateOfPlayThisFrame(): void
SignatureLua
allowPauseWhenNotInStateOfPlayThisFrame()

Usage

JavaScript
allowPauseWhenNotInStateOfPlayThisFrame();
Lua
allowPauseWhenNotInStateOfPlayThisFrame()

Parameters

None.

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.

Allows opening the pause menu this frame, when the player is dead.

Reference

Namespace
HUD HUD
In the game
void ALLOW_PAUSE_WHEN_NOT_IN_STATE_OF_PLAY_THIS_FRAME()
Hash
0xCC3FDDED67BCFC63
Formerly
_ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME

Open in the interactive natives reference