Garage System
A guide to install Garage System for FiveM
Overview
Section titled “Overview”The Garage System allows you to configure infinite garages around the map. All these garages can be linked to (framework) roles/groups, allowing you to set up permissions for each individual garage. It’s also possible to configure spawn, camera and showcase positions. This gives you various options for what you desire to do with this garage system! Build it your way!
Key Features
Section titled “Key Features”- Standalone/ESX/QBcore permissions - Flexible framework compatibility
- Configurable garages - Names, vehicles, liveries, extras
- Optional Discord API integration - Discord roles permissions or open access
- Camera view on dynamic vehicle selection - Preview vehicles before spawning
- Configurable language settings - Multi-language support
- Configurable 3D text - Custom text labels
- Configurable markers - Visual indicators
- Configurable camera positioning - Custom camera angles
- Configurable spawn positions per garage - Multiple spawn points
- Configurable garage entry per garage - Flexible entry points
- Configurable blips - Map markers
- Lightweight - Optimized performance
- Usable for almost every purpose - Session-based garage system
- Escrow protection - Secure code
Important Pre-Installation Notes
Section titled “Important Pre-Installation Notes”System Requirements & Compatibility
Section titled “System Requirements & Compatibility”OneSync Compatibility
Section titled “OneSync Compatibility”- OneSync Legacy: Fully tested and compatible
- OneSync Infinity: Fully tested and compatible
Framework Compatibility
Section titled “Framework Compatibility”- ESX: Full compatibility with ESX framework
- QBCore: Full compatibility with QBCore framework
- NS Discord API: Compatible with Discord API integration (included)
- Standalone: Works without any framework
Installation Process
Section titled “Installation Process”Step 1: Download the Resource
Section titled “Step 1: Download the Resource”- Access CFX Portal
- Go to CFX Portal Assets
- Find “Garage System” in your granted assets
- Download the ZIP package
Step 2: Extract and Transfer
Section titled “Step 2: Extract and Transfer”-
Extract the ZIP file
- Unpack the downloaded ZIP package to a local folder
- Ensure all files are properly extracted
-
Transfer to Server
- Set your FTP client to binary transfer mode
- Upload the
night_garage_systemfolder to your server’sresourcesdirectory - Maintain the original folder structure
Step 3: Server Configuration
Section titled “Step 3: Server Configuration”Add the following line to your server.cfg file:
ensure night_garage_systemConfiguration Setup
Section titled “Configuration Setup”Required Tools
Section titled “Required Tools”Configuration Files
Section titled “Configuration Files”| File | Purpose |
|---|---|
night_garage_system/config/config.lua |
Main configuration settings |
night_garage_system/client/c_functions.lua |
Client-side functions |
night_garage_system/server/s_functions.lua |
Server-side functions |
Configuration Process
Section titled “Configuration Process”- Open VS Code and navigate to the config files
- Read thoroughly - each line has explanatory comments
- Configure in order - work from top to bottom
- Watch for notes - important warnings are clearly marked
- Test frequently - use F8 console and server console for error checking
How It Works
Section titled “How It Works”Garage Management
Section titled “Garage Management”- Multiple Garage Locations - Configure unlimited garages across the map
- Role-Based Access - Link garages to specific Discord roles or framework groups
- Vehicle Sections - Organize vehicles into categories within each garage
- Spawn Points - Define multiple spawn locations per garage
Vehicle System
Section titled “Vehicle System”- Vehicle Showcase - Preview vehicles before selection
- Camera Positioning - Custom camera angles for vehicle preview
- Extras & Liveries - Configure vehicle extras and liveries
- Permission Control - Role-based vehicle access
Visual Elements
Section titled “Visual Elements”- 3D Text Labels - Custom text displays
- Markers - Visual indicators for garage locations
- Blips - Map markers for easy navigation
- Customizable UI - Language and styling options
Integration & Compatibility
Section titled “Integration & Compatibility”Framework Support
Section titled “Framework Support”- Standalone - Works independently without framework dependencies
- ESX - Full ESX framework integration
- QBCore - Full QBCore framework integration
Discord API Integration
Section titled “Discord API Integration”- Optional Integration - Discord API included for role-based permissions
- Role Management - Link garages to specific Discord roles
- Permission System - Granular control over garage access
Troubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”Performance Optimization
Section titled “Performance Optimization”- Limit the number of vehicles per section for better performance
- Use appropriate blip scales and marker sizes
- Consider distance-based loading for large garage systems
Best Practices
Section titled “Best Practices”Configuration Tips
Section titled “Configuration Tips”- Organize Vehicles Logically - Group vehicles by type, role, or purpose
- Use Descriptive Names - Clear vehicle and garage names for easy management
- Test Coordinates - Verify all spawn, showcase, and camera positions
- Backup Configurations - Keep backups of working configurations
Security Considerations
Section titled “Security Considerations”- Role Verification - Regularly verify Discord role assignments
- Permission Audits - Review garage access permissions periodically
- Escrow Protection - Keep resource escrow enabled for security
Performance Optimization
Section titled “Performance Optimization”- Efficient Vehicle Lists - Avoid excessive vehicle counts per section
- Optimized Coordinates - Use precise coordinates to prevent conflicts
- Resource Management - Monitor resource usage with large garage systems
Support
Section titled “Support”Read through the instructions again if you have not managed to install the resource. Can’t get it to work still? Create a ticket through our dedicated support system in Discord: