# PED::IS_PED_IN_VEHICLE

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

## Signature

```c
BOOL IS_PED_IN_VEHICLE(Ped ped, Vehicle vehicle, BOOL atGetIn);
```

## Parameters

- `ped` (`Ped`)
- `vehicle` (`Vehicle`)
- `atGetIn` (`BOOL`)

## Returns

`BOOL`

## Description

Gets a value indicating whether the specified ped is in the specified vehicle.

## Usage

### Lua

```lua
local retval = IsPedInVehicle(ped, vehicle, atGetIn)

-- always available, by hash
local retval = Citizen.InvokeNative(0xA3EE4A07279BB9DB, ped, vehicle, atGetIn, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsPedInVehicle(ped, vehicle, atGetIn);

// by hash
const retval = Citizen.invokeNative('0xA3EE4A07279BB9DB', ped, vehicle, atGetIn, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xA3EE4A07279BB9DB, ped, vehicle, atGetIn);
```

*Sources: alloc8or RDR3 NativeDB.*
