⚙️Configuration

Detailed explanation of the config file to adapt the resource to your player needs.

Config.lua

Config.Framework    = "qbcore"
Config.Debug    = false
Config.Elevators = {
    [1] = {
        name = "FIB Building",                      -- Building name
        Group = {"ambulance","police"},             -- "jobs allowed to have access"
        item = nil,                                 -- "security_pass"
        waittime = 3000,                            -- Progress bar waiting time
        floor = {
            [1] =   {id = 1,    disabled =  true,   floor = "-2",   name = "description -2...",         width = 1.0, length = 1.0,      playercoords= vector4(0,0,0,0), targetcoords = vector4(0,0,0,0)},
            [2] =   {id = 2,    disabled =  true,   floor = "-1",   name = "description -1...",         width = 1.0, length = 1.0,      playercoords= vector4(0,0,0,0), targetcoords = vector4(0,0,0,0)},
            [3] =   {id = 3,    disabled =  false,  floor = "0",    name = "Ground Floor",              width = 1.0, length = 1.0,      playercoords= vector4(136.19, -761.65, 45.75, 165.06), targetcoords = vector4(136.52, -763.11, 45.75, 158.37)},
            [4] =   {id = 4,    disabled =  true,   floor = "1",    name = "description 1...",          width = 1.0, length = 1.0,      playercoords= vector4(0,0,0,0), targetcoords = vector4(0,0,0,0)  },
            [5] =   {id = 5,    disabled =  true,   floor = "2",    name = "description 2...",          width = 1.0, length = 1.0,      playercoords= vector4(0,0,0,0), targetcoords = vector4(0,0,0,0)  },
            [6] =   {id = 6,    disabled =  true,   floor = "3",    name = "description 3...",          width = 1.0, length = 1.0,      playercoords= vector4(0,0,0,0), targetcoords = vector4(0,0,0,0)  },
            [7] =   {id = 7,    disabled =  true,   floor = "4",    name = "description 4...",          width = 1.0, length = 1.0,      playercoords= vector4(0,0,0,0), targetcoords = vector4(0,0,0,0)  },
            [8] =   {id = 8,    disabled =  true,   floor = "5",    name = "description 5...",          width = 1.0, length = 1.0,      playercoords= vector4(0,0,0,0), targetcoords = vector4(0,0,0,0)  },
            [9] =   {id = 9,    disabled =  true,   floor = "6",    name = "description 6...",          width = 1.0, length = 1.0,      playercoords= vector4(0,0,0,0), targetcoords = vector4(0,0,0,0)  },
            [10] =  {id = 10,   disabled =  true,   floor = "7",    name = "description 7...",          width = 1.0, length = 1.0,      playercoords= vector4(0,0,0,0), targetcoords = vector4(0,0,0,0)  },
            [11] =  {id = 11,   disabled =  true,   floor = "8",    name = "description 8...",          width = 1.0, length = 1.0,      playercoords= vector4(0,0,0,0), targetcoords = vector4(0,0,0,0)  },
            [12] =  {id = 12,   disabled =  false,  floor = "9",    name = "Communications Office",     width = 1.0, length = 1.0,      playercoords= vector4(135.98, -762.48, 242.15, 159.14), targetcoords = vector4(136.67, -763.16, 242.15, 183.26)},
        },
    }
}

Last updated