Installation

Get Vehicle Keys running: unzip it, paste the items, add it to server.cfg, then finish in game.

In-development version. These docs cover the testing build of VehicleKeys. The official release is still documented on the GitBook linked in its README.

You need Newb_Bridge, ox_lib 3.40.2 or newer, oxmysql and an inventory the bridge supports. Start Vehicle Keys after all of them. The full list is on Requirements.

Unzip it

Put the MrNewbVehicleKeys folder in your resources folder. There is no SQL file to import, because the tables are created the first time it starts.

Add the items

Paste the item list for your inventory from Item setup, then copy the pictures from Item images. Each inventory has its own file in [INSTALL]/items/. For Kora the records are also on the Item setup page.

Add it to server.cfg

ensure ox_lib
ensure oxmysql
ensure qbx_core          # or qb-core / es_extended
ensure ox_inventory      # or your inventory
ensure Newb_Bridge
ensure MrNewbVehicleKeys

Restart and run the setup

Restart the server, join as an admin and type /setupkeys. The first time, it asks one question per page and suggests an answer for each. Take the suggestion or change it, then press Save.

To check it worked, give yourself a key and press L next to the car.

Optional extras

Where next

On this page