Banking

The Banking module provides server-side bank account management.

Server Functions

GetAccountMoney

Returns the balance of a specific bank account.

local balance = Bridge.Banking.GetAccountMoney(accountName)
-- Returns: number
ParameterTypeDescription
accountNamestringAccount name / identifier

AddAccountMoney

Adds money to a bank account.

Bridge.Banking.AddAccountMoney(accountName, amount)
ParameterTypeDescription
accountNamestringAccount name / identifier
amountnumberAmount to add

RemoveAccountMoney

Removes money from a bank account.

Bridge.Banking.RemoveAccountMoney(accountName, amount)
ParameterTypeDescription
accountNamestringAccount name / identifier
amountnumberAmount to remove