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

Player::taskSweepAim

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

This function is called on peds in vehicles.

anim: animation name
p2, p3, p4: 'sweep_low', 'sweep_med' or 'sweep_high'
p5: no idea what it does but is usually -1

Syntax

<syntaxhighlight lang="javascript">player.taskSweepAim(anim, p2, p3, p4, p5, vehicle, p7, p8);</syntaxhighlight>

Required Arguments

  • anim: String
  • p2: String
  • p3: String
  • p4: String
  • p5: int
  • vehicle: Vehicle handle or object
  • p7: float
  • p8: float

Return value

  • Undefined

Example

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

See also