NetworkClientBlocked

networkRequestControlOfNetworkId

NETWORK_REQUEST_CONTROL_OF_NETWORK_ID0xA670B3662FAFFBD0

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

SignatureJavaScript
networkRequestControlOfNetworkId(netId: number): boolean
SignatureLua
networkRequestControlOfNetworkId(netId: integer): boolean
✕
Blocked for scripts: Rockstar online sessions and content

LS:MP runs its own networking: scripts do not join, host or transition Rockstar sessions, or fetch Rockstar's user content and remote files.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_REQUEST_CONTROL_OF_NETWORK_ID(int netId)
Hash
0xA670B3662FAFFBD0

Open in the interactive natives reference