Banking and Billing
Scripts · FiveM Ready
Core Setup
Config.Framework = "auto" -- auto, ESX, OLDESX, QB
Config.Database = "auto" -- auto, oxmysql, mysql-async
Config.Debug = false
Config.Language = "en"
Config.HistoryLimit = 10
Config.AccountNumberLength = 10
Use auto unless you need hard-pinning for custom environments.
Notifications and Help Prompts
Config.Notify = {
mode = "framework", -- framework, chat, event, print
event = "",
chatPrefix = "smx-banking"
}
Config.HelpNotify = {
mode = "framework", -- framework, default, event
event = ""
}
This allows integration with framework-native popups or custom notify events.
Banking and Billing Systems
Config.InvoiceLifecycle = {
enabled = true,
checkIntervalSeconds = 120,
warnDays = { 1, 3, 4 },
autoPayAfterDays = 5
}
Config.StandingOrders = {
enabled = true,
checkIntervalSeconds = 60,
maxIntervalHours = 24 * 30
}
Config.FactionAccounts = {
enabled = true,
factions = {
police = { label = "Polizeidienststelle", minGrade = 3 }
}
}
Invoice lifecycle and standing orders run in background threads and write execution status into database tables.
World Interaction
Config.Blips = {
enabled = true,
sprite = 108,
color = 2,
scale = 0.7,
label = "Bank"
}
Config.Banks = {
vector3(150.266, -1040.203, 29.374),
vector3(-1212.980, -330.841, 37.787)
}
Config.ATMProps = {
"prop_atm_03",
"prop_fleeca_atm",
"prop_atm_01",
"prop_atm_02"
}
Players can open the banking UI via configured bank locations and nearby ATM objects.
Test NPC + UI Localization
Config.TestNPC = {
enabled = true,
serverId = 99001,
identifier = "smx_test_npc_001",
name = "Test NPC",
invoice = {
enabled = true,
faction = "police",
amount = 500,
cooldownSeconds = 60
}
}
UI text content is controlled through Config.UI.locales.de/en and server messages through Config.Locales.