Player::aimTarget: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
m (category)
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
   player.outputChatBox('Your aim target is ' + player.aimTarget);
   player.outputChatBox('Your aim target is ' + player.aimTarget);
</source>
</source>
==See Also==
{{Player_block}}
[[Category:Player API]]
[[Category:Server-side Property]]

Latest revision as of 16:57, 17 May 2019

This property is the aim target of a player.
Note: this property is read-only. If player currently isn't aiming, this property will be last aim target

Example

if (player.isAiming)
  player.outputChatBox('Your aim target is ' + player.aimTarget);

See Also