SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Filterscripts (https://forum.sa-mp.com/forumdisplay.php?f=17)
-   -   [FilterScript] Bank System [Edit] (https://forum.sa-mp.com/showthread.php?t=578904)

Jakwob 22/06/2015 09:32 PM

Bank System
 
Hi guys i was browsing the SA-MP forums and found this cool fiterscript from a member called UltraScripter, i posted to him and told him his code was good and easy for newbies to work with, in the replies to his topic some members were asking him to make the bank have a interior, and he then went on to tell them he wanted it commands only, and thats all he was doing, so i took it upon myself to show the other comment posters that its easy to add the interior. So when i started i was flooded with ideas, so here is what i have came up with.

Original Post here.

Features:
  • Bank Assistants (Actors)
  • Bank Interior
  • Withdraw Money
  • Deposit Money
  • Balance Textdraw

Commands:
  • /gotobank
  • /changelog
  • /balance [removed]

Requirements:
  • y_ini.inc - Download
  • zcmd.inc - Download
  • SIF.inc - Download
  • sscanf2.inc - Download
  • sscanf.dll/.so - Download
  • Message2.inc - Download
  • streamer.dll/.so
  • streamer.inc

Installation:
  • Copy all the files provided into the correct folders.
  • Add the required plugins into the server.cfg file
  • Add "Bank" to the filterscritpt line in the server.cfg
  • Add "BankAccounts" folder to scriptfiles folder if you have not done so.
  • Compile the Bank.pwn
  • Run your server.
  • Enjoy the filterscript.

Credits:
UltraScripter - For the original code.
Jakwob - For the Bank interior, bank assistants and his Message2.inc.
Southclaw - for his Southclaw's Interaction Framework.
Zeex - For the command processor.
****** - for his YSI and his sscanf.


Downloads:
Version 1.0
Bank.zip (solidfiles)

Version 1.1
Bank.zip (solidfiles)

Changelog:
03/07/2015
  • REMOVED DIALOG IDS AND ADDED NAMES TO PREVENT ID CONFUSION
  • Moved saving to a seprate function to help clean up code
  • Removed Changelog command.
  • Now your new bank balance shows in the receipt dialog
  • New Balance textdraw for easy viewing
  • Removed Balance dialog and balance command as its no longer needed
  • Added colors to the dialogs
  • SendClientMessage is no longer used!

Screenshots:
http://i61.tinypic.com/xmir8i.jpg
http://i58.tinypic.com/25g89wo.jpg
http://i57.tinypic.com/33vzsyd.jpg
http://i59.tinypic.com/1z885x.jpg
http://i58.tinypic.com/33cyrgk.jpg
http://i59.tinypic.com/2mh6gro.jpg

UltraScripter 22/06/2015 09:37 PM

Re: Bank System [Edit]
 
Good job :D

Younes44 22/06/2015 09:53 PM

Re: Bank System [Edit]
 
Good job dude..
keep ur works up

XStormiest 22/06/2015 10:26 PM

Re: Bank System [Edit]
 
Nice, i like actually that you took an ideea and improved it.

I have a question in mind, if I may ask:
1. Did you take his script and continued with your ideeas or started from scratch with the ideea of bank? If you did it from scratch then congratiolations else good job 2 but in this case I hope you asked the original author for permission.
+REP from me in both cases.

Jakwob 22/06/2015 11:08 PM

Re: Bank System [Edit]
 
Thanks for the comments guys.

XStormiest I have spoken with the owner of the original owner and he had seen what I have done and he is completely fine with it and if any proof is needed I could provide. And I'm sure the owner will confirm. Anyway check out the original post and you can see the difference, all I did was give what the people in the comments wanted. Thank you anyway for your comment

McKee 23/06/2015 09:49 PM

Re: Bank System [Edit]
 
Good job

SecretBoss 24/06/2015 06:02 AM

Re: Bank System [Edit]
 
Good Job, but actors will not work with 0.3z and lower version so its not recommended for 0.3z servers

X337 24/06/2015 06:54 AM

Re: Bank System [Edit]
 
Nice Jakwob :D

Konverse 24/06/2015 06:56 AM

Re: Bank System [Edit]
 
This is a very useful filter script. Nicely done

VenomMancer 24/06/2015 09:23 AM

Re: Bank System [Edit]
 
Nice job dude


All times are GMT. The time now is 01:48 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.