Giter VIP home page Giter VIP logo

banking-system's Introduction

Banking System

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

⚠️ Becareful, this script replaces completely the banking system of ESX, it will be necessary to adapt some things in order to adapt your scripts to the banking system.

To adapt your scripts go see how to use Exports (server side)

Purchase History

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.

ESX Salary [Jobs]

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

How to adapt salary ?

Here is an example of how start the cfg

ensure mysql-async
ensure banking-system
ensure es_extended

⚠️ Do not change the name of the resource or the visual interface (NUI) will not work.

You can have support on our Discord (FR/ENG)

Capture d’écran 2022-04-27 223321 Capture d’écran 2022-04-27 223344 Capture d’écran 2022-04-27 223359

banking-system's People

Contributors

ahcenezdh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.