NetworkClientNot in this build

networkCheckCanAccessAndAlert

NETWORK_CHECK_CAN_ACCESS_AND_ALERT0x6FA9825D0B5A721B

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

SignatureJavaScript
networkCheckCanAccessAndAlert(): boolean
SignatureLua
networkCheckCanAccessAndAlert(): boolean
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_CHECK_CAN_ACCESS_AND_ALERT()
Hash
0x6FA9825D0B5A721B
Introduced
Game build 3570 legacy numbering

Open in the interactive natives reference