Player::isJumping: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 10: Line 10:
   player.outputChatBox('You are not jumping right now!');
   player.outputChatBox('You are not jumping right now!');
</source>
</source>
==See Also==
{{Player_block}}

Revision as of 13:47, 17 April 2017

This property returns true or false of player jumping state.

Note: this property is read-only.

Example

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

See Also