Перейти к содержанию

Player::taskPutDirectlyIntoCover

Материал из RAGE MP Wiki Archive

Syntax

<syntaxhighlight lang="javascript">player.taskPutDirectlyIntoCover(x, y, z, timeout, p5, p6, p7, p8, p9, p10);</syntaxhighlight>

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

<syntaxhighlight lang="javascript"> var localPlayer = mp.players.local; localPlayer.taskPutDirectlyIntoCover(localPlayer.position.x, localPlayer.position.y, localPlayer.position.z, 5000, false, 0, true, false, 1, false); </syntaxhighlight>

See also