SA-MP Forums Archive
[FilterScript] greenBank - a simple bank system ( Y_INI ) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] greenBank - a simple bank system ( Y_INI ) (/showthread.php?tid=418240)



greenBank - a simple bank system ( Y_INI ) - greentarch - 24.02.2013

Introduction
This is my second filterscript I have published at SA-MP forums.
It is a basic bank system, that is using Y_INI to save the player's files.
( NOTE: The bank can be opened everywhere using /bank )

Features
1) Dialog-based.
2) 1 command.
pawn Код:
"/bank" -> "Shows up the bank menu"
3) Abilities to :
pawn Код:
"Balance" -> "View your bank balance"
"Deposit" -> "Deposit some of your money to your bank account"
"Withdraw" -> "Withdraw some of your money from your bank account"
Pictures
NOTE: Click on the link!
http://prntscr.com/ty1d6
http://prntscr.com/ty1m2
http://prntscr.com/ty1rx
http://prntscr.com/ty1ui
http://prntscr.com/ty238
http://prntscr.com/ty266
http://prntscr.com/ty29r

How to install
1) Paste the script from the pastebin link.
2) Compile the script
-> You must have the YSI library.
3) CREATE A FOLDER AT SCRIPTFILES called "greenBank" ( without the quotes ), or else the filterscript will not save.
4) Add the filterscript at server.cfg ( Make sure it is the first filterscript or it can cause some conflicts with Dialog IDs )
5) Ingame, type /bank to open the bank account.

Download
http://pastebin.com/Djq6XjKW

Credits
****** => YSI Library.
Creator of IsNumeric.

Bugs
None. Please report if you found one

Have fun with the script


Re: greenBank - a simple bank system ( Y_INI ) - JaKe Elite - 24.02.2013

Nice and Simple. Rep+


Re: greenBank - a simple bank system ( Y_INI ) - siemka321 - 22.09.2013

Hey, I'm having problems with this bank system. Whenever there are more than 1 people on the server, the bank doesn't deposit and you can't withdraw. It gets buggy or something. But when I'm alone in the server, I can deposit and withdraw without any problems. Anyone know why is that?


Re: greenBank - a simple bank system ( Y_INI ) - FireNation - 22.09.2013

Nice work.


Re: greenBank - a simple bank system ( Y_INI ) - x96664 - 23.09.2013

Won't it be better if you are able to access the dialogs only if you are in the bank building?


Re: greenBank - a simple bank system ( Y_INI ) - CesarLT - 23.09.2013

Look really nice, I might use that, thank you!


Re: greenBank - a simple bank system ( Y_INI ) - XxBaDxBoYxX - 23.09.2013

really liked it, rep+


Re: greenBank - a simple bank system ( Y_INI ) - Swyft™ - 23.09.2013

Nice and Simple, Nice job!