Page cover

πŸ’°Banking V2

Documentation of IF Banking V2

Supported on ESX and QB servers.

SQL Structure
  • We've made a SQL Structure separated of default QB/ESX banking scripts to avoid incompatibility problems, so, you need to go on _SQLS and run the if-banking.sql, you also need to run specific SQL for your Framework which is on the folder.

Change Open Method

You can alternate to use Marker or Target.

  • Marker:

    • Draws a marker + help text on Bank Locations

    • Shows a help text when near to ATM Props

    • No need of external resources

    • Less optimisation (impacts on resource perfomance when near to a bank/atm)

  • Target:

    • Shows a target on Bank Locations and on ATM Props

    • Needs a external resource (ox_target or qb-target)

    • Better optimisation than with Marker (doesn't impacts on resource peformance)

Discord Webhook

We provides a webhook system for the transactions.

On each transaction performed, the script sends a message to the configured webhook.

The message contains: player character name + player game name + transaction details + date.

Transactions Implementation

You can create a transaction using: exports['if-bankingv2']:addBankStatement(identifier, amountDeposited, amountWithdrawn, statementDescription, newBalance)

Note: The script listens for ESX/QB money exchange events, and if a "reason" is found, it automatically creates a transaction.

Translations

The script has a Translation system, you can create a new language if needed.

Last updated

Was this helpful?