Skip to main content

Player::taskFollowPointRoute

MulleKD19: Makes the ped go on the created point route.

ped: The ped to give the task to. speed: The speed to move at in m/s. int: Unknown. Can be 0, 1, 2 or 3.

Example: TASK_FLUSH_ROUTE(); TASK_EXTEND_ROUTE(0f, 0f, 70f); TASK_EXTEND_ROUTE(10f, 0f, 70f); TASK_EXTEND_ROUTE(10f, 10f, 70f); TASK_FOLLOW_POINT_ROUTE(GET_PLAYER_PED(), 1f, 0);

Syntax

```js player.taskFollowPointRoute(speed, unknown); ```

Required Arguments

  • speed: float
  • unknown: int

Return value

  • Undefined

Example

```js // todo ```

See also