NetworkClientBlocked

networkSessionLeave

NETWORK_SESSION_LEAVE0xB9351A07A0D458B1

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

SignatureJavaScript
networkSessionLeave(p0: any): boolean
SignatureLua
networkSessionLeave(p0: any): 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_LEAVE(Any p0)
Hash
0xB9351A07A0D458B1
Introduced
Game build 2060 legacy numbering

Open in the interactive natives reference