Skip to main content

Gameplay::isBitSet

Returns bit's boolean state from [offset] of [address].

Example: GAMEPLAY::IS_BIT_SET(bitAddress, 1);

To enable and disable bits, see: GAMEPLAY::SET_BIT(&bitAddress, 1); // enable GAMEPLAY::CLEAR_BIT(&bitAddress, 1); // disable

Syntax

```js mp.game.gameplay.isBitSet(address, offset); ```

Required Arguments

  • address: int
  • offset: int

Return value

  • Boolean

Example

```js // todo ```

See also