Accessible code

Config = {
    locales = 'en',
    versionChecking = true, 
    OxInventory = false,
    QSInventory = false,
    
    moneyTypes = {
        [0] = 'Cash',
        [1] = 'Gold',
    },

    logs = {
        enable = false,
        botName = 'ENPWR TEAM',
        webhook = '',
        colors = {
            ['info'] = 1209030,
            ['success'] = 5024796,
            ['error'] = 12980754,
        }
    },

    fullTune = {
        modEngine = 3,
        modBrakes = 2,
        modTransmission = 2,
        modSuspension = 3,
        modArmor = true,
        windowTint = 1
    },

    commands = {
        {
            name = 'promocodes',
            permission = 'group.admin',
            help = 'Promo codes menu (create code, codes list, delete code)'
        },
        {
            name = 'redeemcode',
            permission = 'group.user',
            help = 'Redeem Promocode'
        },
    },

    InsertHorseToDataBase = function(identifier, charIdentifier, name) -- this function is not the same for every framework
        MySQL.insert('INSERT INTO stables (`identifier`, `charidentifier`, `name`, `type`, `modelname`) VALUES (?, ?, ?, ?, ?)', {
            identifier,
            charIdentifier,
            'Promocodes Reward', -- you can change this
            "horse",
            name
        })
    end
}

Last updated