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

Player::isAiming

Материал из RAGE MP Wiki Archive
Версия от 13:48, 17 апреля 2017; imported>CocaColaBear
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This property returns true or false of player aim state.

Note: this property is read-only.

Example

<source lang="javascript"> let playerIsAiming = player.isAiming if (playerIsAiming)

 player.outputChatBox('You are aiming right now!');

else

 player.outputChatBox('You are not aiming right now!');

</source>

See Also