This script includes mono_carkeys ([ deprecated ] MONO_CARKEYS Item ( LockPick - HotWire - Plate Change ) [17/10/2023])
New version that replaces this one!
Features Garage
-
Work with radial menu from ox_lib or ox_target
-
Persistent vehicles.
-
Share vehicles with colleagues, including a list to manage shared access to the vehicle.
-
Garage for independent work.
-
Generate a key when removing the vehicle from the garage and delete it when returning to the garage.
-
4 types of garages: āairā, ācarā, āboatā, āallā.
-
Vehicle impound system and recovery points.
-
- Now you can set up a society and a job for the impound, leave an example with police work in config_garage.lua. ( New 12/7/2023 )
-
Vehicle mileage is stored in the database and can be viewed in the garage.
-
Garage.RadialCopyCoords: Radial menu to copy coordinates and easily create garages. (Only use this on your development server!)
-
Command to add a vehicle to the database as the owner.
-
Allows vehicles that are outside the garage and the entity is not present in the world to be sent directly to the impound.
Features CarKeys
-
Turn on and off the vehicle engine using the corresponding assigned key to the vehicle (optional, Keys.Engine).
-
You can hold down the F key when exiting the vehicle to keep the engine running, if you have the vehicle keys. (Optional, Keys.OnExitCar)
-
Retrieve lost keys through an NPC that can be easily added in the Config.lua file.(In the config.lua file, you can edit the NPC to acquire the license plate. Keep in mind that if you set BuyNewPlate to true, the NPC will only sell license plates and not keys)
-
Administrators can create keys for the vehicle they are in, as well as for other players using their ID.
-
NPC-owned vehicles will be parked with their doors closed, and will be turned off if opened.
-
Lockpicking system with skill check, allowing players to force entry into vehicles (includes a function in the Config.lua file to optionally add a dispatch system).
-
Includes a tool called āWire Cuttersā with skill check, allowing players to hotwire previously forced vehicles (optional).
-
The license plate item allows the player to customize both the color and the license plate of their vehicle. (This will change the license plate in the database)
-
Keybind to open/close the vehicle. (Default key is U, can be changed in the Config.lua file.)
-
Keybind to turn on/off the engine. (Default key is M, can be changed in the Config.lua file. Optional)
Download
ā GitHub - Mono-94/mono_garage: MONO GARAGE
Dependencies
-
ox_inventory - Releases Ā· overextended/ox_inventory Ā· GitHub
-
ox_target - Releases Ā· overextended/ox_target Ā· GitHub
Install
If you use mono_carkeys delete it as this script contains the key system. ![:warning: :warning:](https://forum.cfx.re/images/emoji/twitter/warning.png?v=12)
THIS SCRIPT WORKS WITH BUILD 2699 OR HIGHER! ![:warning: :warning:](https://forum.cfx.re/images/emoji/twitter/warning.png?v=12)
-
1 - Add sql in database.
-
2 - āensure mono_garageā in server.cfg.
I will only give support on Bugs of my script. You can contact me on GitHub.