Перейти к содержанию

Player::getTarget

Материал из RAGE MP Wiki Archive

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

Syntax

<syntaxhighlight lang="javascript">player.getTarget(entity);</syntaxhighlight>

Required Arguments

  • entity: Entity handle or object

Return value

  • Boolean

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also