CLEAR_BIT
Clears bit offset of the integer stored at address.
Signature
void CLEAR_BIT(int* address, int offset); // 0x7D1D4A3602B6AD4E b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | address | int* (out pointer) |
| 2 | offset | int |
Facts
| Name | CLEAR_BIT |
|---|---|
| Hash | 0x7D1D4A3602B6AD4E |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local address = Citizen.InvokeNative(0x7D1D4A3602B6AD4E, -- CLEAR_BIT
Citizen.PointerValueInt(), -- int* address
0 -- int offset
)
print(address)const address = Citizen.invokeNative("0x7D1D4A3602B6AD4E", // CLEAR_BIT
Citizen.pointerValueInt(), // int* address
0 // int offset
);
console.log(address)var addressArg = new OutputArgument();
Function.Call((Hash)0x7D1D4A3602B6AD4E, // CLEAR_BIT
addressArg, // int* address
0 // int offset
);
int address = addressArg.GetResult<int>();Related MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.