---
title: "GetPlayerLastSyncedVehicleID | open.mp"
description: "Gets the player's last synced vehicle ID."
canonical: https://omp.itsneufox.com/it/docs/scripting/functions/GetPlayerLastSyncedVehicleID
language: it
---

# GetPlayerLastSyncedVehicleID

warning

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

warning

This function has not yet been implemented.

## Description

Gets the player's last synced vehicle ID.

## Parameters

| Name | Description |
| --- | --- |
| playerid | The ID of the player. |

## Return Values

Returns the last synced vehicle ID.

## Examples

```c
new vehicleid = GetPlayerLastSyncedVehicleID(playerid);
```

## Related Functions

-   [GetPlayerLastSyncedTrailerID](https://omp.itsneufox.com/it/docs/scripting/functions/GetPlayerLastSyncedTrailerID): Gets the player's last synced trailer ID.
