m-Scripts
  • m-Scripts Documentation
  • QBCore
    • Jobs
      • 🚗[QB] TunerJob
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🍞[QB] BeanMachine
        • 🛠️Installation
        • 🗒️Config
      • 🍔[QB] Burgershot
        • 🛠️Installation
        • 🗒️Config
      • 🍈[QB] CoolBeans
        • 🛠️Installation
        • 🗒️Config
      • 🚚[QB] Deliveries
        • 🛠️Installation
        • 📃Config
          • 📃config_functions
      • 🍎[QB] Farming
        • 🛠️Installation
        • 🗒️Config
      • 🐟[QB] Fishing
        • 🛠️Installation
        • 🗒️Config
          • 📄config_diving
          • 📄config_fishingnet
          • 📄config_fishingrod
          • 📄config_functions
          • 📄config_language
          • 📄config_seashells
          • 📄config_tournament
          • 📄config_upgrades
      • 🚛[QB] Garbage
        • 🛠️Installation
        • 🗒️Config
      • 🗝️[QB] GoldRush
        • 🛠️Installation
        • 🗒️Config
      • ⛰️[QB] Hunting
        • 🛠️Installation
        • 🗒️Config
      • 🪵[QB] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[QB] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🛢️[QB] Oil Factory
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • ☕[QB] Pond Coffee
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🚚[QB] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🥃[QB] Vanilla
        • 🛠️Installation
        • 🗒️Config
      • 🛻[QB] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • 🥃[QB] Bahamas
        • 🛠️Installation
        • 📄Config
      • 🔫[QB] Ammunation
        • 🛠️Installation
        • 📄Config
      • 🐟[QB] Pearls
        • 🛠️Installation
        • 📄Config
      • 🔓[QB] Impound
        • 🛠️Installation
        • 📄Config
        • ✅Garages
      • 🚘[QB] Vehicleshop
        • 🛠️Installation
        • 📄Config
          • Functions
          • Job
          • Language
        • ❓Common Questions
    • General
      • 🏕️[QB] Camping
        • 🛠️Installation
        • 🗒️Config
          • Consumables
          • Language
      • 🎄[QB] Christmas
        • 🛠️Installation
        • 🗒️Config
      • 🎃[QB] Halloween
        • 🛠️Installation
        • 🗒️Config
      • 📔[QB] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 🗒️Config
        • 🔁Server-Exports
      • 🏘️[QB] Vespucci
        • 🛠️Installation
        • 🗒️Config
          • Brewery
          • Digital Den
          • Masquerade
          • Pro Bikes
      • 🏖️[QB] Beach Activities
        • 🛠️Installation
        • 🗒️Config
      • 🚘[QB] Car Rental
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • ✈️[QB] Sky Racing
        • 🛠️Installation
        • 📄Config
      • 🚘[QB] Car Wash
        • 🛠️Installation
        • 📄Config
      • 🪨[QB] Grinder
        • 🛠️Installation
        • 📄Config
      • 📹[QB] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
      • 🏠[QB] Motel
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • 🏚️[QB] Job Center
        • 📄Config
      • 🛠️[QB] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
    • Illegal
      • 🔫[QB] Gangs
        • 🛠️Installation
        • 🗒️Config
      • 🔔[QB] Drug Selling
        • 🗒️Config
      • 🌱[QB] Drugs
        • 🛠️Installation
        • 🗒️Config
      • 🍯[QB] Craft Potion
        • 🛠️Installation
        • 🗒️Config
      • 🅱️[QB] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🚗[QB] Car Thief
        • 🗒️Config
      • 🏠[QB] House Robbery
        • 🛠️Installation
        • 🗒️Config
      • 💎[QB] Jewelry
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ®️[QB] Mini Robberys
        • 🛠️Installation
        • 🗒️Config
      • 💰[QB] MoneyWash
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🔫[QB] Rob NPC
        • 🛠️Installation
        • 🗒️Config
      • 🏃‍♂️[QB] Runs
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ⛽[QB] Steal Fuel
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🏬[QB] Store Robbery
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🪛[QB] Scrapyard
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 👾[QB] Territories
        • 🛠️Installation
        • 📄Config
          • Functions
      • 🏨[QB] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • ESX
    • Jobs
      • 🚗[ESX] Tunerjob
        • ❗Dependencies
        • 🛠️Installation
          • ℹ️OX-Inventory
          • ℹ️QS-Inventory
        • 🗒️Config
          • BlacklistVehicles
          • Craft
          • Functions
          • Language
          • Targets
          • Wraps
          • Events
        • ❓Common Questions
      • 🚚[ESX] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🪵[ESX] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • 🛻[ESX] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[ESX] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🎣[ESX] Fishing
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • Diving
          • Fishingnet
          • Fishingrod
          • Seashells
          • Tournament
          • Upgrades
    • General
      • 🚘[ESX] Car Rental
        • 🛠️Installation
        • 🗒️Config
      • 📃[ESX] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 📄Config
        • 🔁 Server-Exports
      • 🚘[ESX] Car Wash
        • 🛠️Installation
        • 📄Config
      • 📹[ESX] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
        • 🏠[ESX] Motel
          • 🛠️Installation
          • 📄Config
          • 🖥️Compatibilities
      • 🛠️[ESX] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🎄[ESX] Christmas
        • 🛠️Installation
        • 📄Configs
    • Illegal
      • 🔫[ESX] Gangs
        • 🛠️Installation
        • 📄Config
        • ❓Common Questions
      • 🅱️[ESX] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🏨[ESX] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • Both Framework
    • Scripts
      • 🚗Car Rebuild
        • 🛠️Installation
        • 🗒️Config
      • 🗺️City Guide
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🛒Shops
        • 📄Config
        • 🛠️Installation
      • 🔁Reputation
        • 📄Config
        • 🛠️Installation
        • ⁉️Exports & Commands
          • Server Exports
          • Commands
      • 💤AFK System
        • 📄Configs
        • 🛠️Installation
      • 🚗Garages
        • 🛠️Installation
        • 📑User Guide
          • Create Garages
          • Create Private Garage
          • Impound & Auctions
          • Add vehicle to gang/job
          • Commands
      • ✈️Airplane Job
        • 🛠️Installation
        • 📃Configs
        • ℹ️Exports
      • 📋Scoreboard
        • 📃Config
      • 📦StorageUnits
        • 🛠️Installation
        • 📃Config
