Player::getEntityIsFreeAimingAt

From RAGE Multiplayer Wiki
Revision as of 20:49, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns TRUE if it found an entity in your crosshair within range of your weapon. Assigns the handle of the target to the *entity that you pass it.
Returns false if no entity found.

Syntax

player.getEntityPlayerIsFreeAimingAt(entity);

Required Arguments

  • entity: Entity handle or object

Return value

  • Boolean

Example

todo

See also