Locations

Create New Locations

You can copy and paste the example below into a new file

When you need a new location, create a new .lua file with the name of your location

Locations = Locations or {}

Locations["mlo_name"] = {
    ZoneEnable = true,
    Gang = "lostmc",
    Label = "Club Name Here",
    Zones = {
        vector2(0, 0),
        vector2(0, 0),
        vector2(0, 0),
        vector2(0, 0),
    },
    Blip = {
        enable = true,
        coords = vector3(0, 0, 0),
        color = 5, sprite = 89, scale = 0.6, display = 6,
    },
    Bike = { -- Spawn Display Bike
        { 
            enabled=true,
            model='hexer',
            coords=vector4(0, 0, 0, 0),
            plate='MCKLEAN', r=37, g=65, b=23,
            freeze=true, invincible=true
        },
    },
    Outfit = {
        {
            coords = vector4(0, 0, 0, 0), l=1.0, w=2.0,
            label = Loc[Config.Lan].target["Outfit"],
            icon = "fas fa-list",
        },
    },
    BossMenus = {
        {
            coords = vector4(0, 0, 0, 0), l=0.6, w=0.6,
            label = Loc[Config.Lan].target["BossMenus"],
            icon = "fas fa-list",
        }, {
            coords = vector4(0, 0, 0, 0), l=0.6, w=0.6,
            label = Loc[Config.Lan].target["BossMenus"],
            icon = "fas fa-list",
        },
    },
    Payments = {
        {
            coords = vector4(0, 0, 0, 0), l=0.5, w=0.5, maxZ=6.6,
            label = Loc[Config.Lan].target["Payments"],
            icon = "fas fa-credit-card",
            prop = {
                { model = "p_till_01_s", coords = vector4(0, 0, 0, 0) },
            },
        },
    },
    Shop = {
        {
            coords = vector4(0, 0, 0, 0), l=0.8, w=2.6, maxZ=6.2,
            label = Loc[Config.Lan].target["Shop"],
            icon = "fas fa-box-open",
            shopName = "apollo:canals:Shop:1",
            items = Shops.Apollo_Canals_Shop,
            prop = {
                -- { model = "prop_fridge_01", coords = vec4(0,0,0,0) },
            },
        },
    },
    Stash = {
        {
            coords = vector4(0, 0, 0, 0), l=0.8, w=3.4, maxZ=6.2,
            label = Loc[Config.Lan].target["Stash"],
            icon = "fas fa-temperature-low",
            stashName = "apollo:canals:Shelf:1",
            stashLabel = "Counter Stock",
            slots = 100, weight = 200000,
        },
    },
    PublicStash = {
        {
            coords = vector4(0, 0, 0, 0), l=0.6, w=0.6, maxZ=6.6,
            label = Loc[Config.Lan].target["PublicStash"],
            icon = "fas fa-box-open",
            stashName = "apollo:canals:Counter:1",
            stashLabel = "Counter 1",
            slots = 10, weight = 20000,
        }, {
            coords = vector4(0, 0, 0, 0), l=0.6, w=0.6, maxZ=6.6,
            label = Loc[Config.Lan].target["PublicStash"],
            icon = "fas fa-box-open",
            stashName = "apollo:canals:Counter:2",
            stashLabel = "Counter 2",
            slots = 10, weight = 20000,
        }, {
            coords = vector4(0, 0, 0, 0), l=0.6, w=0.6, maxZ=6.6,
            label = Loc[Config.Lan].target["PublicStash"],
            icon = "fas fa-box-open",
            stashName = "apollo:canals:Counter:3",
            stashLabel = "Counter 3",
            slots = 10, weight = 20000,
        }, {
            coords = vector4(0, 0, 0, 0), l=0.6, w=0.6, maxZ=6.6,
            label = Loc[Config.Lan].target["PublicStash"],
            icon = "fas fa-box-open",
            stashName = "apollo:canals:Counter:4",
            stashLabel = "Counter 4",
            slots = 10, weight = 20000,
        },
    },
    PlayerStash = {
        {
            coords = vector4(0, 0, 0, 0), l=0.6, w=0.8,
            label = Loc[Config.Lan].target["PhoneBox"],
            icon = "fas fa-box-open",
            stashName = "apollo:canals:PhoneBox:1",
            stashLabel = "Phone Box",
            slots = 1, weight = 700,
            prop = {
                { model="v_ilev_depo_box01", coords = vector4(0, 0, 0, 0) },
                { model="ba_prop_int_edgy_table_02", coords = vector4(0, 0, 0, 0) },
            },
        },
    },
    Crafting = {
        {
            coords = vector4(0, 0, 0, 0), l=1.2, w=1.8,
            label = Loc[Config.Lan].target["Weapons"],
            icon = "fas fa-copy",
            craftable = Crafting.Apollo_Canals_Weapons,
        },
    },
    Poles = {
        label = Loc[Config.Lan].target["Poles"],
        icon = "fas fa-child",
        list = {
            -- { coords = vec4(0, 0, 0, 0), l=0.7, w=0.7, pole = 1 },
            -- { coords = vec4(0, 0, 0, 0), l=0.7, w=0.7, pole = 2 },
        }
    },
    WashHands = { 
        label = Loc[Config.Lan].target["WashHands"],
        icon = "fas fa-sink",
        list = {
            -- { coords = vec4(0, 0, 0, 0), l=0.5, w=0.5 },
        }
    },
    Chairs = {
        label = Loc[Config.Lan].target["Chairs"],
        icon = "fas fa-chair",
        list = {
            -- { coords = vec4(0, 0, 0, 0), stand = vec3(0, 0, 0) },
            -- { coords = vec4(0, 0, 0, 0), stand = vec3(0, 0, 0) },
        }
    },
}

Last updated