Config
Config = {}
Config.Debug = false
Config.DefaultLocale = 'en'
Config.ErrorSounds = true
Config.UseTargetSystem = false
Config.AtmModels = {
`prop_atm_01`,
`prop_atm_02`,
`prop_atm_03`,
`prop_fleeca_atm`
}
Config.AtmLimit = 5000
Config.AtmDeposit = false
Config.Banks = {
{
name = "Legion Square Bank",
coords = vector3(149.9, -1040.46, 28.37),
blip = {
enabled = true,
sprite = 108,
color = 2,
scale = 0.7
}
},
{
name = "Rockford Hills Bank",
coords = vector3(-1212.98, -330.84, 36.79),
blip = {
enabled = true,
sprite = 108,
color = 2,
scale = 0.7
}
},
{
name = "Great Ocean Highway Bank",
coords = vector3(-2962.47, 482.93, 15.5),
blip = {
enabled = true,
sprite = 108,
color = 69,
scale = 0.7
}
},
{
name = "Paleto Bay Bank",
coords = vector3(-113.01, 6470.24, 31.43),
blip = {
enabled = true,
sprite = 108,
color = 69,
scale = 0.7
}
},
{
name = "Downtown Vinewood Bank",
coords = vector3(314.16, -279.09, 53.97),
blip = {
enabled = true,
sprite = 108,
color = 69,
scale = 0.7
}
},
{
name = "Burton Bank",
coords = vector3(-350.99, -49.99, 48.84),
blip = {
enabled = true,
sprite = 108,
color = 69,
scale = 0.7
}
},
{
name = "Sandy Shores Bank",
coords = vector3(1175.02, 2706.87, 37.89),
blip = {
enabled = true,
sprite = 108,
color = 69,
scale = 0.7
}
},
{
name = "Pacific Standard Bank",
coords = vector3(246.63, 223.62, 106.0),
blip = {
enabled = true,
sprite = 108,
color = 69,
scale = 0.7
}
},
-- Add other banks with the same structure
}
Config.Marker = {
type = 2,
scale = vector3(0.3, 0.2, 0.15),
color = { r = 59, g = 130, b = 246, a = 150 },
bobUpAndDown = true,
faceCamera = false,
rotate = true,
drawDistance = 15.0
}
Config.TransactionLimits = {
deposit = 100000,
withdraw = 50000,
transfer = 25000
}
Config.TextUISystem = "ox_lib" -- options: "ox_lib", "qb", "jg", etc, you can add more yourself bellow or contact me to add them
Config.TextUI = {
show = function(text, opts)
if Config.TextUISystem == "ox_lib" then
lib.showTextUI(text, opts)
elseif Config.TextUISystem == "qb" then
exports['qb-core']:DrawText(text, opts and opts.position or "right")
elseif Config.TextUISystem == "jg" then
exports['jg-textui']:DrawText(text)
end
end,
hide = function()
if Config.TextUISystem == "ox_lib" then
lib.hideTextUI()
elseif Config.TextUISystem == "qb" then
exports['qb-core']:HideText()
elseif Config.TextUISystem == "jg" then
exports['jg-textui']:HideText()
end
end
}
Config.NotifySystem = "ox_lib" -- options: "ox_lib", "qb", "esx"
Config.Notify = function(type, message)
if Config.NotifySystem == "ox_lib" then
lib.notify({
title = Locales[Config.DefaultLocale]['bank_title'],
description = message,
type = type,
position = 'center-left',
icon = 'building-columns'
})
elseif Config.NotifySystem == "qb" then
TriggerEvent('QBCore:Notify', message, type)
elseif Config.NotifySystem == "esx" then
ESX.ShowNotification(message)
else
-- fallback GTA notification
SetNotificationTextEntry('STRING')
AddTextComponentString(message)
DrawNotification(true, false)
end
end
Last updated
Was this helpful?