Перейти к содержанию

Player::isInCover

Материал из RAGE MP Wiki Archive

This property returns true or false of player cover state.

Note: this property is read-only.

Example

<source lang="javascript"> 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!');

</source>

See Also