CS_BANKING
A modern and customizable banking system with full ESX support.
Installation
Configuration
Config.lua
This configuration file sets up various parameters for the banking system, including IBANs, ATMs, banks, locales, and notifications.
General Settings
Locale: Sets the language. Current options:
"EN","DE".Distance: Max distance to interact with a bank/ATM. Example:
1.alpha: Transparency of the marker. Example:
0.color: Marker color (r, g, b). Example:
{255, 0, 0}.UseOxTarget: true / false – Enable ox_target integration.
IbanPrefix: Custom prefix for generated IBANs. Example:
"CS".RedmarkedWebhookAmount: Highlight transactions above this value. Example:
500000.
ATM Models
List of ATM object models where players can access their account. Example:
AtmModels = {
-870868698,
-1126237515,
-1364697528,
506770882,
}Notifications
CustomClientSideNotification(title, msg, type) – Displays custom HUD notifications.
ShowHelpNotificationFunction(msg) – Displays help notifications.
Locales
Supports English (EN) and German (DE). Includes UI texts, error messages, notifications, and webhook messages.
Examples:
EN:
"Press E to access the bank."DE:
"Drücke E, um auf die Bank zuzugreifen."
ESX Version Handling
Supports old and new ESX versions.
Auto-detects ESX version and loads accordingly.
Functions
Deposit money
Withdraw money
Transfer money to other players via IBAN
Copy IBAN to clipboard
Bank & ATM access system
Webhooks
webhook.lua
Webhook events:
MoneyTransferred → logs transfers between players.
MoneyDeposited → logs deposits into accounts.
MoneyWithdrawn → logs withdrawals from accounts.
Transactions above the configured RedmarkedWebhookAmount are highlighted.
Tip: Leave the URL as an empty string "" if you do not want the webhook to trigger for that event.
Support
If you have any further questions, open a ticket on our discord server: discord.gg/core-services
Last updated