Description
This resource is created & maintained by uShifty#1733
and was not a fork of any of the other banking resources.
Features
- Personal, Job, Gang, Shared Accounts
- Withdraw, Deposit, Transfer between accounts
- Optimized Resource (0.00ms Running At All Times)
Dependencies
- oxmysql (opens in a new tab)
- ox-lib (opens in a new tab)
- ox-target (opens in a new tab)
Supports QBCore and ESX. You can easily add support for other frameworks by editing theFramework.lua
Installation
- Insert the SQL provided
- Integrate the exports in any external resource that interacts with banking.
qb-managment Conversion
exports['qb-management']:GetAccount => exports['Renewed-Banking']:getAccountMoney
exports['qb-management']:AddMoney => exports['Renewed-Banking']:addAccountMoney
exports['qb-management']:RemoveMoney => exports['Renewed-Banking']:removeAccountMoney
exports['qb-management']:GetGangAccount=> exports['Renewed-Banking']:getAccountMoney
exports['qb-management']:AddGangMoney=> exports['Renewed-Banking']:addAccountMoney
exports['qb-management']:RemoveGangMoney=> exports['Renewed-Banking']:removeAccountMoney
qb-banking Conversion
exports['qb-banking']:GetAccountBalance => exports['Renewed-Banking']:getAccountMoney
exports['qb-banking']:AddMoney => exports['Renewed-Banking']:addAccountMoney
exports['qb-banking']:RemoveMoney => exports['Renewed-Banking']:removeAccountMoney
exports['qb-banking']:GetGangAccount=> exports['Renewed-Banking']:getAccountMoney
exports['qb-banking']:AddGangMoney=> exports['Renewed-Banking']:addAccountMoney
exports['qb-banking']:RemoveGangMoney=> exports['Renewed-Banking']:removeAccountMoney
Society Bank Access
qb-core/shared/jobs.lua / qb-core/shared/gangs.lua
taxi = {
label = 'Taxi',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Recruit', payment = 50 },
['1'] = { name = 'Driver', payment = 75 },
['2'] = { name = 'Event Driver', payment = 100 },
['3'] = { name = 'Sales', payment = 125 },
['4'] = { name = 'Manager', isboss = true, bankAuth = true, payment = 150 },
},
},
This is already integrated in qbx_core
by default, if you need to add to other jobs then see example below:
qbx_core/shared/jobs.lua / qbx_core/shared/gangs.lua
['taxi'] = {
label = 'Taxi',
defaultDuty = true,
offDutyPay = false,
grades = {
[0] = {
name = 'Recruit',
payment = 50
},
[1] = {
name = 'Driver',
payment = 75
},
[2] = {
name = 'Event Driver',
payment = 100
},
[3] = {
name = 'Sales',
payment = 125
},
[4] = {
name = 'Manager',
isboss = true,
bankAuth = true,
payment = 150
},
},
},
Note: This applies to jobs and gangs.