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

Player::getPlayerTargetEntity

Материал из RAGE MP Wiki Archive
Версия от 21:29, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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

Syntax

<syntaxhighlight lang="javascript">mp.game.player.getPlayerTargetEntity(entity);</syntaxhighlight>

Required Arguments

  • entity: Entity handle or object

Return value

  • Boolean

Example

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

See also