From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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.


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

Required Arguments

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

Return value

  • Undefined


// This will place hands up constantly
var localPlayer = mp.players.local;

localPlayer.taskHandsUp(-1, localPlayer.handle, 0, false);

See also