The Lab
NETWORK native

NETWORK_SESSION_IS_REQUEST_IN_PROGRESS

returns BOOL1 parambuild 1207

Returns true if the session request identified by sessionRequestId is in progress.

Signature

C
BOOL NETWORK_SESSION_IS_REQUEST_IN_PROGRESS(Any* sessionRequestId); // 0x8FB7C254CFCBF78E b1207

Parameters

#NameType
1sessionRequestIdAny* (out pointer)

Facts

Facts about NETWORK_SESSION_IS_REQUEST_IN_PROGRESS
Name
NETWORK_SESSION_IS_REQUEST_IN_PROGRESS
Hash
0x8FB7C254CFCBF78E
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, sessionRequestId = Citizen.InvokeNative(0x8FB7C254CFCBF78E, -- NETWORK_SESSION_IS_REQUEST_IN_PROGRESS
  Citizen.PointerValueInt(), -- Any* sessionRequestId
  Citizen.ReturnResultAnyway()
)
if result then
  -- ...
end
JavaScript
const [result, sessionRequestId] = Citizen.invokeNative("0x8FB7C254CFCBF78E", // NETWORK_SESSION_IS_REQUEST_IN_PROGRESS
  Citizen.pointerValueInt(), // Any* sessionRequestId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
var sessionRequestIdArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x8FB7C254CFCBF78E, // NETWORK_SESSION_IS_REQUEST_IN_PROGRESS
  sessionRequestIdArg // Any* sessionRequestId
);
int sessionRequestId = sessionRequestIdArg.GetResult<int>();
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.