networkSessionSetMatchmakingGroupMax
NETWORK_SESSION_SET_MATCHMAKING_GROUP_MAX0x8B6A4DD0AF9CE215The GTA V native NETWORK_SESSION_SET_MATCHMAKING_GROUP_MAX of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSessionSetMatchmakingGroupMax, in JavaScript and in Lua.
networkSessionSetMatchmakingGroupMax(
playerType: number,
playerCount: number
): voidnetworkSessionSetMatchmakingGroupMax(
playerType: integer,
playerCount: 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_MAX(int playerType, int playerCount)- Hash
0x8B6A4DD0AF9CE215- Formerly
_NETWORK_SESSION_SET_MAX_PLAYERS