# PED::IS_PED_SITTING_IN_ANY_VEHICLE

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

## Signature

```c
BOOL IS_PED_SITTING_IN_ANY_VEHICLE(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`BOOL`

## Description

Detect if ped is in any vehicle
[True/False]

## Usage

### Lua

```lua
local retval = IsPedSittingInAnyVehicle(ped)

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

### JavaScript

```js
const retval = IsPedSittingInAnyVehicle(ped);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
