LobbyClientBlocked

lobbySetAutoMpRandomJob

LOBBY_SET_AUTO_MP_RANDOM_JOB0xC7E7181C09F33B69

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

SignatureJavaScript
lobbySetAutoMpRandomJob(toggle: boolean): void
SignatureLua
lobbySetAutoMpRandomJob(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_MP_RANDOM_JOB(BOOL toggle)
Hash
0xC7E7181C09F33B69
Formerly
_LOADINGSCREEN_SET_IS_LOADING_FREEMODE

Open in the interactive natives reference