RISK SCRIPTS
TEBEXDISCORD
  • Welcome to RISK DOCUMENTAION
  • Discord Integration
    • Discord Webhooks
    • Discord Bot Token
  • SCRIPTS
    • 🔔Notify
      • ⚙️Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🚚Cargo Job
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🖼️Loadingscreen
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • Driving-School
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ & Troubleshooting
    • 🎣FREE AFK Fishing Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚘Vehicle Shop
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🐝Beekeeping Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🔎Advanced Metal Detector Script
      • 📝Editable
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️24/7 Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Weapon Market
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🛍️Black Market Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚗Simple Garage
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎲4 in Row Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎒Outfit Bag Script
      • 💡Installation
      • ⚙️Configuration
      • ⚙️Usage
      • ❔FAQ / Troubleshooting
    • 🔘Radial Menu
      • 💡Installation
      • ⚙️Commands & Event Triggers
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🗒️TicTacToe / X and O
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🏦Simple Banking System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • ⚙️Advanced Crafting System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🚜Farming System
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍕Pizza Delivery Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🍾Spin the Bottle
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 🎇Firework Script
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
    • 📦Blindfold
      • 💡Installation
      • ⚙️Configuration
      • 🕵️‍♂️Usage
      • ❔FAQ / Troubleshooting
Powered by GitBook
On this page
  1. SCRIPTS
  2. Simple Banking System

Configuration

Use the table below to understand each main Config option. Adjust them to fit your server’s setup. For more detail, see the example config snippet that follows.

Parameter
Description
Example Value

Framework

Which framework to use. Options: auto, esx, qb.

"auto"

ShowATMs

Whether to spawn blips for ATMs on the map.

true or false

ATMProps

A list of props that count as ATMs (used for auto-detection).

{'v_corp_fleeca...'}

BankProps

A list of props that count as bank terminals.

{'prop_atm_01',...}

socialHilfe

Amount of daily social assistance players receive if configured.

1000

botToken

Required to fetch Discord user avatars. Treated as a password.

"YOUR_BOT_TOKEN"

Notifications & UI

Customizable alerts/notifications when transfers occur or balances update.

(See code)

Litz = {}

Litz.Framework = "auto" -- Options: "esx", "qb", "auto"

Litz.socialHilfe = 1000 -- SocialHelp
Litz.Target = false

-- https://docs.fivem.net/docs/game-references/blips/
Litz.Blips = {
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(-1212.980, -330.841, 37.787), name = "Bank"},
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(-2962.582, 482.627, 15.703), name = "Bank"},
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(-112.202, 6469.295, 31.626), name = "Bank"},
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(314.187, -278.621, 54.170), name = "Bank"},
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(-351.534, -49.529, 49.042), name = "Bank"},
    {sprite = 108, color = 0, scale = 0.8, coords = vector3(252.33, 218.11, 106.29), name = "Fleeca Bank"},
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(1175.064, 2706.643, 38.094), name = "Bank"},
}

Litz.ShowATMs = false -- Enables ATM blip display.
Litz.ATMBlip = {
    sprite = 108, 
    color = 48,    
    scale = 0.7,  
    name = "ATM", 
}

Litz.ATMProps = {
    'prop_atm_03',
    'prop_fleeca_atm',
    'prop_atm_01',
    'prop_atm_02'
}

Litz.BankProps = {
    'v_corp_fleeca_display',
}

Litz.Locale = {
    playerOffline = "Player is not on the server!",
    withdraw = "Withdrawal successful!",
    deposit = "Deposit successful!",
    open = "Open ATM",
    openBank = "Open Bank",
    openbank = "Press E to open the ATM",
    transferSuccess = "Transfer successful!",
    socialHilfe = "You have received the social help reward!",
    socialMax = "You can only claim help once per day!"
}

Litz.HelpNotify = {
    type = "custom", -- Options: "default", "custom"
    customEvent = "risk_helpnotify:showHelpNotify" -- Only used if type is "custom"
}

Settings = {
    -- here
    botToken = "HERE_BOT_TOKE",
}





Citizen.CreateThread(function()
    -- not here
    while true do
        if Settings["botToken"] == "" then
            print("Please check settings.lua")
        end
        Citizen.Wait(3000)
    end
end)
PreviousInstallationNextUsage

Last updated 5 months ago

🏦
⚙️