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

Player::isJumping

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

This function returns 1 or 0 of player jumping state.

Note: this property is read-only.

Example

<source lang="javascript"> let playerIsJumping = player.isJumping() if (playerIsJumping === 1)

 player.outputChatBox('You are jumping right now!');

else

 player.outputChatBox('You are not jumping right now!');

</source>

See Also