A robust and modern vehicle storage system for the QBCore framework. This resource offers a clean, efficient way for players to store, retrieve, and manage their personal vehicles across the map, featuring a focus on performance and visual clarity.
- Persistent Vehicle Storage: Saves vehicle state (damage, fuel, body health) between sessions.
- Modern UI: Clean and intuitive list interface for browsing stored vehicles.
- Visual Previews: Displays vehicle names, plates, and current status (Stored/Out/Seized).
- Public & Job Garages: Support for shared public garages and restricted job-specific parking lots.
- Impound System: Integrated impound functionality for vehicle recovery after police seizures.
- Optimized for QBCore: Seamlessly interacts with the
player_vehiclestable for data integrity.
thd_garages follows the AstraV design system:
- Clean Layout: Minimalist lists that make finding your vehicle easy even with a large collection.
- Emerald Highlights: Status indicators (Stored/Impounded) use clear, color-coded themes.
- QBCore Framework
- oxmysql
- qb-target (optional, but recommended for interaction points)
- Drag the
thd_garagesfolder into yourresources/[thd]directory. - Add the following to your
server.cfg:ensure thd_garages
- Ensure your
player_vehiclestable exists in the database (standard QBCore setup).
Define garage locations and types in config.lua:
Config = {}
Config.Garages = {
["LegionSquare"] = {
label = "Legion Square Garage",
type = "public",
coords = vector3(215.12, -810.15, 30.73),
spawnPoint = vector4(224.15, -805.12, 30.50, 335.0),
},
-- ... more garages
}- Approach a garage blip or interaction point.
- Use Targeting (Alt) or press [E] to "Open Garage".
- Select your vehicle from the list to spawn it at the designated location.
- To store, drive your vehicle into the garage zone and select "Store Vehicle".