A banking system that allows players to add, withdraw or transfer money from their personal and common accounts.
🇫🇷 Here
This banking system was made entirely (mockup, front-end, lua) by Sinyx for the Starling City project, since we don't use the script anymore i decided to put this script on github (with the developer's consent of course)
Compatible with :
- ESX Legacy
- ESX V1 (including sub versions)
Features :
- Common account system (maximum 3)
- Money transfer
- Cache system (to avoid too many sql requests)
- Purchase history
- Password system to connect to your bank account
To adapt your scripts go see how to use Exports (server side)
For each payment, you have a history, for example when you withdraw money from an ATM you will see in your history that you have withdrawn money from an ATM (with a small icon), in the configuration you must add your "service" (in the table servicesType), then when you are going to use an export to withdraw or add money to a player you will put the id (in which order is your service), if we take the driving school for example, which is in the config, the id of the service would be 7 (in Lua a table always starts from 1), then when you are going to use the export, the 3rd argument after the amount will be your id to put.
For the ESX salary system, the bank system needs es_extended however to use the bank system on salaries, it must be started before es_extended
Here is an example of how start the cfg
ensure mysql-async
ensure banking-system
ensure es_extended
You can have support on our Discord (FR/ENG)