Перейти к содержанию

Player::isPlayerControlOn

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">mp.game.player.isPlayerControlOn();</syntaxhighlight>

Required Arguments

Return value

  • Boolean

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also