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["LocationOne"] = {
    ZoneEnable = false,
    Job = "jobgoeshere",
    Label = "Job Label goes here",
    autoClock = { enter = false, exit = true, },
    logo = "https://gta.fandom.com/wiki/File:Arcades-GTAO-InsertCoinRockfordHills.png",
    Zones = {
        vec2(0,0),
        vec2(0,0),
        vec2(0,0),
        vec2(0,0),
    },
    Blip = {
        Coords = vec3(0,0,0),
        Color = 5,
        Sprite = 89,
        Scale = 0.6,
        Display = 6,
    },
    Outfit = {
        {
            coords = vec4(0,0,0,0), l=2, w=0.4,
            label = Loc[Config.Lan].target["outfit"],
            icon = "fas fa-list",
        },
    },
    BossMenus = {
        {
            coords = vec4(0,0,0,0), l=0.6, w=0.6,
            label = Loc[Config.Lan].target["bossmenu"],
            icon = "fas fa-list",
        },
    },
    Payments = {
        {
            coords = vec4(0,0,0,0), l=0.5, w=0.5,
            label = Loc[Config.Lan].target["register"],
            icon = "fas fa-credit-card",
        }, {
            coords = vec4(0,0,0,0), l=0.5, w=0.5,
            label = Loc[Config.Lan].target["register"],
            icon = "fas fa-credit-card",
        },
    },
    Shop = {
        {   
            coords = vec4(0,0,0,0), l=1, w=1,
            label = Loc[Config.Lan].target["store"],
            icon = "fas fa-box-open",
            shopName = "LocationOne:Shop:1",
            items = Shops.Items,
            -- prop = { model = "prop_fridge_01", coords = vec4(0,0,0,0) },
        },
    },
    Stash = {
        {
            coords = vec4(0,0,0,0), l=4.2, w=0.6,
            label = Loc[Config.Lan].target["stock"],
            icon = "fas fa-temperature-low",
            stashName = "LocationOne:Shelf:1",
            stashLabel = "Counter Stock",
            slots = 100, weight = 200000,
        },
    },
    Display = {
        {
            coords = vec4(0,0,0,0), l=0.8, w=0.8,
            label = "Display Case",
            icon = "fas fa-temperature-low",
            stashName = "LocationOne:Shelf:7",
            stashLabel = "Display Case",
            slots = 35, weight = 500000,
        },
    },
    PublicStash = {
        {
            coords = vec4(0,0,0,0), l=0.6, w=0.6,
            label = Loc[Config.Lan].target["counter"],
            icon = "fas fa-utensils",
            stashName = "LocationOne:Counter:1",
            stashLabel = "Counter 1",
            slots = 10, weight = 20000,
        },
    },
    PersonalStash = {
        {
            coords = vec4(0,0,0,0), l=2, w=0.4,
            label = Loc[Config.Lan].target["personal"],
            icon = "fas fa-list",
            stashName = "Locker: ",
            stashLabel = "Employee Locker",
            slots = 10, weight = 20000,
        },
    },
    Crafting = {
        {
            coords = vec4(0,0,0,0), l=0.8, w=0.8,
            label = Loc[Config.Lan].target["cards"],
            icon = "fas fa-copy",
            craftable = Crafting.Cards,
        },
    },
    Grading = {
        {
            coords = vec4(0,0,0,0), l=0.8, w=0.6,
            label = Loc[Config.Lan].target["grading"],
            icon = "fas fa-copy",
            craftable = Crafting.Electronics,
        },
    },
    Chairs = {
        { coords = vec4(0,0,0,0), stand = vec3(0,0,0)},
    },
}

Last updated