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.

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