Skip to main content

Player::taskSweepAim

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

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