
Config = {}

Config.Debug = false

Config.Distance = 20.0

Config.Framework = "QB" -- "ESX", "QB", or "standalone"
Config.JobsTableQuery = 'SELECT identifier FROM users WHERE job = @job' -- FOR STANDALONE!!

Config.Marker = {
    enabled = true,
    settings = {
        type = 22,
        scale = 1.0,
        bobUpAndDown = true,
        faceCamera = true,
        color = {
            r = 0,
            g = 255,
            b = 100,
            a = 100
        }
    }
}


-- !! DO NOT CHANGE THE ID AFTER USING IT ONCE !!
Config.Cams = {
    {
        id  = 1,
        title = "Police Cam",
        description = "Police Cam 1",
        controlPoint = vector3(178.7876, 383.3642, 108.9205),
        camCoords = vector3(227.0677, 381.9196, 110.4175), 
        camHeading = 90.0, 
        minFov = 1.0,
        maxFov = 50.0,
        length = 30, 
        obj = "prop_cctv_cam_05a", 
        minCamHeightFov = 10,
        maxCamHeightFov = 2,

        permissions = {
            jobs = {
                {
                    name = "police",
                    name = "ambulance"
                }
            },
            identifiers = {
                {
                    identifier = "license:d6a4657db0b45d37b70d43840f04b204711be1c5",
                    identifier = "license:d6a4657db0b45d37b70d43840f04b204711be1c6",
                }
            }
        }
    },

    {
        id = 2,
        title = "Casino",
        description = "Casino Garage",
        controlPoint = vector3(969.0598, -4.3849, 81.0416),
        camCoords = vector3(928.9232, -2.5198, 83.7641), 
        camHeading = 157.7447, 
        minFov = 1.0,
        maxFov = 70.0,
        length = 150, 
        obj = "prop_cctv_cam_05a", 
        minCamHeightFov = 20,
        maxCamHeightFov = 10,
        
        permissions = {
            jobs = {
                {
                    name = "police"
                }
            },
            identifiers = {
                {
                    identifier = ""     
                }
            }
        }
    }
}