Exports
Server Exports
GetAccount
Returns an account.
exports['RxBanking']:GetAccount(iban)
Iban of the account.
GetLoan
Returns the current active loan from a player.
exports['RxBanking']:GetLoan(identifier)
Identifier of the player.
AddAccountMoney
Adds money to an account.
exports['RxBanking']:AddAccountMoney(iban, amount, type, reason, fromIban)
Iban of the account.
Amount that needs to be added.
Optional type of adding money for the transaction.
Optional reason of adding the money for the transaction.
Optional iban to show where the money came from for the transaction.
RemoveAccountMoney
Removes money from an account.
exexports['RxBanking']:RemoveAccountMoney(iban, amount, type, reason, toIban)
Iban of the account.
Amount that needs to be added.
Optional type of removing money for the transaction.
Optional reason of removing the money for the transaction.
Optional iban to show where the money went, for the transaction.
AddSocietyMoney
Adds money to a society account.
exports['RxBanking']:AddSocietyMoney(society, amount, type, reason, fromIban)
Name of the society.
Amount that needs to be added.
Optional type of adding money for the transaction.
Optional reason of adding the money for the transaction.
Optional iban to show where the money came from for the transaction.
RemoveSocietyMoney
Removes money from a society account.
exports['RxBanking']:RemoveSocietyMoney(society, amount, type, reason, toIban)
Name of the society.
Amount that needs to be added.
Optional type of removing money for the transaction.
Optional reason of removing the money for the transaction.
Optional iban to show where the money went, for the transaction.
GetPlayerBankAccounts
Returns all bank accounts of a player
exports['RxBanking']:GetPlayerBankAccounts(identifier, includeAuthorized, filter)
Identifier of the player.
Should also return accounts where player is authorized to?
Optional filter to specify which accounts should be returned. See FilterOptions below.
Type Definitions
FilterOptions
Account type to filter by.
If true, returns only the count of accounts instead of full account data.
GetPlayerPersonalAccount
Returns the personal account of a player. This account is synced with the HUD and framework bank balance.
exports['RxBanking']:GetPlayerPersonalAccount(identifier)
Identifier of the player.
GetSocietyAccount
Returns the account of a society.
exports['RxBanking']:GetSocietyAccount(society)
Name of the society.
CreateTransaction
Creates a transaction. This is just for display, it does not really transfer money.
exports['RxBanking']:CreateTransaction(amount, type, fromIban, toIban, reason)
Amount of the transaction.
Type of the transaction.
Optional iban where the money is 'removed' (not real) from.
Optional iban where the money is 'added' (not real) to.
Optional reason for the transaction.
Client Exports
No client-sided exports available at this time.
