Player::getEntityIsFreeAimingAt

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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