TaskVehicleDriveToCoord — RedM Natives
0xE2A2AA2F659D77A7 · TASK · all
`` stopRange: how close vehicle will get to destination before stopping, default 4.0 straightLineDist: distance at which AI switches to heading for target directly instead of following nodes, default -1 ``
Parameters
| Name | Type |
|---|---|
| ped | Ped |
| vehicle | Vehicle |
| x | float |
| y | float |
| z | float |
| speed | float |
| style | Any |
| vehicleModel | Hash |
| drivingMode | int |
| stopRange | float |
| straightLineDist | float |
Returns
void