# VEHICLE::_SET_DRAFT_VEHICLE_ANIMALS_CAN_DETACH

- **Hash:** `0x6090A031C69F384E`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `SetDraftVehicleAnimalsCanDetach`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/_SET_DRAFT_VEHICLE_ANIMALS_CAN_DETACH

## Signature

```c
void _SET_DRAFT_VEHICLE_ANIMALS_CAN_DETACH(Vehicle draft, BOOL canDetach);
```

## Parameters

- `draft` (`Vehicle`)
- `canDetach` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetDraftVehicleAnimalsCanDetach(draft, canDetach)

-- always available, by hash
Citizen.InvokeNative(0x6090A031C69F384E, draft, canDetach)
```

### JavaScript

```js
SetDraftVehicleAnimalsCanDetach(draft, canDetach);

// by hash
Citizen.invokeNative('0x6090A031C69F384E', draft, canDetach);
```

### C#

```csharp
Function.Call((Hash)0x6090A031C69F384E, draft, canDetach);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
