Player::getPlayerTargetEntity

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Assigns the handle of locked-on melee target to *entity that you pass it.
Returns false if no entity found.

Syntax

mp.game.player.getPlayerTargetEntity(entity);

Required Arguments

  • entity: Entity handle or object

Return value

  • Boolean

Example

// todo

See also