Skip to main content

Player::isPlayerControlOn

Can the player control himself, used to disable controls for player for things like a cutscene.

---

You can't disable controls with this, use SET_PLAYER_CONTROL(...) for this.

Syntax​

mp.game.player.isPlayerControlOn();

Return value​

  • Boolean

Example​

// todo