The Lab
NETWORK native

_NETWORK_SESSION_SET_PLAYER_FLAGS

returns BOOL1 parambuild 1207

Sets the given player flags in the current session. Returns true on success.

Signature

C
BOOL _NETWORK_SESSION_SET_PLAYER_FLAGS(int flags); // 0x0AE241A4A9ADEEEC b1207

Parameters

#NameType
1flagsint

Facts

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