> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get if local player owns a plate

> Check if the local player owns a specific vehicle plate.

This export can be used to know if **the local player** owns a vehicle plate. It will also check shared, temporary, etc.

```lua Export theme={null}
exports["vehicles_keys"]:doesPlayerOwnPlate(plate)
```

### Parameters

| Name    | Data Type | Description                |
| ------- | --------- | -------------------------- |
| `plate` | string    | The vehicle plate to check |

### Return

`true` if the vehicle is owned.

`false` if the vehicle is not owned.

## Example

```lua theme={null}
RegisterCommand("checkPlate", function(_, args)
    local plate = args[1] -- Example "ABC 123"

    if(exports["vehicles_keys"]:doesPlayerOwnPlate(plate)) then
        print("I own this vehicle plate")
    else
        print("I DO NOT own this vehicle plate")
    end
end)
```


## Related topics

- [Client](/vehicles-keys/client/index.md)
- [Get if player ID owns a plate](/vehicles-keys/server/get-if-player-id-owns-a-plate.md)
- [Get owned plates of local player](/vehicles-keys/client/get-owned-plates-of-local-player.md)
- [Get if player is owner of vehicle plate](/jobs-creator/server/buyable-vehicles/get-if-player-is-owner-of-vehicle-plate.md)
- [Get if local player is handcuffed](/jobs-creator/client/actions/get-if-local-player-is-handcuffed.md)
