RedM Natives

NETWORK_SESSION_IS_ANY_REQUEST_IN_PROGRESS

Hash0xBAFFDE5F953720D9
Runtime nameNetworkSessionIsAnyRequestInProgress
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL NETWORK_SESSION_IS_ANY_REQUEST_IN_PROGRESS();

Returns BOOL

Usage

Lua
local retval = NetworkSessionIsAnyRequestInProgress()

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

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

Sources

alloc8or RDR3 NativeDB

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