Skip to main content

Gameplay::isBitSet

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side C#, Client-side JavaScript). Calling it does nothing or throws.

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​

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

Required Arguments​

  • address: int
  • offset: int

Return value​

  • Boolean

Example​

// todo