Player::taskSweepAim

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

player.taskSweepAim(anim, p2, p3, p4, p5, vehicle, p7, p8);

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

// todo

See also