Friday 3 July 2015

Bank v1.1

This is a updated version of my original Bank filterscript and is more improved, to see what has changed scroll down and read the change log section.

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.

Features:

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


Commands:

  • /gotobank
  • /changelog
  • /balance [Removed]


Requirements:

  • y_ini.inc
  • zcmd.inc
  • SIF.inc
  • sscanf2.inc
  • sscanf.dll/.so
  • Message2.inc
  • 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.
y_less - 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: