Player::isJumping

From RAGE Multiplayer Wiki
Revision as of 22:29, 7 November 2020 by Lorenzo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function returns 1 or 0 of player jumping state.

Note: this property is read-only.

Example

let playerIsJumping = player.isJumping()
if (playerIsJumping === 1)
  player.outputChatBox('You are jumping right now!');
else
  player.outputChatBox('You are not jumping right now!');

See Also