LobbyClientBlocked

lobbySetAutoMultiplayerEvent

LOBBY_SET_AUTO_MULTIPLAYER_EVENT0xFC309E94546FCDB5

The GTA V native LOBBY_SET_AUTO_MULTIPLAYER_EVENT of the LOBBY namespace, as LS:MP client scripts call it: the global function lobbySetAutoMultiplayerEvent, in JavaScript and in Lua.

SignatureJavaScript
lobbySetAutoMultiplayerEvent(toggle: boolean): void
SignatureLua
lobbySetAutoMultiplayerEvent(toggle: 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
Lobby LOBBY
In the game
void LOBBY_SET_AUTO_MULTIPLAYER_EVENT(BOOL toggle)
Hash
0xFC309E94546FCDB5
Formerly
_IS_IN_LOADING_SCREEN _LOADINGSCREEN_SET_LOAD_FREEMODE_WITH_EVENT_NAME

Open in the interactive natives reference