MiscClientBlocked

clearBit

CLEAR_BIT0xE80492A9AC099A93

The GTA V native CLEAR_BIT of the MISC namespace, as LS:MP client scripts call it: the global function clearBit, in JavaScript and in Lua.

SignatureJavaScript
clearBit(address: number, offset: number): number
SignatureLua
clearBit(address: integer, offset: integer): integer
✕
Blocked for scripts: Replaced by the language

This is a game-side helper your language already covers: bit operators, or number and string conversion.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Misc MISC
In the game
void CLEAR_BIT(int* address, int offset)
Hash
0xE80492A9AC099A93

Open in the interactive natives reference