⚙️Public Garages Config
Explore the functionality of our Public Garages, offering flexible configurations for vehicle storage.
In-Depth Explanation
Config.UsePublicGarages = true
This setting toggles Public Garages on or off. It's recommended to enable Public Garages unless you're experienced with custom configurations.
Specific Garage's Settings
type = {
[1] = "automobile",
[2] = "bike",
[3] = "boat",
[4] = "heli",
[5] = "plane",
[6] = "trailer",
}
This setting specifies what kind of vehicles can be garaged into this garage. This setting supports multiple vehicle types.
Vehicle types are defined through Vehicle Info Config.
job = "civilian"
This setting determines which player job is allowed to store a vehicle in this garage. Setting it to 'civilian' permits any player, while specifying job names restricts access to specific roles.
location.minZ = 28.00,
location.maxZ = 37.50,
These settings control the minimum and maximum height of the polyzone. Ensure the values are accurate, typically recommended as minZ -3 from the putInMarkerLocation.z and maxZ + 10 of the putInMarkerLocation.z.
location.garagePoly = {
[1] = vector2(239.88, -820.42),
[2] = vector2(200.06, -805.74),
[3] = vector2(230.57, -725.11),
[4] = vector2(273.99, -739.98),
}
This setting generates the polyzone. We recommend defining 4 locations to create a garage with a box-like shape.
Last updated
Was this helpful?