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

```js mp.game.player.isPlayerControlOn(); ```

Required Arguments

Return value

  • Boolean

Example

```js // todo ```

See also