Player::isInCover

From RAGE Multiplayer Wiki
Revision as of 19:25, 4 January 2017 by Niks (talk | contribs) (Created page with "This property returns true or false of player cover state. == Example == <source lang="javascript"> let playerIsCovering = player.isJumping if (playerIsCovering) player.outp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This property returns true or false of player cover state.

Example

let playerIsCovering = player.isJumping
if (playerIsCovering)
  player.outputChatBox('You are in the cover right now!');
else
  player.outputChatBox('You are not in the cover right now!');