Jump to content

[REL]atm_system


Dazee

Recommended Posts

Introducing the ATM_SYSTEM GUI: Your All-in-One Solution for Virtual Financial Transactions on your MTA server

Are you tired of navigating through complicated menus just to access basic virtual banking features on your MTA SERVER? Look no further! The ATM SYSTEM has got you covered. With a sleek design and user-friendly interface, you can easily manage your virtual finances in a matter of seconds.

Here are some of the features that the ATM GUI offers:

  1. Deposit money quickly and easily.
  2. Withdraw money with just a few clicks.
  3. Transfer funds to other online/offline accounts on the server.
  4. Get transfer confirmations to avoid accidental transfers.
  5. Enable/disable receiving transfers from other users with the /settings bank command.
  6. Enjoy a simple and visually appealing GUI.
  7. Use the double-click feature by clicking on one of your balances this will add your on-hand or bank balance to the amount field for faster deposits and withdrawals.

To access the ATM GUI, simply type /mobileatm in-game.

Notes:

If you experience any bugs feel free to reply with your issues and I'll do my best to help!

Link to the community resource

How the UI looks:

UITransfer UI

Edited by Dazee
updated
Link to comment

I just updated this resource to version 1.3.0

https://community.multitheftauto.com/in ... s&id=12425

(+)Redesigned the GUI a bit

(+)Some optimizations with the client side

(+)Added an option so that you can disable other people sending you money (/settings bank) works like a light switch. (!)Working on transfer limit.

(!)Finished the physical ATMS and functionality just need to place them all over the map which is coming soon.

Link to comment
  • 1 month later...

Bump, I updated the resource to 1.4.0 after a long time and there's some major additions.

https://community.multitheftauto.com/in ... s&id=12425

(+)Added a transfer confirmation window.

(+)Made it so when you click on your balance two times or on your on hand balance in the GUI the amount it shows is inserted into the edit box for quick deposits/withdrawals of all of your money at once.

(+)Removed a lot of unnecessary code from the resource making it faster.

(+)Made it so that new players when they try to deposit/withdraw money for the first time their account data balance will be set to 0 so they can use the ATM normally.

(+)Fixed bug where u could open multiple ATM GUI's from console

(+)Fixed arithmetic operation bugs that would sometimes show up in console.

The video got taken down for some reason I will make a new one soon :P

Link to comment
  • 7 years later...

Bump, the resource has received a somewhat major behind the scenes rework and now works with the latest version of the game
Long overdue update 6 years later ?
General code refactoring employing better practices than before (I hope)


https://community.multitheftauto.com/index.php?p=resources&s=details&id=12425


modified buttonsStatus function mobile_atm_c.lua
modified onPlayerClickBtnTransfer2 mobile_atm_c.lua
modified transferMoney function mobile_atm_s.lua
modified receiveDeposit function in mobile_atm_s.lua
modified withdrawMoney function in mobile_atm_s.lua
modified onPlayerClickBtnClose in mobile_atm_c.lua
implemented possibly the dumbest way to handle 3 colors local RED = {255, 0, 0} local R,E,D = unpack(RED) oh well :[ in mobile_atm_s.lua
fixed grammar mistake of function name receiveDeposit mobile_atm_s.lua
moved ATM1 global variable into transferConfirmation function mobile_atm_c.lua
moved ATMGUI global variable into openATMGui function mobile_atm_c.lua
removed testFunction in mobile_atm_s.lua
fixed bug where the current balance wasn't being displayed if the value didn't exist now it instead displays $0 if the value doesn't exist in the account data

Feedback is appreciated!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...