Natives MISC 0xE80492A9AC099A93 void CLEAR_BIT (int* address, int offset); Documentation Community 0
Property
Value
Native Name
CLEAR_BIT
Hash
0xE80492A9AC099A93
Return Type
void
Parameters
address (int*), offset (int)
Description: ```
This sets bit [offset] of [address] to off.
Example:
MISC::CLEAR_BIT(&bitAddress, 1);
To check if this bit has been enabled:
MISC::IS_BIT_SET(bitAddress, 1); // will return 0 afterwards
Back to MISC Before you callA `*` parameter here is an in/out pointer slot, not an ordinary value argument, and its marshalling depends on type and direction: getter out-slots come back as extra Lua return values (pass a Citizen.PointerValueInt() / PointerValueFloat() placeholder and read them after the normal return), while Vector3* params and in/out handles you supply a value into (e.g. a sequence-task id) are passed differently — confirm the exact convention with get_invoke_guide before passing it like a normal arg.
Let your AI read the fine print. Native signatures, warnings, and community context. Directly in your editor.
Connect via MCP