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
  1. Core UI Series
  2. wasabi_banking

Installation

Basic installation instructions for this script

PreviousDependenciesNextConfiguration

Last updated 22 days ago


WARNING: Resource must be named wasabi_banking in order to operate properly.

REMOVE ALL BANKING SCRIPTS (esx_banking, qb-banking, etc)

  1. Ensure all dependencies are installed Be sure all are installed, running, and utilizing the latest versions available.

  2. Follow special changes below depending on framework/inventory:

ESX Installation (No Ox Inventory)

Install the SQL within wasabi_banking/_install_first/ESXNonOXInventory.sql

QBCore

1st, navigate to qb-core/server/player.lua search for self.Functions.SetMetaData and below, add the following:


    function self.Functions.ChangePlayerAccount(account)
        self.PlayerData.charinfo.account = account
        self.Functions.UpdatePlayerData()
    end
    

2nd, Add the inventory items to qb-core/shared/items.lua file. The items needed to be installed can be found in wasabi_banking/_install_first/qb-core.md.

QBox

1st, open the configuration at wasabi_banking/game/configuration/config.lua and find:

Config.AutomaticCheckSociety = false -- If you want to use the automatic society table verification you don't need to change the tables and columns below 

Config.SocietyTable = 'addon_account_data' -- "bank_accounts" or "management_funds" or "addon_account_data" or "bank_accounts_new"

Config.JobNameColumn = 'account_name' -- "account_name" or "job_name" or "account_name" or "id"

Config.AmountColumn = 'money' -- "account_balance" or "amount" or "money" or "amount"

2nd, make it look like the following:

Config.AutomaticCheckSociety = false -- If you want to use the automatic society table verification you don't need to change the tables and columns below 

Config.SocietyTable = 'bank_accounts_new' -- "bank_accounts" or "management_funds" or "addon_account_data" or "bank_accounts_new"

Config.JobNameColumn = 'id' -- "account_name" or "job_name" or "account_name" or "id"

Config.AmountColumn = 'amount' -- "account_balance" or "amount" or "money" or "amount"

3rd, Ensure to follow the OX Inventory instructions below.

OX Inventory (All frameworks)
  • Add item functions to inventory Within the ox_inventory/modules/items/client.lua add this to the bottom of the file:

    Item('transactionsreceipt', function(data, slot)
        ox_inventory:useItem(data, function(data)
            if data then
                TriggerEvent('wasabi-banking:showTransactions', data)
            end
        end)
    end)
  • Add item data to inventory Add the install items to your inventory within the ox_inventory/data/items.lua file. The items needed installed can be found in wasabi_banking/_install_first/ox_inventory.md.

  1. Add Inventory Images (Optional) Feel free to use the provided inventory item images provided in the installation directory.

  2. Edit config as desired (Optional) Optional but recommended to go through the configuration and adjust to your likings.

  3. Drag-and-drop the script Drag wasabi_banking in to your resources directory and add ensure wasabi_banking to your server.cfg after all dependencies.

💳
dependencies