# VEHICLE::SET_VEHICLE_DOOR_SHUT

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

## Signature

```c
void SET_VEHICLE_DOOR_SHUT(Vehicle vehicle, int doorId, BOOL closeInstantly);
```

## Parameters

- `vehicle` (`Vehicle`)
- `doorId` (`int`)
- `closeInstantly` (`BOOL`)

## Returns

`void`

## Description

doorId: enum eDoorId
{
	VEH_EXT_DOOR_INVALID_ID = -1,
	VEH_EXT_DOOR_DSIDE_F,
	VEH_EXT_DOOR_DSIDE_M,
	VEH_EXT_DOOR_DSIDE_M1,
	VEH_EXT_DOOR_DSIDE_M2,
	VEH_EXT_DOOR_DSIDE_R,
	VEH_EXT_DOOR_PSIDE_F,
	VEH_EXT_DOOR_PSIDE_M,
	VEH_EXT_DOOR_PSIDE_M1,
	VEH_EXT_DOOR_PSIDE_M2,
	VEH_EXT_DOOR_PSIDE_R,
	VEH_EXT_BONNET,
	VEH_EXT_BOOT
};

## Usage

### Lua

```lua
SetVehicleDoorShut(vehicle, doorId, closeInstantly)

-- always available, by hash
Citizen.InvokeNative(0x6A3C24B91FD0EA09, vehicle, doorId, closeInstantly)
```

### JavaScript

```js
SetVehicleDoorShut(vehicle, doorId, closeInstantly);

// by hash
Citizen.invokeNative('0x6A3C24B91FD0EA09', vehicle, doorId, closeInstantly);
```

### C#

```csharp
Function.Call((Hash)0x6A3C24B91FD0EA09, vehicle, doorId, closeInstantly);
```

## Related enums

- [eDoorId](https://natives.borderlinerp.com/enums/eDoorId.md) — 13 values

*Sources: alloc8or RDR3 NativeDB.*
