Native referenceFiveM

IS_BIT_SET

0xA921AA820C25702F MISC
FUNCTION SIGNATURE
BOOL IS_BIT_SET(int address, int offset);
Property Value
Native Name IS_BIT_SET
Hash 0xA921AA820C25702F
Return Type BOOL
Parameters address (int), offset (int)

Description: ``` Returns bit's boolean state from [offset] of [address]. Example: MISC::IS_BIT_SET(bitAddress, 1); To enable and disable bits, see: MISC::SET_BIT(&bitAddress, 1); // enable MISC::CLEAR_BIT(&bitAddress, 1); // disable

Back to MISC