Powered by GitBook
On this page
  • Setup a public garage
  • Setup a job garage
  • Setup a gang garage
  • Demonstration Video
  1. Both Framework
  2. Scripts
  3. Garages
  4. User Guide

Create Garages

To you create a new garage ( public, job or gang ) you need do it trough the file config.lua

Setup a public garage

  • name: Name of the garage

  • coords: Coordinates where the NPC will spawn and can be interacted with

  • spawn: Multiple spawn points where the vehicle can be spawned

  • radius: Interaction radius with the NPC

  • type: Optional; can be "car," "sea," or "air"

public_garages = {
    {
        name = "Pillbox Hill",
        coords = vector3(216.28, -809.63, 30.73),
        spawn = { vector4(222.27, -807.32, 29.99, 249.51), vector4(223.19, -804.87, 29.99, 249.51), vector4(224.16, -802.29, 29.98, 249.51), vector4(225.13, -799.72, 29.98, 249.51), vector4(226.01, -797.38, 29.98, 249.51), vector4(227.15, -794.34, 29.99, 249.51), vector4(228.12, -791.77, 29.99, 249.51), vector4(229.0, -789.43, 30.0, 249.51), vector4(229.92, -786.97, 30.01, 249.51), vector4(230.67, -784.98, 30.02, 249.51) }, --  you can add multiple spawn locations into a table
        radius = 15.0,
        type = "car",
    },
    {
        name = "Davis Mega Mall",
        coords = vector3(14.66, -1728.52, 29.3),
        spawn = { vector4(23.93, -1722.9, 29.3, 310.58) },
        radius = 15,
        type = "car",
    },
    {
        name = "Boats",
        coords = vector3(-795.15, -1510.79, 1.6),
        spawn = { vector4(-798.66, -1507.73, -0.47, 102.23) },
        radius = 20.0,
        type = "sea",
    },
    {
        name = "Hangar",
        coords = vector3(-1243.49, -3391.88, 13.94),
        spawn = { vector4(-1258.4, -3394.56, 13.94, 328.23) },
        radius = 20.0,
        type = "air",
    },
},

Setup a job garage

  • name: Name of the garage

  • coords: Coordinates where the NPC will spawn and can be interacted with

  • spawn: Multiple spawn points where the vehicle can be spawned

  • radius: Interaction radius with the NPC

  • jobs: All jobs that can access the garage

  • type: Optional; can be "car," "sea," or "air"

  • blip_override: Color of the blip on the minimap

  • pedOverride: Ped model that spawns at the specified coordinates

job_garages = {
    {
        name = "Los Santos PD",
        coords = vector4(456.86, -1019.84, 28.29, 86.76),
        spawn = { vector4(436.31, -997.44, 25.36, 177.98), vector4(431.31, -997.38, 25.36, 179.24), vector4(446.27, -1025.07, 28.23, 2.21), vector4(441.79, -1025.24, 28.3, 0.32), vector4(438.88, -1025.94, 28.37, 4.76), vector4(434.93, -1026.21, 28.44, 1.64), vector4(431.04, -1026.73, 28.52, 1.23), vector4(427.57, -1027.66, 28.59, 4.66) },
        radius = 2.0,
        jobs = { "police" },
        type = "car",
        blip_override = { -- You can override the default blip settings here, (enabled and name are not overridable)
            color = 47
        },
        pedOverride = `mp_m_securoguard_01`,
    },
    {
        name = "Pillbox Hill Hospital",
        coords = vector4(297.32, -602.64, 43.30, 65.41),
        spawn = { vector4(362.75, -612.73, 28.38, 229.15), vector4(289.62, -612.02, 43.0, 65.41) },
        radius = 2.0,
        jobs = { "ambulance" },
        type = "car",
        blip_override = { -- You can override the default blip settings here, (enabled and name are not overridable)
            color = 15
        }
    },
},

Setup a gang garage

  • name: Name of the garage

  • coords: Coordinates where the NPC will spawn and can be interacted with

  • spawn: Multiple spawn points where the vehicle can be spawned

  • radius: Interaction radius with the NPC

  • gangs: All gangs that can access the garage

  • type: Optional; can be "car," "sea," or "air"

  • blip_override: Color of the blip on the minimap

  • pedOverride: Ped model that spawns at the specified coordinates

gang_garages = {
    {
        name = "Ballas",
        coords = vector4(117.6, -1950.33, 20.75, 52.24),
        spawn = { vector4(115.46, -1940.0, 20.01, 92.07), vector4(115.02, -1943.26, 20.01, 91.64), vector4(113.97, -1946.2, 20.0, 79.84), vector4(111.64, -1948.54, 20.0, 79.28), vector4(108.62, -1950.46, 19.99, 80.91) },
        radius = 2.0,
        gangs = { "ballas" },
        type = "car",
        blip_override = { -- You can override the default blip settings here, (enabled and name are not overridable)
            color = 27,
        },
        pedOverride = `g_m_y_ballasout_01`,
    },
},

Demonstration Video

PreviousUser GuideNextCreate Private Garage

Last updated 2 months ago

🚗
📑