Skip to main content

Player::getEntityIsFreeAimingAt

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