Player::isInCover

From RAGE Multiplayer Wiki

This property returns true or false of player cover state.

Note: this property is read-only.

Example

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

See Also