RedM Natives

NETWORK_GET_THIS_SCRIPT_IS_NETWORK_SCRIPT

Hash0x2910669969E9535E
Runtime nameNetworkGetThisScriptIsNetworkScript
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x2910669969E9535E

Signature

BOOL NETWORK_GET_THIS_SCRIPT_IS_NETWORK_SCRIPT();

Returns BOOL

Usage

Lua
local retval = NetworkGetThisScriptIsNetworkScript()

-- always works, by hash
local retval = Citizen.InvokeNative(0x2910669969E9535E, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = NetworkGetThisScriptIsNetworkScript();

// by hash
const retval = Citizen.invokeNative('0x2910669969E9535E', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x2910669969E9535E);

Sources

alloc8or RDR3 NativeDB

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