Horizon Vehicle Lock
Last updated
Last updated
Closed Source:
Open Source:
Click to watch the preview video.
Drop the horizon_vehiclelock folder into your server resources folder.
You need to use the resources in the [DEPENDENCIES] folder (which you can download here: https://mega.nz/folder/TSoSUSJY#B0yjWqidvEFOfJYwF90epQ) for all functions to work, so you will need to move the files from the [DEPENDENCIES] folder to the server's resource folder. (If you want to use the script with resources other than the ones we provide, please contact us and we will help you set up the resource you use, if possible.)
Upload all SQL files from the esx_advancedgarage folder and the esx_vehicleshop folder.
Add this line to your server.cfg:
start horizon_vehiclelock
start esx_advancedgarage
start esx_inventoryhud
start esx_vehicleshop
Restart your server.
es_extended
pNotify (if Config.Notification is set to true, https://github.com/Nick78111/pNotify)
The operation of the script has been changed: from now on, a unique key item is not required for each vehicle and there will be a single key item that will control all the accessible vehicles
Players will have automatic access to the vehicles they own
Players will have access to other players' vehicles after linking their key to the vehicle using the configured command
The vehicle owner can delete the pairings associated with their vehicle at any time using the configured command
In case of multiple nearby vehicles, the key will now only control the vehicle closest to the player
The autounlock and autolock features can now be reactivated by pressing the "lock" button again if the vehicle is already locked or by pressing the "unlock" button again if the vehicle is already unlocked
Locking the vehicle will now also arm the alarm, which will be triggered if a collision, theft or other suspicious activity is detected
The keys will work immediately with newly purchased vehicles.
The notification system has been changed
Mandatory dependencies are no longer necessary for the script to function ensuring wider compatibility
More configuration options have been added
Script version check has been added
Fixed an issue that caused vehicle cracking to not start for some vehicle types