The Lab
MISC native

_CLEAR_BIT_FLAG

returns void2 paramsbuild 1207

Clears the bit flag in the bit flag structure bitFlags.

Signature

C
void _CLEAR_BIT_FLAG(Any* bitFlags, int flag); // 0xB909149F2BB5F6DA b1207

Parameters

#NameType
1bitFlagsAny* (out pointer)
2flagint

Facts

Facts about _CLEAR_BIT_FLAG
Name
_CLEAR_BIT_FLAG
Hash
0xB909149F2BB5F6DA
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(0xB909149F2BB5F6DA, -- _CLEAR_BIT_FLAG
  Citizen.PointerValueInt(), -- Any* bitFlags
  0 -- int flag
)
print(bitFlags)
JavaScript
const bitFlags = Citizen.invokeNative("0xB909149F2BB5F6DA", // _CLEAR_BIT_FLAG
  Citizen.pointerValueInt(), // Any* bitFlags
  0 // int flag
);
console.log(bitFlags)
C#
var bitFlagsArg = new OutputArgument();
Function.Call((Hash)0xB909149F2BB5F6DA, // _CLEAR_BIT_FLAG
  bitFlagsArg, // Any* bitFlags
  0 // int flag
);
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.