Skip to main content

Trase Garage - Configuration Guide

Complete configuration reference for customizing your garage system to fit your server’s needs.

Overview

The Trase Garage system is highly configurable, allowing you to customize everything from garage locations to visual elements. All configuration is done through the config.lua file.

Basic Configuration

Framework Settings

Options:
  • 'auto' - Automatically detect the framework (recommended)
  • 'esx' - Force ESX Legacy framework
  • 'qb' - Force QBCore framework
  • 'qbx' - Force QBX framework

Visual Settings

Configuration:
  • Range: 10.0 - 50.0 (recommended: 25.0)
  • Lower values = Better performance, shorter interaction range
  • Higher values = Longer interaction range, more resource usage

Garage Configuration

Adding Garage Locations

Garage Location Parameters

Enter (Required)

  • Purpose: Garage entrance marker location
  • Interaction: Players walk here to browse vehicles
  • Marker: Blue cylinder marker appears here

Browse (Required)

  • Purpose: Vehicle preview and spawn location
  • Interaction: Where vehicles appear during browsing
  • Heading: Direction the vehicle faces when spawned
  • Note: Player is teleported here during browsing

Store (Optional)

  • Purpose: Vehicle storage marker location
  • Interaction: Players drive here to store vehicles
  • Marker: Blue cylinder marker appears here
  • Note: If not specified, vehicles can only be retrieved

Finding Coordinates

Use these methods to get coordinates for your garage locations:

Method 1: In-Game Commands

Method 2: Online Coordinate Tools

  • Use FiveM coordinate websites
  • Stand at desired location and copy coordinates
  • Adjust Z-coordinate as needed for ground level

Garage Naming Conventions

Impound System Configuration

Basic Impound Settings

Impound Parameters

Enabled

  • true - Impound system is active
  • false - Impound system is disabled completely

Price

  • Range: 0 - 999999
  • Currency: Based on your framework (ESX: money, QB: cash/bank)
  • Set to 0 for free impound retrieval

Payment Priority

  1. Cash first - Attempts to pay with cash
  2. Bank second - Uses bank money for remaining amount
  3. Insufficient funds - Shows error if player can’t afford

Adding Impound Locations

Note: Impound locations only need Enter and Browse coordinates (no Store location).

Blip Configuration

Garage Blips

Impound Blips

Blip Customization Options

Sprite IDs (Common Options)

Color IDs (Common Options)

Scale Options

Advanced Configuration

Marker Customization

While not directly configurable in config.lua, you can modify marker appearance in the client script:

Interaction Distances

Marker Scales

Example Complete Configuration

Configuration Best Practices

Location Planning

  • Space out garages - Avoid placing too close together
  • Consider traffic - Place in accessible but not crowded areas
  • Test thoroughly - Spawn vehicles to ensure adequate space
  • Mind obstacles - Avoid lamp posts, barriers, or buildings

Performance Optimization

  • Limit garage count - More garages = more resource usage
  • Optimize draw distance - Lower values improve performance
  • Strategic placement - Focus on high-traffic areas

Balance Considerations

  • Impound pricing - Balance cost vs. punishment
  • Garage accessibility - Make garages reasonably accessible
  • Storage locations - Ensure players can safely park

Testing Your Configuration

Pre-Launch Checklist

  1. Verify coordinates - All locations are accessible
  2. Test all interactions - Store, retrieve, and browse work
  3. Check blip placement - Blips appear correctly on map
  4. Confirm framework detection - Check console logs
  5. Test with multiple players - Ensure no conflicts

Common Configuration Errors

Invalid Coordinates

Missing Required Parameters

Syntax Errors

Troubleshooting Configuration Issues

Markers Not Appearing

  • Check Config.DrawDistance value
  • Verify coordinate accuracy
  • Ensure resource is properly restarted

Blips Not Showing

  • Confirm Enabled = true in blip configuration
  • Check sprite and color IDs are valid
  • Restart resource after configuration changes

Framework Not Detected

  • Verify framework resource is running
  • Check console for detection messages
  • Try manual framework setting

Performance Issues

  • Reduce Config.DrawDistance
  • Limit number of garage locations
  • Optimize marker update frequency

For additional support with configuration, visit our Discord: https://discord.gg/trase