NetworkClientBlocked

networkSessionWasInvited

NETWORK_SESSION_WAS_INVITED0x23DFB504655D0CE4

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

SignatureJavaScript
networkSessionWasInvited(): boolean
SignatureLua
networkSessionWasInvited(): 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_SESSION_WAS_INVITED()
Hash
0x23DFB504655D0CE4

Open in the interactive natives reference