setBit
SET_BIT0x933D6A9EEC1BACD0The GTA V native SET_BIT of the MISC namespace, as LS:MP client scripts call it: the global function setBit, in JavaScript and in Lua.
setBit(address: number, offset: number): numbersetBit(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 SET_BIT(int* address, int offset)- Hash
0x933D6A9EEC1BACD0