View attachment 8446
Project Description
The user interface was heavily inspired by the Pixelless Banking Interface.
This resource is a replacement for qb-banking, qb-atm, qb-managment
addictions
Features
- Personal, Occupation, Gang, Shared Accounts
- Withdrawal, Deposit, Transfer between accounts
- Offline Player Full Support
- QB Target Support
- Optimized Resource (0.00ms Always Running)
Future Ideas/Plans
- Transitions to “Page Controller” to View Charts/Graphs (Visualizing Banking Data)
- Export Account Button (DOJ's button to export account data)
Integration (Server Export)
HTML:
exports['Renewed-Banking']:handleTransaction(account, title, amount, message, issuer, recipient, type, transID) ---@param account<string> - business name or citizen ID --- @param title<string> - Transaction example title `Personal Account / ${Player.PlayerData.citizenid}` ---@param amount<number> - Transaction amount ---@param message<string> - Description transaction - --@param issuer<string> - Name or Character of Business issuing invoice ---@param recipient<string> - Name of Business or Character receiving invoice ---@param type<string> - deposit | pullback ---@param transID<string> - (optional) Force a specific transaction ID instead of creating one. ---@return operation<table> { ---@param trans_id<string>- Transaction ID for the generated transaction ---@param amount<number> - Transaction amount ---@param trans_type<string> - deposit | withdrawal ---@param recipient<string> - Name or Character of the Business receiving the invoice ---@param message<string> - Description of the transaction ---@param issuer<string> - Name of the Business or Character issuing the invoice ---@ param time<number> - Period timestamp of the transaction ---} export['Renewed-Banking']:getAccountMoney(account) ---@param account<string> - Job Name | Custom Account Name ---@return amount<number> - Amount of money that account incorrectly exported['Renewed-Banking']:addAccountMoney(account, amount) ---@param account<string> - Job Name | Custom Account Name ---@param amount<number>false export['Renewed-Banking']:removeAccountMoney(account, amount) ---@param account<string> - Job Name | Custom Account Name ---@param amount<number> - Transaction amount ---@return completed<boolean> - true | wrong code]
[HEADING=1]Preview[/HEADING]
https://www.youtube.com/watch?v=erxDVNu1mW8
[ATTACH type="full" width="601px"]8447[/ATTACH]
[HEADING=1]download[/HEADING]
[URL='https://github.com/Renewed-Scripts/Renewed-Banking/releases/download/v1.0.1/Renewed-Banking.rar']Download GitHub [/URL]
[URL='https://renewed.tebex.io/']Other Versions[/URL]
[HEADING=1]Setup[/HEADING]
[LIST=1]
[*]Insert the provided SQL
[*]Edit your QBCore/Shared/jobs.lua & gangs.lua file and add bankAuth = true to job notes with access to community funds
[/LIST]
[HEADING=1]Update Logs[/HEADING]
v1.0.1
Added Banking Blips to the resource
[HEADING=1]SSS[/HEADING]
[LIST=1]
[*]Doesn't Create UI What Should I Do?
Make sure you import the sql file and download the version from the right side of the github page. It will be tagged as Renewed-Banking.rar, make sure it's not source code!
[*]How do I convert from qb-managment → Renewed-Banking?
[/LIST]
[CODE=html]exports['qb-management']:GetAccount => export['Renewed-Banking']:getAccountMoney
export['qb-management']:AddMoney => export['Renewed-Banking']:addAccountMoney
export['qb-management']:RemoveMoney => export['Renewed-Banking']:removeAccountMoney
export['qb-management']:GetGangAccount=> export['Renewed-Banking']:getAccountMoney
export['qb-management']:AddGangMoney=> export['Renewed-Banking']:addAccountMoney
export['qb-management']:RemoveGangMoney=> export['Renewed-Banking']:removeAccountMoney
| Lines (approximately) | 900+ |
| Requirements | in the statement |