Accessible Code

Shared = {
    Locale = 'en',

    Notify = {
        duration = 5000, -- miliseconds
        position = 'top-right' -- 'top' or 'top-right' or 'top-left' or 'bottom' or 'bottom-right' or 'bottom-left' or 'center-right' or 'center-left'
    },
    
    Logs = {
        enabled = true,
        webhook = '',
        servername = 'Uniq Scripts',
        color = 6579450,
        icon_url = 'https://dunb17ur4ymx4.cloudfront.net/webstore/logos/046c8efd198a2806b6ae46490f6aa780a225125e.png'
    },

    Commands = {
        adminpanel = {
            name = 'solaradmin',            -- command for accessing admin panel
            restricted = 'group.admin',     -- group that will have access to the command 
        }
    },

    Keys = { -- https://docs.fivem.net/docs/game-references/controls/
        finish = 191,
        cancel = 194,
        moveUp = 85,
        moveDown = 48,
        moveRight = 175,
        moveLeft = 174,
        moveForward = 172,
        moveBack = 173,
        rotateRight = 313,
        rotateLeft = 312,
        cancel = 194,
    },
    
    HackPanel = { -- settings for hacking panels
        policeOnly = false,
        policeJobs = { -- required
            ['police'] = true
        },
        policeNotify = true, -- notify police about panels being hacked
        hackDelay = 300000, -- delay for restoring all hacked cameras - ms
    },

    Items = {
        solarpanel = 'solarpanel',
        remotecontrol = 'remotecontrol'
    },

    PowerPrices = { -- do not change any of the values in []
        ['200'] = 0, -- 200 (default one) will be free
        ['300'] = 10000,
        ['400'] = 20000
    },

    BatteryPrices = { -- do not change any of the values in []
        ['12.5'] = 0, -- 12.5 (default one) will be free
        ['15'] = 15000,
        ['20'] = 30000
    },

    CitizenIDChars = 8, -- number of characters for citizen id on your server

    vSync = false, -- whether you are using vSync or not (for blackout/power loss)

    BlockedLocations = { -- locations where installation of solar panels is blocked
        {x = 188.4132, y = -949.5950, z = 30.0919, radius = 500.0},
    }
}

Last updated