TaskFollowPointRoute — FiveM Natives
0x595583281858626E · TASK · all
Makes the ped go on a point route. ``cpp enum eFollowPointRouteMode { TICKET_SINGLE = 0, TICKET_RETURN = 1, TICKET_SEASON = 2, TICKET_LOOP = 3 } ` This native is often times used with TASK_FLUSH_ROUTE and TASK_EXTEND_ROUTE`
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The ped to give the task to. |
| speed | float | The speed to move at in m/s. |
| routeMode | int | The route mode to use, refer to `eFollowPointRouteMode` |
Returns
void