NetworkClient

networkGetScriptStatus

NETWORK_GET_SCRIPT_STATUS0x57D158647A6BFABF

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

SignatureJavaScript
networkGetScriptStatus(): number
SignatureLua
networkGetScriptStatus(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Network NETWORK
In the game
int NETWORK_GET_SCRIPT_STATUS()
Hash
0x57D158647A6BFABF

Open in the interactive natives reference