# VEHICLE::BRING_VEHICLE_TO_HALT

- **Hash:** `0x260BE8F09E326A20`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `BringVehicleToHalt`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/BRING_VEHICLE_TO_HALT

## Signature

```c
void BRING_VEHICLE_TO_HALT(Vehicle vehicle, float distance, int duration, BOOL unknown);
```

## Parameters

- `vehicle` (`Vehicle`)
- `distance` (`float`)
- `duration` (`int`)
- `unknown` (`BOOL`)

## Returns

`void`

## Description

This native makes the vehicle stop immediately

distance defines how far it will travel until stopping.

## Usage

### Lua

```lua
BringVehicleToHalt(vehicle, distance, duration, unknown)

-- always available, by hash
Citizen.InvokeNative(0x260BE8F09E326A20, vehicle, distance, duration, unknown)
```

### JavaScript

```js
BringVehicleToHalt(vehicle, distance, duration, unknown);

// by hash
Citizen.invokeNative('0x260BE8F09E326A20', vehicle, distance + 0.0000001, duration, unknown);
```

### C#

```csharp
Function.Call((Hash)0x260BE8F09E326A20, vehicle, distance, duration, unknown);
```

- 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.*
