Skip to main content

Player::taskHandsUp

In the scripts, p3 was always -1.

p3 seems to be duration or timeout of turn animation. Also facingPed can be 0 or -1 so ped will just raise hands up. If p3 is 0 and there is no facingPed, the player will face north.

Syntax

``` player.taskHandsUp(duration, facingPed, p3, p4); ```

Required Arguments

  • duration: int
  • facingPed: Ped handle or object
  • p3: int
  • p4: Boolean

Return value

  • Undefined

Example

See also