Player::getEntityIsFreeAimingAt

From RAGE Multiplayer Wiki
Revision as of 08:53, 8 June 2020 by Bonus (talk | contribs) (Rage-Object -> RAGE:MP Object)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns RAGE:MP Object or World-Object Handle if it found an entity in your crosshair within range of your weapon..
Returns undefined if no entity found.

Syntax

mp.game.player.getEntityIsFreeAimingAt();

Return value

  • entity: Entity object (RAGE:MP Objects)

or

  • int: Entity handle (World-Objects)

Example

// todo

See also