⚙️Public Garages Config

Explore the functionality of our Public Garages, offering flexible configurations for vehicle storage.

In-Depth Explanation

Config.VehicleJobs = {
    "police",
    "ambulance",
}

This setting controls job vehicle sharing; if a vehicle aligns with this configuration and matches the player's job, they gain access to the vehicle keys.

Config.UseHourlyRateFee = true

This setting switches between hourly rate fees in Public Garages; when set to 'false,' the garage price becomes a flat fee as defined in the specific garage's settings.


Specific Garage's Settings

label = "Legion Square Garage"

This setting defines the label for the garage, primarily used to display the Public Garage UI.

fee = 20

This setting specifies the fee for the specified private garage, which can be configured as either hourly or flat based on the setting above.

blipType = "garage"

This setting specifies what kind of blip will be created for the garage. Can be set between

"garage" - "hangar" - "docks" - "helipad"
location.putInMarkerLocation = vector3(213.34, -795.86, 30.86)

This setting specifies the marker location for storing the vehicle.

location.takeOutMarkerLocation = vector3(215.26, -809.97, 30.74)

This setting specifies the marker location for opening the public garage form.

location.spawnLocations = {
    [1] = {location = vector4(216.72, -801.96, 30.79, 67.37)},
    [2] = {location = vector4(218.75, -796.99, 30.76, 69.54)},
    }

This setting defines the potential spawn locations for garaged vehicles. We recommend having a minimum of 8 spawn points, and at least 15 for busier garages.

Last updated

Was this helpful?