# PLAYER::GET_PLAYERS_LAST_VEHICLE

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

## Signature

```c
Vehicle GET_PLAYERS_LAST_VEHICLE();
```

## Returns

`Vehicle`

## Usage

### Lua

```lua
local retval = GetPlayersLastVehicle()

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

### JavaScript

```js
const retval = GetPlayersLastVehicle();

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

### C#

```csharp
int retval = Function.Call<int>((Hash)0x2F96E7720B0B19EA);
```

*Sources: alloc8or RDR3 NativeDB.*
