Trase Garage - Installation Guide
A comprehensive garage system for FiveM servers supporting ESX, QBCore, and QBX frameworks.Features
- Multi-framework support - ESX, QBCore, and QBX with automatic detection
- Vehicle storage and retrieval - Store and retrieve owned vehicles at garage locations
- Interactive browsing system - Preview vehicles before retrieving them
- Impound system - Vehicle impounding with configurable retrieval fees
- Multi-language support - English, French, and Spanish included
- Configurable locations - Easy setup of garage and impound locations
- Map blips - Optional blips for garages and impounds
- Database integration - MySQL support for vehicle tracking
Requirements
Dependencies
- ox_lib - Required for UI, callbacks, and utility functions
- mysql-async - Required for database operations
- Framework - One of the following:
- ESX Legacy (es_extended)
- QBCore (qb-core)
- QBX (qbx-core)
Database Requirements
Your server must have the appropriate vehicle tables based on your framework:ESX Framework
QBCore/QBX Framework
Installation Steps
1. Download and Extract
2. Install Dependencies
Ensure the following resources are installed and started before trase_garage:3. Database Setup
No additional database setup is required. The script uses your existing framework’s vehicle tables.4. Configuration
Please visit Configuration GuideUsage
For Players
Storing Vehicles
- Drive your vehicle to a garage location
- Look for the blue storage marker
- Press
E
when prompted to store the vehicle - The vehicle will be safely stored in the garage
Retrieving Vehicles
- Walk to a garage entrance marker
- Press
E
to open the garage - Use arrow keys (← →) to browse your stored vehicles
- Press
Enter
to retrieve the selected vehicle - Press
Backspace
to cancel browsing
Impound System
- Go to an impound location
- Press
E
to view impounded vehicles - Browse and select the vehicle to retrieve
- Pay the impound fee to get your vehicle back
For Administrators
Adding New Garages
- Open
config.lua
- Add a new entry to
Config.Garages
- Set the entrance, browse, and storage coordinates
- Restart the resource
Setting Impound Locations
- Configure
Config.Impound.Locations
- Set the retrieval price in
Config.Impound.Price
- Enable/disable with
Config.Impound.Enabled
Localization
The script supports multiple languages. To add a new language:- Create a new file in
locales/
(e.g.,de.json
for German) - Copy the structure from
en.json
- Translate all text strings
- The script will automatically detect and use the locale
Troubleshooting
Common Issues
Script Not Loading
- Ensure all dependencies are installed and started first
- Check console for error messages
- Verify fxmanifest.lua is not corrupted
Database Errors
- Confirm your framework’s vehicle table exists
- Check MySQL connection string in server.cfg
- Verify table column names match your framework
Vehicles Not Appearing
- Ensure vehicles are properly stored in database
- Check vehicle state/stored column values
- Verify player ownership in database
Framework Not Detected
Debug Mode
Enable debug prints by checking server console for framework detection messages:Support
For additional support:- Discord: https://discord.gg/trase
- Issues: Check server console for error messages
- Updates: Visit the Discord for script updates
Version Information
- Script Version: Latest
- Compatible Frameworks: ESX Legacy, QBCore, QBX
- Dependencies: ox_lib, mysql-async
- License: Check license file for terms
This script was created by Trase. For more scripts and updates, visit our Discord community.