Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 2.68 KB

README.md

File metadata and controls

66 lines (43 loc) · 2.68 KB

[ESX] Banking

Discord - Website - Documentation

A beautiful and Easy-To-Use Banking & ATM system for ESX

BANK UI

esx_banking_pic1

ATM UI

esx_banking_pic2 esx_banking_pic3

Special thanks: Gellipapa#9186,Rav3n95#2849,Csoki, csontvazharcos, Füsti, Pécé

Download & Installation

Installation

  • Add this to your server.cfg:
ensure esx_banking

Database

Run the banking.sql into your database. Done.

If you want to create a bank log in another script, you can do it this way!

IMPORTANT this is only log, these method not handle full bank service

I recommend to use the money logic after.

client side

TriggerServerEvent("esx_banking:logTransaction",label,logType,amount)

The list of client-side parameters is the same as the server-side parameters, only the first parameter is different because the client-side has no source.

For example: TriggerServerEvent("esx_banking:logTransaction","TAX", "DEPOSIT", 2000)

server side

exports["esx_banking"]:logTransaction(source,label,logType,amount)

- First param: source - player source
- Second param: label - Only text for example: CAR PURCHASE
- Third param: logType - WITHDRAW,DEPOSIT,TRANSFER_RECEIVE you can only use these log types!
- Fourth param: amount - The amount to be logged

For example: exports["esx_banking"]:logTransaction(source,"CAR PURCHASE","WITHDRAW",200)

Legal

License

esx_banking - banking script for ESX

Copyright (C) 2023 ESX-Framework

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.

You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.