RedM Natives

NETWORK_GET_SCRIPT_STATUS

Hash0x57D158647A6BFABF
Runtime nameNetworkGetScriptStatus
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x57D158647A6BFABF

Signature

int NETWORK_GET_SCRIPT_STATUS();

Returns int

Usage

Lua
local retval = NetworkGetScriptStatus()

-- always works, by hash
local retval = Citizen.InvokeNative(0x57D158647A6BFABF, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = NetworkGetScriptStatus();

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

Sources

alloc8or RDR3 NativeDB

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