UZ Scripts
Garage

Configuration

Configure framework, interact, fuel, language, pricing, and garage locations.

All settings are in Customize.lua — the only file you need to edit.

Customize.lua

General Settings

Prop

Type


Vehicle Settings

Prop

Type


Pricing

Prop

Type

Job garages always spawn vehicles for free, regardless of these settings.


Marker

The SetMarker function draws the marker at vehicle store (put) locations. Customize the DrawMarker native call:

SetMarker = function(Pos)
    DrawMarker(2, Pos.x, Pos.y, Pos.z, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
        0.3, 0.2, 0.15, 255, 255, 255, 255, false, false, false, true, false, false, false)
end,

Garage Locations

Each garage is a table entry in Customize.Garages. Here are the common fields for all garages:

Prop

Type

Example

{
    Pos = vec3(441.78, -1014.14, 28.64),
    NpcHash = "s_m_y_valet_01",
    NpcHeading = 184.61,
    Blip = "Police Garage",
    BlipSprite = 357,
    BlipDisplay = 4,
    BlipScale = 0.5,
    BlipColour = 18,
    VehPutPos = vec3(447.2, -1021.53, 28.45),
    VehSpawnPos = {
        [1] = vec4(439.13, -1027.17, 27.78, 18.64),
        [2] = vec4(435.36, -1027.1, 27.85, 4.39),
    },
    Camera = {
        vehSpawn = vec4(422.81, -1023.23, 27.94, 93.18),
        fov = 35.0,
    },
    Job = 'police',
    Vehicles = {
        { model = 'police',  label = 'Police Cruiser',  minGrade = 0 },
        { model = 'police3', label = 'Interceptor',     minGrade = 3, livery = 2 },
    },
    Type = 'car',
},

On this page