SA-MP Forums Archive
[FilterScript] Bank System by Blademaster680 - 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] Bank System by Blademaster680 (/showthread.php?tid=469723)



Bank System by Blademaster680 - Blademaster680 - 14.10.2013

I made this bank system for my server and thought I could share it with you guys.
You need to be inside the bank and type "/bank"

You can check your balance, withdraw money, deposit money, transfer money to other players accounts.
You guys just need to change "PlayerInfo[playerid][pBank]" to whatever defines you are using.

This is my first release so please tell me what you think
If you guys like it I will add a PayDay system that links to this bank system.

Version 3 Upcoming:
Ability to rob the bank.

Version 2:
Y-INI save system
MySQL save system
Bugs fixed
No code errors

How to install:
Y_INI:
1. Copy everything in the Y_INI folder into your server folder.
2. In your server.cfg add "bank_ini" on the filterscript line.

MySQL:
1. Copy everything in the MySQL folder into your server folder.
2. In your server.cfg add "bank_sql" on the filterscript line.
3. Import the database into your MySQL database.

Images:




License:
Do not repost without my written permission.
Do not remove the credits.

Credits:
Blademaster680
Jystylezzz

Download:
PasteBin:
http://pastebin.com/5P8rwAC0
MediaFire:
http://www.mediafire.com/?p9u4vcjf5ru33lg

V2.0:
MySQL:
Bank-System (MySQL).rar
Y_INI:
Bank-System (Y-INI).rar

Please let me know if there are any bugs.


Re: Bank System by Blademaster680 - SAMProductions - 14.10.2013

Awesome, Great Work. Keep it up


Re: Bank System by Blademaster680 - Blademaster680 - 14.10.2013

Forgot to declare it as a FS sorry Xd. But fixed it now. Enjoy


Re: Bank System by Blademaster680 - Duduzinho - 14.10.2013

It does not even have saved 1 through rescue


Re: Bank System by Blademaster680 - Blademaster680 - 14.10.2013

I dont understand what you mean?
Quote:

It does not even have saved 1 through rescue




Re: Bank System by Blademaster680 - MahdiHammami - 14.10.2013

Great job


Re: Bank System by Blademaster680 - Blademaster680 - 14.10.2013

Thank you


Re: Bank System by Blademaster680 - HoboGamings - 14.10.2013

How do i get the .amx im new to filterscripts and stuff


Re: Bank System by Blademaster680 - Blademaster680 - 14.10.2013

Ok I have found a few bugs and i am busy fixing them . Will be fixed and up tomorow morning with the .amx attached to it


Re: Bank System by Blademaster680 - Duduzinho - 15.10.2013

I mean if the FS save Equals DOF2, SII It Saves Money


Re: Bank System by Blademaster680 - Jankingston - 15.10.2013

nyc, +rep


Re: Bank System by Blademaster680 - ZBits - 22.12.2013

Nice work, but if it was MySQL or SQlite it would be great!


Re: Bank System by Blademaster680 - Alphlax - 22.12.2013

Well done


Re: Bank System by Blademaster680 - FoxGaming - 22.12.2013

Very good... and some reputation..


Re: Bank System by Blademaster680 - XStormiest - 22.12.2013

In the pastebin version i found many errors just by looking into, you're using a variable that you don't have it .
Also some minor mistakes that i found there, but anyway for a newbie is good ...


Re: Bank System by Blademaster680 - Blademaster680 - 25.12.2013

Quote:

Nice work, but if it was MySQL or SQlite it would be great!

Sure thing MySQL version being made now


Re: Bank System by Blademaster680 - EvanA - 25.12.2013

Maybe you can add the ability for someone to rob a bank and steal one's money in the next version.


Re: Bank System by Blademaster680 - Blademaster680 - 28.02.2014

Quote:

Maybe you can add the ability for someone to rob a bank and steal one's money in the next version.

Cool will add it to the to do list