The Lab
MISC native

_CLEAR_ALL_BIT_FLAGS

returns void1 parambuild 1207

Clears every bit in the bit flag structure bitFlags.

Signature

C
void _CLEAR_ALL_BIT_FLAGS(Any* bitFlags); // 0xD2D74F89DF844A50 b1207

Parameters

#NameType
1bitFlagsAny* (out pointer)

Facts

Facts about _CLEAR_ALL_BIT_FLAGS
Name
_CLEAR_ALL_BIT_FLAGS
Hash
0xD2D74F89DF844A50
Namespace
Returns
void
Game build
1207

Examples

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

Lua
local bitFlags = Citizen.InvokeNative(0xD2D74F89DF844A50, -- _CLEAR_ALL_BIT_FLAGS
  Citizen.PointerValueInt() -- Any* bitFlags
)
print(bitFlags)
JavaScript
const bitFlags = Citizen.invokeNative("0xD2D74F89DF844A50", // _CLEAR_ALL_BIT_FLAGS
  Citizen.pointerValueInt() // Any* bitFlags
);
console.log(bitFlags)
C#
var bitFlagsArg = new OutputArgument();
Function.Call((Hash)0xD2D74F89DF844A50, // _CLEAR_ALL_BIT_FLAGS
  bitFlagsArg // Any* bitFlags
);
int bitFlags = bitFlagsArg.GetResult<int>();
All MISC natives

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