networkDoTransitionToNewGame
NETWORK_DO_TRANSITION_TO_NEW_GAME0x4665F51EFED00034The GTA V native NETWORK_DO_TRANSITION_TO_NEW_GAME of the NETWORK namespace, as LS:MP client scripts call it: the global function networkDoTransitionToNewGame, in JavaScript and in Lua.
networkDoTransitionToNewGame(
p0: boolean,
maxPlayers: number,
p2: boolean
): booleannetworkDoTransitionToNewGame(
p0: boolean,
maxPlayers: integer,
p2: boolean
): 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_DO_TRANSITION_TO_NEW_GAME(BOOL p0, int maxPlayers, BOOL p2)- Hash
0x4665F51EFED00034