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

Player::taskGotoAiming

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

eg

Player::TASK_GOTO_ENTITY_AIMING(v_2, PLAYER::PLAYER_Player_ID(), 5.0, 25.0);

ped = Ped you want to perform this task.
target = the Entity they should aim at.
distanceToStopAt = distance from the target, where the ped should stop to aim.
StartAimingDist = distance where the ped should start to aim.

Syntax

<syntaxhighlight lang="javascript">player.taskGotoAiming(target, distanceToStopAt, StartAimingDist);</syntaxhighlight>

Required Arguments

  • target: Entity handle or object
  • distanceToStopAt: float
  • StartAimingDist: float

Return value

  • Undefined

Example

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

See also