| Property | Value |
|---|---|
| Native Name | BRING_VEHICLE_TO_HALT |
| Hash | 0x260BE8F09E326A20 |
| Return Type | void |
| Parameters | vehicle (Vehicle), distance (float), duration (int), bControlVerticalVelocity (BOOL) |
Description: This native makes the vehicle stop immediately, as it happens when we enter a multiplayer garage.
Parameters
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) —falseby default which allows gravity to act normally in the z direction. Enable this option to halt the vehicle's vertical velocity as well.