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 = nil,
    Gang = nil,
    Blip = {    -- https://docs.fivem.net/docs/game-references/blips/
        enable = false,
        coords = vec3(0,0,0),
        label = Loc[Config.Lan].blip["printer"],
        sprite = 197,
        display = 4,
        blipcolor = 69,
        scale = 0.5,
    },
    Printer = {
        {
            coords = vec4(0, 0, 0, 0), l=0.5, w=0.5,     -- vec4(x,y,z,heading) | l = length of box | w = width of box
            printIcon = "fas fa-print", printLabel = Loc[Config.Lan].target["printer"],
            scanIcon = "fas fa-barcode", scanLabel = Loc[Config.Lan].target["scan"],
            prop = { 
                { model = "v_res_printer", coords = vec4(0, 0, 0, 0), },
            },
        },
        {
            coords = vec4(0, 0, 0, 0), l=0.5, w=0.5,
            printIcon = "fas fa-print", printLabel = Loc[Config.Lan].target["printer"],
            scanIcon = "fas fa-barcode", scanLabel = Loc[Config.Lan].target["scan"],
            prop = { 
                { model = "v_res_printer", coords = vec4(0, 0, 0, 0), },
            },
        },
    },
}

Last updated