We hereby present our custom and advanced vehicle locks script for your fivem server.
Features
- Chance to alarm the police during lockpicking depending on the time of day.
- The ability to add vehicle models to which everyone with a specific job can lock or unlock.
- The ability to improve the locks of owned vehicles (by mechanics after setting the selected job in the config), which makes it difficult to break into the vehicle.
- Chance of a lockpick breaking on a failed lockpicking attempt.
- Responsive and animated vehicle locking and unlocking.
- Chance to activate the vehicleâs alarm.
- Possibility to add a co-owner of the vehicle who will be able to open or close the vehicle.
- Possibility to set custom difficulty for owned vehicles.
- Gives keys to all currently owned vehicles on player spawn.
- Skill check for lockpicking vehicles (Difficulty based on vehicle class).
- Full sync between clients.
- The script is completely customizable, and you can enable or disable most functions.
- Works with ESX and QBCore
- Resmon usage is 0.00 and 0.01-0.02 on use.
Updates
-
05.09.2023 Version 1.1.0
- Added update checker
- Added compatibility for some events and exports with qb-vehiclekeys so that the transition does not require major changes.
- Fixed a bug that caused the character to break the vehicle window when getting in and opening the car.
-
14.02.2024 Version 1.2.0
-
Assigning Keys to Multiple Players:
- Using the AddVehicleKeys export, keys can now be assigned to multiple players simultaneously.
-
Export for Removing Vehicle Keys:
- Added the RemoveVehicleKeys export, allowing removal of keys from a vehicle.
- Example usage:
exports['r_vehiclelocks']:RemoveVehicleKeys(vehicle)
-
Export for Setting Vehicle Lock State:
- Example usage:
exports['r_vehiclelocks']:SetVehicleLockState(vehicle, true) -- Lock the vehicle
exports['r_vehiclelocks']:SetVehicleLockState(vehicle, false) -- Unlock the vehicle
-
Improved the efficiency of database queries.
-
Dependecies
- QB-Core or ESX
- oxmysql
- ox_target or qtarget or qb-target
- ox_lib
You can buy this script from tebex
Support
- If you require support, just drop a message below and I will try to get back to you as soon as possible.
When you buy now, you will receive all future updates
OTHER RESOURCES
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | +1000 |
Requirements | Requirements |
Support | Yes |