Configuration

Global Configuration

KSBanking = {

    -- -------------------------------------
    -- GLOBAL FUNCTIONS
    -- -------------------------------------
    callFramework = function()
        ESX = exports["es_extended"]:getSharedObject()
    end,

    DrawInteract = function(input, message)
        ESX.ShowHelpNotification(("~%s~ %s"):format(input, message))
    end,

    Notification = function(message)
        ESX.ShowNotification(message)
    end,

    -- -------------------------------------
    -- BANK SETTINGS
    -- -------------------------------------
    Lang = "fr",

    debug = true,                       -- allow you to view markers and other debug info in console

    jobSettings = {
        enable = false,
        society = "society_banker",
        jobname = "banker",
        maxDuty = 3,
    },

    maxAccounts = 3,                        -- max accounts a player can have // this value have no effect if enableJob is enabled (true)

    negativeAccounts = false,               -- allow accounts to be in a negative state

    accountPrefix = "KSA",                  -- Prefix for bank accounts

    markers = {
        Type = 6,
        Size = { x = 0.65, y = 0.65, z = 0.65 },
        Angle = { x = -90.0, y = nil, z = nil }, -- -90.0 for x only for marker type 6
        Color = { r = 255, g = 255, b = 255, alpha = 255 },
    },

    blips = {
        Banks = {
            Sprite = 108,
            Color = 3,
            Size = 0.6,
            Display = 6,
            Shortrange = false,
            Label = "Banque",
        },

        Atms = {
            Sprite = 108,
            Color = 3,
            Size = 0.6,
            Display = 6,
            Shortrange = false,
            Label = "ATM",
        }
    },

    -- Banks Locations
    Locations = {
        vector4(149.3867, -1042.0668, 29.3680, 342.2466)
    },

    -- Atms model for creditcard usage
    AtmModels = {
        `prop_atm_01`,
        `prop_atm_02`,
        `prop_atm_03`,
        `prop_fleeca_atm`
    },
}

Lang file

Mis à jour