RedM Natives

KEEP_NETWORK_ID_IN_FAST_INSTANCE

Hash0xE1BC73D6815BA361
Runtime nameKeepNetworkIdInFastInstance
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

void KEEP_NETWORK_ID_IN_FAST_INSTANCE(int netId, BOOL p1, int p2);

Parameters

NameTypeDescription
netIdint—
p1BOOL—
p2int—

Returns void

Usage

Lua
KeepNetworkIdInFastInstance(netId, p1, p2)

-- always works, by hash
Citizen.InvokeNative(0xE1BC73D6815BA361, netId, p1, p2)
JavaScript and C#
JavaScript
KeepNetworkIdInFastInstance(netId, p1, p2);

// by hash
Citizen.invokeNative('0xE1BC73D6815BA361', netId, p1, p2);
C#
Function.Call((Hash)0xE1BC73D6815BA361, netId, p1, p2);

Sources

alloc8or RDR3 NativeDB

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