# VEHICLE::_GET_PED_IN_DRAFT_HARNESS

- **Hash:** `0xA8BA0BAE0173457B`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `GetPedInDraftHarness`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/_GET_PED_IN_DRAFT_HARNESS

## Signature

```c
Ped _GET_PED_IN_DRAFT_HARNESS(Vehicle vehicle, int harnessId);
```

## Parameters

- `vehicle` (`Vehicle`)
- `harnessId` (`int`)

## Returns

`Ped`

## Description

enum eDraftHarness
{
	DRAFT_HARNESS_LR,
	DRAFT_HARNESS_RR,
	DRAFT_HARNESS_LM,
	DRAFT_HARNESS_RM,
	DRAFT_HARNESS_LF,
	DRAFT_HARNESS_RF,
	DRAFT_HARNESS_COUNT
};

## Usage

### Lua

```lua
local retval = GetPedInDraftHarness(vehicle, harnessId)

-- always available, by hash
local retval = Citizen.InvokeNative(0xA8BA0BAE0173457B, vehicle, harnessId, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetPedInDraftHarness(vehicle, harnessId);

// by hash
const retval = Citizen.invokeNative('0xA8BA0BAE0173457B', vehicle, harnessId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xA8BA0BAE0173457B, vehicle, harnessId);
```

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