DW-Garages is a premium, feature-rich vehicle garage management system for QBCore FiveM servers. Take your server's vehicle management to the next level with advanced features, seamless UI, and comprehensive options.
- Beautiful UI Interface - Clean, intuitive interface for easy vehicle management
- Multiple Garage Types:
- Public garages for personal vehicles
- Job-specific garages with custom vehicle lists
- Gang garages with shared vehicles
- Impound system with fees and retrieval
- Shared Garages - Create and manage garages shared between players
- Vehicle Transfer System - Transfer vehicles between different garages with animated delivery service
- Advanced Vehicle Storage - Fade in/out animations and visual indicators for vehicle storage
- Favorites System - Mark your most-used vehicles for quick access
- Custom Vehicle Names - Rename your vehicles for easy identification
- Search Functionality - Quickly find specific vehicles in large collections
- Category Filtering - Filter by vehicle type, favorites, or ownership
- Impound System - Full impound functionality for law enforcement with reason logging and fees
- Full Customization - Easily configure all aspects through the config.json file
- QBCore Framework
- oxmysql
- LegacyFuel (or compatible fuel script)
- Download the resource
- Extract to your resources folder
- Rename the folder to
dw-garages
⚙️ Configuration Basic Configuration Options
Config = {
UseTarget = false, -- Use qb-target instead of DrawText3D
VehicleSpawnDistance = 5.0, -- Distance to spawn vehicles from the garage point
TransferCost = 500, -- Cost to transfer vehicles between garages
EnableTransferAnimation = true, -- Enable/disable the transfer truck animation
EnableImpound = true, -- Enable the impound system
ImpoundFee = 500 -- Base fee for impound retrieval
}Adding New Garages To add a new garage, add a new entry to the Config.Garages table in config.lua:
Config.Garages = {
yourgarage = {
label = 'Your New Garage',
coords = vector4(215.9, -810.65, 30.73, 339.54),
type = 'public',
spawnPoints = {
vector4(222.89, -804.16, 30.15, 248.0),
vector4(224.51, -798.82, 30.15, 248.0)
},
transferSpawn = vector4(195.4, -825.3, 30.2, 340.0),
transferArrival = vector4(213.2, -799.8, 30.1, 250.0),
transferExit = vector4(178.5, -833.6, 30.8, 160.0)
}
}Adding Job Vehicles` To add vehicles to job garages, edit the Config.JobGarages table:
Config.JobGarages = {
police = {
label = 'Police Garage',
coords = vector4(454.6, -1017.4, 28.4, 90.0),
type = 'job',
job = 'police',
spawnPoint = vector4(438.4, -1018.3, 27.7, 90.0),
vehicles = {
newvehicle = {
label = 'New Police Vehicle',
model = 'policeb',
icon = '🏍️'
}
}
}
}Blip Settings Garage blip settings can be configured inside:
Config.GarageBlip = {
Enable = true,
Sprite = 357,
Color = 3,
Scale = 0.7,
Display = 4,
ShortRange = true
}Run the included SQL file in your database:
-- Import through your database management tool or run:
mysql -u username -p yourdb < dw-garages.sqlAdd the following to your server.cfg:
ensure dw-garages
- Start your server
- Check the server console for any error messages
- In-game, visit any garage location to verify the script is working
Basic Configuration Options lua Copy Edit Config = { UseTarget = false, -- Use qb-target instead of DrawText3D VehicleSpawnDistance = 5.0, -- Distance to spawn vehicles from the garage point TransferCost = 500, -- Cost to transfer vehicles between garages EnableTransferAnimation = true, -- Enable/disable the transfer truck animation EnableImpound = true, -- Enable the impound system ImpoundFee = 500 -- Base fee for impound retrieval } Adding New Garages To add a new garage, add a new entry to the Config.Garages table in config.lua:
bash Copy Edit Config.Garages = { yourgarage = { label = 'Your New Garage', coords = vector4(215.9, -810.65, 30.73, 339.54), type = 'public', spawnPoints = { vector4(222.89, -804.16, 30.15, 248.0), vector4(224.51, -798.82, 30.15, 248.0) }, transferSpawn = vector4(195.4, -825.3, 30.2, 340.0), transferArrival = vector4(213.2, -799.8, 30.1, 250.0), transferExit = vector4(178.5, -833.6, 30.8, 160.0) } } Adding Job Vehicles To add vehicles to job garages, edit the Config.JobGarages table:
bash Copy Edit Config.JobGarages = { police = { label = 'Police Garage', coords = vector4(454.6, -1017.4, 28.4, 90.0), type = 'job', job = 'police', spawnPoint = vector4(438.4, -1018.3, 27.7, 90.0), vehicles = { newvehicle = { label = 'New Police Vehicle', model = 'policeb', icon = '🏍️' } } } } Blip Settings Garage blip settings can be configured inside:
pgsql Copy Edit Config.GarageBlip = { Enable = true, Sprite = 357, Color = 3, Scale = 0.7, Display = 4, ShortRange = true }
When editing the config.json file:
- Always use double quotes for keys and string values
- Do not leave trailing commas after the last item in arrays or objects
- Validate your JSON using a tool like JSONLint
- Coordinates must follow the format:
{"x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0} - Save the file in UTF-8 encoding
- Visit any garage location to access your personal vehicles
- Use the interface to retrieve or store vehicles
- Mark favorites for quick access
- Rename vehicles for easy identification
- Transfer vehicles between garages
- Access job-specific vehicles from your job's garage
- Job vehicles are automatically available based on your job
- Share vehicles with your gang members
- Store and retrieve gang vehicles
- Create a shared garage from the garage interface
- Share the access code with friends to give them access
- Manage members through the interface
- Law enforcement can use
/impound [fee]to impound vehicles - Players must pay the fee to recover their impounded vehicles
- Verify that config.json exists and is correctly formatted
- Check for JSON syntax errors using a validator
- Ensure your database is properly set up with the SQL file
- Check if the player owns the vehicles
- Verify garage coordinates are correct
- Check job/gang configurations match your server's job/gang names
- Verify that players have the correct permissions
For support with this resource:
- Discord: discord.gg/7Ds8V64fk8
This resource is FREE for the community. You may use and modify it as you wish, but please respect the following:
- Do not redistribute as paid content
- Maintain credits to original author
- Share improvements with the community
Thank you for purchasing DW-Garages! We hope you enjoy the resource.