Player::getTarget

From RAGE Multiplayer Wiki
Revision as of 23:46, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

player.getTarget(entity);

Required Arguments

  • entity: Entity handle or object

Return value

  • Boolean

Example

// todo

See also