CLEAR_BIT
Hash
0x7D1D4A3602B6AD4ERuntime name
ClearBitNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xE80492A9AC099A93Signature
void CLEAR_BIT(int* address, int offset);Parameters
| Name | Type | Description |
|---|---|---|
address | int* | — |
offset | int | — |
Returns void
Usage
local address = ClearBit(offset)
-- always works, by hash
local address = Citizen.InvokeNative(0x7D1D4A3602B6AD4E, Citizen.PointerValueInt(), offset)JavaScript and C#
const address = ClearBit(offset);
// by hash
const address = Citizen.invokeNative('0x7D1D4A3602B6AD4E', Citizen.pointerValueInt(), offset);var address = new OutputArgument();
Function.Call((Hash)0x7D1D4A3602B6AD4E, address, offset);
// address.GetResult<int>()- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.