Player::isInCover

From RAGE Multiplayer Wiki
Revision as of 13:47, 17 April 2017 by CocaColaBear (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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