AW ScriptsDocs
AW Banking

Installation

#Install

  1. Needs ox_lib, oxmysql and one of qb-core, qbx_core, es_extended.
  2. Put aw_banking in your resources folder.
  3. In server.cfg, after your framework and inventory:
    server.cfg
    ensure ox_lib
    ensure oxmysql
    ensure aw_banking
    
    # admin panel
    add_ace group.admin aw_banking.admin allow
    # Discord logs (optional, keep this secret)
    set aw_banking_webhook "https://discord.com/api/webhooks/..."
    
  4. The database tables are made on the first start. If your database user cannot create tables, run sql/install.sql by hand.
  5. Add the card item to your inventory (below). Without it set Config.Card.inventory = 'none' for virtual cards.
  6. Stop other banking scripts that open on the same ATMs / bank counters.

#Card item

The install/ folder in the script has everything:

  • install/ox_inventory.lua: the item for ox_inventory/data/items.lua
  • install/qb-core.lua: the item for qb-core/shared/items.lua or qs-inventory/shared/items.lua (qb-core adds it by itself on start, the file is there if you prefer to add it by hand)
  • install/images/aw_bank_card.png: copy it to your inventory images folder (ox_inventory/web/images/, qb-inventory/html/images/ or qs-inventory/html/images/)

Item name: aw_bank_card (change it in Config.Card.item if you want another one).