NetworkClient

networkWasGameSuspended

NETWORK_WAS_GAME_SUSPENDED0x4237E822315D8BA9

The GTA V native NETWORK_WAS_GAME_SUSPENDED of the NETWORK namespace, as LS:MP client scripts call it: the global function networkWasGameSuspended, in JavaScript and in Lua.

SignatureJavaScript
networkWasGameSuspended(): boolean
SignatureLua
networkWasGameSuspended(): boolean

Usage

JavaScript
const result = networkWasGameSuspended();
Lua
local result = networkWasGameSuspended()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_WAS_GAME_SUSPENDED()
Hash
0x4237E822315D8BA9

Open in the interactive natives reference