Player::isAiming: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
 
Line 10: Line 10:
   player.outputChatBox('You are not aiming right now!');
   player.outputChatBox('You are not aiming right now!');
</source>
</source>
==See Also==
{{Player_block}}

Latest revision as of 13:48, 17 April 2017

This property returns true or false of player aim state.

Note: this property is read-only.

Example

let playerIsAiming = player.isAiming
if (playerIsAiming)
  player.outputChatBox('You are aiming right now!');
else
  player.outputChatBox('You are not aiming right now!');

See Also