Exports
Series of exports that will be added as time goes on. These are good for implementing radial menus and usage of 3rd party scripts
Server Exports
Transaction
exports.wasabi_banking:Transaction(identifier, reason, amount, type, account)
Adds new transaction to specific records. Good for 3rd party paycheck scripts, etc.
identifier
: player identifier (or citizen ID for QB) / STRING
reason
: transaction description / STRING
amount
: the amount of the transaction / NUMBER
type
: "received" or "sent" / STRING | ENUM
account
: "personal", "savings", or "society" / STRING | ENUM
AddMoney
exports.wasabi_banking:AddMoney(accountName, amount, reason)
Adds money to specific account.
accountName
: player identifier, gang name, society name, etc / STRING
amount
: the amount of the transaction / NUMBER
reason
: transaction description / STRING
RemoveMoney
exports.wasabi_banking:RemoveMoney(accountName, amount, reason)
Removes money from a specific account.
accountName
: player identifier, gang name, society name, etc / STRING
amount
: the amount of the transaction / NUMBER
reason
: transaction description / STRING
Last updated