Skip to content

esx-framework/esx_banking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[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.

Param Type Explanation
source number the source of the player (server side only)
label string The label of the transaction
logType string "WITHDRAW", "DEPOSIT", "TRANSFER_RECEIVE" the possible transactions
amount number The amount of the transaction to be logged
-- Client side
-- The event is used client side

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

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


-- Server side
-- The export is used server side
exports["esx_banking"]:logTransaction(source,label,logType,amount)

-- 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/.