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

Player::isAiming

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

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