Player::isInCover

From RAGE Multiplayer Wiki
Revision as of 19:25, 4 January 2017 by Niks (talk | contribs)

This property returns true or false of player cover state.

Note: this property is read-only.

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!');