NetworkClient

networkSetDoNotLaunchFromJoinAsMigratedHost

NETWORK_SET_DO_NOT_LAUNCH_FROM_JOIN_AS_MIGRATED_HOST0xA2E9C1AB8A92E8CD

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

SignatureJavaScript
networkSetDoNotLaunchFromJoinAsMigratedHost(toggle: boolean): void
SignatureLua
networkSetDoNotLaunchFromJoinAsMigratedHost(toggle: boolean)

Usage

JavaScript
networkSetDoNotLaunchFromJoinAsMigratedHost(toggle);
Lua
networkSetDoNotLaunchFromJoinAsMigratedHost(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Appears to set whether a transition should be started when the session is migrating.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_SET_DO_NOT_LAUNCH_FROM_JOIN_AS_MIGRATED_HOST(BOOL toggle)
Hash
0xA2E9C1AB8A92E8CD

Open in the interactive natives reference