# TASK::TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING

- **Hash:** `0x3123FAA6DB1CF7ED`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `TaskVehicleFollowWaypointRecording`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING

## Signature

```c
void TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING(Ped ped, Vehicle vehicle, const char* waypointRecording, int drivingMode, Any p4, int eWaypoint, int flag, float p7, BOOL p8, float stoppingDist, Any p10);
```

## Parameters

- `ped` (`Ped`)
- `vehicle` (`Vehicle`)
- `waypointRecording` (`const char*`)
- `drivingMode` (`int`)
- `p4` (`Any`)
- `eWaypoint` (`int`)
- `flag` (`int`)
- `p7` (`float`)
- `p8` (`BOOL`)
- `stoppingDist` (`float`)
- `p10` (`Any`)

## Returns

`void`

## Usage

### Lua

```lua
TaskVehicleFollowWaypointRecording(ped, vehicle, waypointRecording, drivingMode, p4, eWaypoint, flag, p7, p8, stoppingDist, p10)

-- always available, by hash
Citizen.InvokeNative(0x3123FAA6DB1CF7ED, ped, vehicle, waypointRecording, drivingMode, p4, eWaypoint, flag, p7, p8, stoppingDist, p10)
```

### JavaScript

```js
TaskVehicleFollowWaypointRecording(ped, vehicle, waypointRecording, drivingMode, p4, eWaypoint, flag, p7, p8, stoppingDist, p10);

// by hash
Citizen.invokeNative('0x3123FAA6DB1CF7ED', ped, vehicle, waypointRecording, drivingMode, p4, eWaypoint, flag, p7 + 0.0000001, p8, stoppingDist + 0.0000001, p10);
```

### C#

```csharp
Function.Call((Hash)0x3123FAA6DB1CF7ED, ped, vehicle, waypointRecording, drivingMode, p4, eWaypoint, flag, p7, p8, stoppingDist, p10);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.

*Sources: alloc8or RDR3 NativeDB.*
