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

Player::taskAimGunAt

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

duration: the amount of time in milliseconds to do the task. -1 will keep the task going until either another task is applied, or CLEAR_ALL_TASKS() is called with the ped

Syntax

<syntaxhighlight lang="javascript">player.taskAimGunAt(entity, duration, p3);</syntaxhighlight>

Required Arguments

  • entity: Entity handle or object
  • duration: int
  • p3: Boolean

Return value

  • Undefined

Example

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

See also