Thread: [FilterScript] Bank System [Edit]
View Single Post
Old 22/06/2015, 09:32 PM   #1
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 247
Reputation: 27
Default 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:






Last edited by Jakwob; 03/07/2015 at 10:32 AM. Reason: Updated to version 1.1
Jakwob is offline   Reply With Quote