The Vehicle Key System is a project that provides a key-based vehicle access system using the vehicle's license plate as the identifier. It is designed to work with the ox_lib
and ox_inventory
dependencies, which are essential for its functionality.
- Lock and unlock vehicles using a unique key derived from the license plate.
- Integrates seamlessly with
ESX
,ox_lib
andox_inventory
to ensure smooth performance.
For detailed information on how to use the Vehicle Key System, refer to our documentation.
-
Ensure you have the required dependencies,
ESX
,ox_lib
andox_inventory
, installed in your project. -
Download release
v1.0.0
from the releases -
Add the Vehicle Key System to your server resource folder.
-
start the script into the server.cfg (after ox_inventory, ox_lib and ESX).
-
Start your server, and the system will be ready to use!
To enable the item "Vehicle Key" in ox_inventory
, follow these steps:
-
Open the
ox_inventory/data/items.lua
file in your server. -
Add the following code to the
items
table:
['keys'] = {
label = "Vehicle Key",
weight = 15,
},