Player::taskPutDirectlyIntoCover

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Syntax

player.taskPutDirectlyIntoCover(x, y, z, timeout, p5, p6, p7, p8, p9, p10);

Required Arguments

  • x: float
  • y: float
  • z: float
  • timeout: time in milliseconds
  • p5: Boolean
  • p6: float
  • p7: Boolean
  • p8: Boolean
  • p9: number(needs to be checked but doesn't argue with a number.)
  • p10: Boolean

Return value

  • Undefined

Example

var localPlayer = mp.players.local;
localPlayer.taskPutDirectlyIntoCover(localPlayer.position.x, localPlayer.position.y, localPlayer.position.z, 5000, false, 0, true, false, 1, false);

See also