_CLEAR_BIT_FLAG
Clears the bit flag in the bit flag structure bitFlags.
Signature
void _CLEAR_BIT_FLAG(Any* bitFlags, int flag); // 0xB909149F2BB5F6DA b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | bitFlags | Any* (out pointer) |
| 2 | flag | int |
Facts
| 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.
local bitFlags = Citizen.InvokeNative(0xB909149F2BB5F6DA, -- _CLEAR_BIT_FLAG
Citizen.PointerValueInt(), -- Any* bitFlags
0 -- int flag
)
print(bitFlags)const bitFlags = Citizen.invokeNative("0xB909149F2BB5F6DA", // _CLEAR_BIT_FLAG
Citizen.pointerValueInt(), // Any* bitFlags
0 // int flag
);
console.log(bitFlags)var bitFlagsArg = new OutputArgument();
Function.Call((Hash)0xB909149F2BB5F6DA, // _CLEAR_BIT_FLAG
bitFlagsArg, // Any* bitFlags
0 // int flag
);
int bitFlags = bitFlagsArg.GetResult<int>();Related MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.