RedM Natives

NETWORK_PREVENT_SCRIPT_HOST_MIGRATION

Hash0x2302C0264EA58D31
Runtime nameNetworkPreventScriptHostMigration
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x2302C0264EA58D31

Signature

void NETWORK_PREVENT_SCRIPT_HOST_MIGRATION();

Returns void

Usage

Lua
NetworkPreventScriptHostMigration()

-- always works, by hash
Citizen.InvokeNative(0x2302C0264EA58D31)
JavaScript and C#
JavaScript
NetworkPreventScriptHostMigration();

// by hash
Citizen.invokeNative('0x2302C0264EA58D31');
C#
Function.Call((Hash)0x2302C0264EA58D31);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.