Player::aimTarget: Difference between revisions

From RAGE Multiplayer Wiki
m (category)
m (category)
 
Line 11: Line 11:
{{Player_block}}
{{Player_block}}


[[Category:Player]]
[[Category:Player API]]
[[Category:Server-side Property]]
[[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