๐ฆqb-banking
Keep your money safe and quickly access!
Introduction
Multiple ATM's & banks around the map to interact with
Handles all player interaction with bank/job/gang/shared accounts
ATM and bank card integration
Shared accounts between players
Auto creation of job/gang accounts on bank first open
Boss-only access to job/gang accounts
CreatePlayerAccount
Creates a new shared account for a player and returns where it was successful or not
exports['qb-banking']:CreatePlayerAccount(playerId, accountName, accountBalance, accountUsers)playerId:
numberaccountName:
stringaccountBalance:
numberaccountUsers:
tablereturns:
boolean
CreateJobAccount
Creates a new job type account, this is automatically done so shouldn't need this
accountName:
stringaccountBalance:
number
Example:
CreateGangAccount
Creates a new gang type account, this is automatically done so shouldn't need this
accountName:
stringaccountBalance:
number
Example:
AddMoney
Adds money to an account by name and returns where it was successful or not
accountName:
stringamount:
numberreason:
stringreturns:
boolean
RemoveMoney
Removes money from an account by name and returns where it was successful or not
accountName:
stringamount:
numberreason:
stringreturns:
boolean
GetAccount
Returns all the information for the specified account by name
accountName:
stringreturns:
table | nil
GetAccountBalance
Returns just the balance of the specified account by name
accountName:
stringreturns:
number
CreateBankStatement
This will create a statement for a specified account and returns where it was successful or not
playerId:
numberaccount:
stringamount:
numberreason:
stringstatementType:
stringaccountType:
stringreturns:
boolean
Last updated
Was this helpful?
