Player::taskAchieveHeading

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Makes the specified ped achieve the specified heading.

pedHandle: The handle of the ped to assign the task to.
heading: The desired heading.
timeout: The time, in milliseconds, to allow the task to complete. If the task times out, it is cancelled, and the ped will stay at the heading it managed to reach in the time.

Syntax

player.taskAchieveHeading(heading, timeout);

Required Arguments

  • heading: float
  • timeout: int

Return value

  • Undefined

Example

// todo

See also