> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_police/integrations/keys.md).

# Keys

The keys bridge is used for vehicle key ownership when officers spawn/store patrol vehicles.

## 🔎 Auto Detection

```lua
Config.Keys = AUTO_DETECT
```

Auto-detection priority (first match wins): `ZYKE` → `RCORE` → `WASABI` → `OKOK` → `FIVECODE` → `RENEWED` → `CD` → `QS` → `XD`.

Override with the matching constant if detection picks the wrong one:

| Constant        | Resource                                                |
| --------------- | ------------------------------------------------------- |
| `Keys.ZYKE`     | `zyke_garages`                                          |
| `Keys.RCORE`    | `rcore_garage`                                          |
| `Keys.WASABI`   | `wasabi_carlock`                                        |
| `Keys.OKOK`     | `okokGarage`                                            |
| `Keys.FIVECODE` | `fivecode_carkeys`                                      |
| `Keys.RENEWED`  | `Renewed-VehicleKeys`                                   |
| `Keys.CD`       | `cd_garage`                                             |
| `Keys.QS`       | `qs-vehiclekeys`                                        |
| `Keys.XD`       | `xd_locksystem`                                         |
| `Keys.QB`       | `qb-vehiclekeys`                                        |
| `Keys.JAKSAM`   | `vehicles_keys`                                         |
| `Keys.MK`       | `mk_vehiclekeys`                                        |
| `Keys.MR_NEWB`  | `MrNewbVehicleKeys`                                     |
| `Keys.NONE`     | No keys resource found - you will need to integrate it. |
