NetworkClientBlocked

networkSessionDoFriendMatchmaking

NETWORK_SESSION_DO_FRIEND_MATCHMAKING0x2CFC76E0D087C994

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

SignatureJavaScript
networkSessionDoFriendMatchmaking(p0: number, p1: number, p2: number): boolean
SignatureLua
networkSessionDoFriendMatchmaking(
  p0: integer,
  p1: integer,
  p2: integer
): 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_DO_FRIEND_MATCHMAKING(int p0, int p1, int p2)
Hash
0x2CFC76E0D087C994
Formerly
NETWORK_SESSION_FRIEND_MATCHMAKING

Open in the interactive natives reference