Zone System
CS-Garages uses a polygon-based zone system for defining garage areas. This guide covers the zone system configuration.
Zone System Overview
The script uses a polygon-based zone system for defining garage areas:
garagePolygon
: Defines the active area of the garageWhen inside polygon: Markers are drawn for garage interaction
Zones are defined using vector3 points to create a boundary area
Public Garage Zones
Configure public garage zones:
Config.Garages = {
{
["garagePolygon"] = { -- Zone definition
vector3(x1, y1, z1),
vector3(x2, y2, z2)
-- Add more points to define zone
}
}
}
Impound Zones
Configure impound zones:
Config.Impounds = {
{
["impoundPolygon"] = { -- Zone definition
vector3(x1, y1, z1),
vector3(x2, y2, z2)
-- Add more points to define zone
}
}
}
Troubleshooting
If zones are not working:
Verify polygon points are properly defined
Check for overlapping zones
Ensure coordinates are at ground level
For support, please include:
Server console output
Configuration settings
List of installed dependencies
Steps to reproduce the issue