Wasabi Scripts
StoreDiscordGitHub
  • Documentation
  • Dependency
    • 🔗wasabi_bridge
      • Dependencies
      • Installation
      • Configuration
      • Custom Notifications
      • Common Issues & Fixes
  • Advanced Series
    • 🚑wasabi_ambulance
      • Dependencies
      • Installation
      • Configuration
      • Death Screens
      • Exports / Events
      • State Bags
      • Customizations
      • Common Issues
        • QBCore
    • 🩺wasabi_crutch
      • Dependencies
      • Installation
      • Configuration
      • Exports
    • 👮‍♂️wasabi_police
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • State Bags
      • Events
      • Customizations
    • 🔎wasabi_evidence
      • Dependencies
      • Installation
      • Configuration
      • Customizations
    • 🛡️wasabi_adminmenu
      • Dependencies
      • Installation
      • Configuration
    • 👷wasabi_multijob
      • Dependencies
      • Installation
      • Configuration
      • Replace ESX Boss Menus
    • 🔑wasabi_carlock
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Common Issues
        • QBCore
  • Core UI Series
    • 🖥️wasabi_loadingscreen
      • Configuration
    • 🧑‍🤝‍🧑wasabi_multichar
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Events
    • 💳wasabi_banking
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Events
    • 👼wasabi_spawn
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Events
    • 🔔wasabi_notify
      • Exports / Events
      • Configuration
      • Change Framework Notify
    • ⏸️wasabi_pausemenu
      • Dependencies
      • Installation
      • Configuration
      • Exports
  • Heist Series
    • 🏦wasabi_pacificrobbery
      • Dependencies
      • Installation
      • Configuration
      • Events
    • 🏦wasabi_paletorobbery
      • Dependencies
      • Installation
      • Configuration
      • Events
    • 🏦wasabi_fleecarobberies
      • Dependencies
      • Installation
      • Configuration
      • Events
  • 💎wasabi_vangelicorobbery
    • Dependencies
    • Installation
    • Configuration
    • Events
  • 🔫wasabi_ammunationrobbery
    • Dependencies
    • Installation
    • Configuration
    • Events
  • 🚢wasabi_yachtheist
    • Dependencies
    • Installation
    • Configuration
    • Events
  • Free Releases
    • 👕fivem-appearance
      • Installation
      • Dependencies
      • Common Issues
      • Snippets
      • Exports
      • Examples
    • 👩‍💻wasabi_discord
      • Installation
      • Exports
Powered by GitBook
On this page
  • Client Exports
  • Server Exports
  1. Core UI Series
  2. wasabi_banking

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

Client Exports


isUIOpen
local uiOpen = exports.wasabi_banking:isUIOpen()

Returns true/false depending if the banking UI is active

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

GetAccount
local account = exports.wasabi_banking:GetAccount(accountName)

Gets specific account


accountName: player identifier, gang name, society name, etc / STRING

GetAccountBalance
local balance = exports.wasabi_banking:GetAccountBalance(accountName)

Gets specific account balance


accountName: player identifier, gang name, society name, etc / STRING

PreviousConfigurationNextEvents

Last updated 1 day ago

💳