# VEHICLE::IS_ENTRY_POINT_FOR_SEAT_CLEAR

- **Hash:** `0x80DDCCB2F4A3EB57`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `IsEntryPointForSeatClear`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/IS_ENTRY_POINT_FOR_SEAT_CLEAR

## Signature

```c
BOOL IS_ENTRY_POINT_FOR_SEAT_CLEAR(Ped ped, Vehicle vehicle, int seatIndex, BOOL side, BOOL onEnter);
```

## Parameters

- `ped` (`Ped`)
- `vehicle` (`Vehicle`)
- `seatIndex` (`int`)
- `side` (`BOOL`)
- `onEnter` (`BOOL`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsEntryPointForSeatClear(ped, vehicle, seatIndex, side, onEnter)

-- always available, by hash
local retval = Citizen.InvokeNative(0x80DDCCB2F4A3EB57, ped, vehicle, seatIndex, side, onEnter, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsEntryPointForSeatClear(ped, vehicle, seatIndex, side, onEnter);

// by hash
const retval = Citizen.invokeNative('0x80DDCCB2F4A3EB57', ped, vehicle, seatIndex, side, onEnter, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x80DDCCB2F4A3EB57, ped, vehicle, seatIndex, side, onEnter);
```

*Sources: alloc8or RDR3 NativeDB.*
