Skip to main content

πŸ’³ Banking

Sky-Systems' Banking Script provides an enhanced banking experience for your FiveM server, allowing players to interact with ATMs and banks seamlessly. This guide will help you install, configure, and troubleshoot the banking script.

Installation​

To install the banking script follow this installation steps.

Adding Extra Banking Locations​

All ATM props on the map are automatically detected and usable for banking. To add extra banking locations, update the Config.Locations in your script's configuration:

Config.Locations = {
Bank = {
{x = 150.266, y = -1040.203, z = 29.374},
{x = -1212.98, y = -330.841, z = 37.787},
},
}

Log transactions to display in banking interface​

The banking script includes the following export for logging transactions:

Logging Transactions​

Server-Side Usage:

exports['sky_banking']:logTransaction(playerId, type, text, negative, amount)

Client-Side Usage:

TriggerServerEvent("sky_banking:transaction", type, text, negative, amount)

Parameters:​

  • playerId: The player's ID (source).
  • type: The type of transaction ("deposit", "withdraw", "transfer", "bill").
  • text: Description of the transaction.
  • negative: Boolean indicating if the transaction is a debit (true) or credit (false).
  • amount: The amount involved in the transaction.

Troubleshooting​

If you encounter any issues with the banking script, check the following:

  • Script Renamed: Ensure the script has not been renamed. Renaming scripts can break their functionality.
  • SQL Added: Verify that the import.sql file has been imported into your database system.
  • Keymaster Account: Make sure your server has a key from the same keymaster account the resource was purchased with.
  • Folder Structure: Ensure the resource folder contains a fxmanifest file, and there's no folder-in-folder issue.
  • sky_base Configuration: Confirm that the framework is set at config/config.lua in sky_base.

By following this guide, you can ensure a smooth setup and operation of the Sky-Systems Banking Script on your FiveM server. For further assistance, please contact our support team on discord.

Happy banking!