# PED::GET_SEAT_PED_IS_TRYING_TO_ENTER

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

## Signature

```c
int GET_SEAT_PED_IS_TRYING_TO_ENTER(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetSeatPedIsTryingToEnter(ped)

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

### JavaScript

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

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
