NetworkClient

networkPreventScriptHostMigration

NETWORK_PREVENT_SCRIPT_HOST_MIGRATION0x2302C0264EA58D31

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

SignatureJavaScript
networkPreventScriptHostMigration(): void
SignatureLua
networkPreventScriptHostMigration()

Usage

JavaScript
networkPreventScriptHostMigration();
Lua
networkPreventScriptHostMigration()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_PREVENT_SCRIPT_HOST_MIGRATION()
Hash
0x2302C0264EA58D31

Open in the interactive natives reference