TaskVehicleMissionCoorsTarget — FiveM Natives
0xF0AF20AA7731F8C3 · TASK · all
All parameters except ped, vehicle, x, y, z and speed are optional; with missionType being only those that don't require a target entity. If you don't want to use a parameter; pass 0 for int parameters, and -1.0f for the remaining float parameters.
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The ped to be tasked. |
| vehicle | Vehicle | The vehicles' entity handle. |
| x | float | The x coordinate. |
| y | float | The y coordinate. |
| z | float | The z coordinate. |
| missionType | int | The mission type (default is 0) (see [TaskVehicleMission](#\_0x659427E0EF36BCDE)). |
| speed | float | The speed in m/s. |
| drivingStyle | int | The driving style (default is 0) (see [SetDriveTaskDrivingStyle](#\_0xDACE1BE37D88AF67)). |
| radius | float | The radius of when the task will be completed (default is -1.0f). |
| straightLineDist | float | The distance before the vehicle will drive straight to the target (default is -1.0f). |
| DriveAgainstTraffic | BOOL | Whether the vehicle should drive against traffic (default is false). |
Returns
void