BringVehicleToHalt — FiveM Natives
0x260BE8F09E326A20 · VEHICLE · all
This native makes the vehicle stop immediately, as it happens when we enter a multiplayer garage.
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | The vehicle to stop. |
| distance | float | The distance from the initial coords at which the vehicle should come to rest. |
| duration | int | The length of time in seconds to hold the car at rest after stopping. |
| bControlVerticalVelocity | BOOL | `false` by default which allows gravity to act normally in the z direction. Enable this option to halt the vehicle's vertical velocity as well. |
Returns
void