NetworkClientBlocked

networkSessionChangeSlots

NETWORK_SESSION_CHANGE_SLOTS0xB4AB419E0D86ACAE

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

SignatureJavaScript
networkSessionChangeSlots(slots: number, p1: boolean): void
SignatureLua
networkSessionChangeSlots(slots: integer, p1: 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
void NETWORK_SESSION_CHANGE_SLOTS(int slots, BOOL p1)
Hash
0xB4AB419E0D86ACAE

Open in the interactive natives reference