The Lab
NETWORK native

NETWORK_SESSION_REMOVE_SESSION_FLAGS

returns BOOL1 parambuild 1207

Removes the given flags from the current session. Returns true on success.

Signature

C
BOOL NETWORK_SESSION_REMOVE_SESSION_FLAGS(int flags); // 0x78335E12DB0BF961 b1207

Parameters

#NameType
1flagsint

Facts

Facts about NETWORK_SESSION_REMOVE_SESSION_FLAGS
Name
NETWORK_SESSION_REMOVE_SESSION_FLAGS
Hash
0x78335E12DB0BF961
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 = Citizen.InvokeNative(0x78335E12DB0BF961, -- NETWORK_SESSION_REMOVE_SESSION_FLAGS
  0 -- int flags
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x78335E12DB0BF961", // NETWORK_SESSION_REMOVE_SESSION_FLAGS
  0, // int flags
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x78335E12DB0BF961, // NETWORK_SESSION_REMOVE_SESSION_FLAGS
  0 // int flags
);
All NETWORK natives

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