NetworkClientBlocked

networkSessionSetMatchmakingGroup

NETWORK_SESSION_SET_MATCHMAKING_GROUP0x49EC8030F5015F8B

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

SignatureJavaScript
networkSessionSetMatchmakingGroup(matchmakingGroup: number): void
SignatureLua
networkSessionSetMatchmakingGroup(matchmakingGroup: integer)
✕
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_SET_MATCHMAKING_GROUP(int matchmakingGroup)
Hash
0x49EC8030F5015F8B
Formerly
_NETWORK_SCTV_SLOTS

Open in the interactive natives reference