> For the complete documentation index, see [llms.txt](https://documentation.jaksam-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.jaksam-scripts.com/vehicles-keys/client/switch-vehicle-lock.md).

# Switch vehicle lock

Triggering this event (from client side) will switch the lock of the vehicle with that plate, so it will remove all keys to other players that the vehicle owner has previously shared

### Event

```lua
TriggerServerEvent("vehicles_keys:switchLock", plate)
```

### Parameters

| Name    | Data Type | Description              |
| ------- | --------- | ------------------------ |
| `plate` | string    | The plate of the vehicle |
