Locations

Garage locations


To set up a new garage location, navigate to the file /config/config.lua. Search for the Config.Garages list, copy the example provided below, paste it at the end of the list, and configure it.

Garage_example.lua
[1] = {
        coords = vector3(),
        heading = 0.0,
        pedModel = 'cs_siemonyetarian',
        pedScenarion = 'WORLD_HUMAN_GUARD_STAND',
        garTarget = {
            label = 'Garage',
            icon = 'fas fa-warehouse'
        },
        saveTarget = {
            label = 'Save vehicle',
            icon = 'fas fa-floppy-disk'
        },
        type = 'car',
        groups = {},
        blip = {
            label = 'Garage',
            Sprite = 357,
            Display = 4,
            Scale = 0.6,
            Colour = 17
        },
        spawnPoints = {
            [1] = vector4(-612.5026, -880.6654, 25.1574, 239.4885),
            [2] = vector4(-610.6285, -877.9670, 25.2175, 231.8891),
            [3] = vector4(-608.6071, -875.2656, 25.2778, 226.2089),
            [4] = vector4(-606.5829, -873.0029, 25.3356, 224.2821)
        }
    },

Remember to change ID of garage in bracket.

Explanations:

  • coords: Takes vector3 table, coords where garage ped and blip will be created.

  • heading: heading of ped.

  • pedModel: Model of ped. List of ped models.

  • pedScenario: Scenario that ped will play while standing.

  • garTarget:

    • label: Label of garage target option.

    • icon: Icon of garage target option.

  • saveTarget:

    • label: Label of save vehicle target option.

    • icon: Icon of save vehicle target option.

  • type: Type of vehicles stored in this garage.

    • Avaible options:

      • car,

      • boat,

      • plane

  • groups: Table or string with job name that can use this garage.

  • blip:

  • spawnPoints: Table of vector4 coords.

Impound locations


To set up a new impound location, navigate to the file /config/config.lua. Search for the Config.Impounds list, copy the example provided below, paste it at the end of the list, and configure it.

Impound_example.lua
[1] = {
        coords = vector3(409.7520, -1621.9604, 29.2920),
        heading = 214.7066,
        pedModel = 'ig_trafficwarden',
        pedScenario = 'WORLD_HUMAN_GUARD_STAND',
        target = {
            label = 'Impound',
            icon = 'fas fa-warehouse'
        },
        type = 'car',
        groups = {},
        price = 1500,
        blip = {
            label = 'Impound',
            Sprite = 68,
            Display = 4,
            Scale = 0.6,
            Colour = 17
        },
        spawnPoints = {
            [1] = vector4(417.2375, -1627.6993, 28.6737, 140.4234),
            [2] = vector4(419.7489, -1629.4174, 28.6738, 139.7418),
            [3] = vector4(421.0783, -1635.8705, 28.6740, 89.4203),
            [4] = vector4(420.7894, -1638.8828, 28.6741, 88.6209),
            [5] = vector4(420.8043, -1641.9955, 28.6727, 89.2366),
            [6] = vector4(418.5450, -1646.4414, 28.6738, 50.7834)
        }
    }

Remember to change ID of impound in bracket.

Explanations:

  • coords: Takes vector3 table, coords where garage ped and blip will be created.

  • heading: heading of ped.

  • pedModel: Model of ped. List of ped models.

  • pedScenario: Scenario that ped will play while standing.

  • target:

    • label: Label of impound target option.

    • icon: Icon of garage target option.

  • type: Type of vehicles to retrieve.

  • groups: Table or string with job name that can use this impound.

  • price: Price of vehicle retrieve.

  • blip:

  • spawnPoints: Table of vector4 coords.

Last updated