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'
    },
    
    TextUI = {
        position = 'right-center' -- 'right-center' or 'left-center' or 'top-center' or 'bottom-center'
    },

    Logs = {
        enabled = true,
        webhook = 'https://discord.com/api/webhooks/1241796943378911393/7ARn2slhT1tnEFQB_TY4WLUHmV7srOvWTpcL--sfn4ztNIv8BzpewV-_6aE_F6hxZr-c',
        servername = 'Uniq Scripts',
        color = 6579450,
        icon_url = 'https://dunb17ur4ymx4.cloudfront.net/webstore/logos/046c8efd198a2806b6ae46490f6aa780a225125e.png'
    },

    Commands = {
        adminmenu = {
            name = 'objectcreator',         -- 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,
    },

    targetType = 'ox', -- ox/qb - if on ESX use "ox"

    spawnObjectDistance = 100, -- the distance at which objects spawn for players

    collectibleSettings = { -- settings for collectible objects
        distance = 5, -- the distance from which it is possible to collect the object
        key = 38, -- key to collect the object - [default: E]
        keyLabel = 'E',
        targetIcon = 'fas fa-hand-holding',
        animation = {
            dict = 'anim@amb@business@coc@coc_unpack_cut@',
            clip = 'fullcut_cycle_v1_cokecutter'
        },
    },
}

Last updated