View Single Post
Plugin Info:     Modification:          Category:         
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-05-2020 , 13:50   Bank System Nvault/SQL Support
Reply With Quote #1

Bank System 2.0
Release: September, 05, 2020 | Last Update: April, 15, 2022

Table of Contents

Description top

The plugin adds save players money in the form of the bank.

1.Bank System features:
  • Deposit (Save Cash).
  • Deposit All (Save All Cash).
  • Withdraw (Take Cash).
  • Withdraw All (Take All Cash).
  • Bank balance (Check how much cash you have in your bank).
  • Donate Cash (Transforming cashs).
  • Reset Bank (Opens a menu that shows online players for reset bank).
Images top
Spoiler


Installation top

To install the plugin:
  1. Download the zip file..
  2. Put BankSystem.ini in cstrike/addons/amxmodx/confings
  3. Open addons/amxmodx/configs/plugins.ini and add at the end of this file BankSystem.amxx
  4. Restart the server/change map.

To compile locally:

Credits top
Using this plugin with other currencies top

The plugin also has the option to use native plugins in place of money. In simple words - you can make this plugin work with Ammo Packs, BaseBuilder Credits, JBPacks and more. To do this, you need to edit the following lines (11/12):
Spoiler


ChangeLog top
  • V 1.0 ( September, 05,2020 ):
    • Initial release.
  • V 1.1 ( September, 09,2020 ):
    • Fixed some codes.
    • Added bank system.
    • Added doante money from bank to bank.
  • V 1.2 ( September, 10,2020 ):
    • Added time presents.
  • V 1.3 ( September, 10,2020 ):
    • Edited Codes to use native plugins in place of money, You can make this plugin work with Ammo Packs, BaseBuilder Credits, JBPacks and Other's.
  • V 1.4 ( September, 14,2020 ):
    • Fixed Some codes.
    • Added Lang file.
    • Added CFG file.
    • Transformed define's to cvar's
  • V 1.5 ( September, 16,2020 ):
    • Edited Some codes.
  • V 1.6 ( October, 10,2020 ):
    • Code cleaned.
    • New cvar's for enable/disable options.
    • Used CromChat.
  • V 1.7 ( August, 8, 2021 ):
    • Plugin Remaded.
    • Code Optimized.
    • Add SQL support.
    • Add ini file.
    • Removed GIVE/TAKE/TIMEPRESENT became as bank.
    • Added Natives get_user_bank_cash.
    • Added Natives set_user_bank_cash.
  • V 1.8 ( February, 08, 2022 ):
    • Code Optimized.
    • Natives has been edited to get_user_bank & set_user_bank.
  • V 1.9 ( February, 11, 2022 ):
    • Added an option to to select MySql or Sqlite.
    • Added an option to name nvault.
  • V 2.0 ( April, 15, 2022 ):
    • Added option to save SQL date using IP, name.
Downloads top
  • Need to download CromChat file to compile this plugin.
Attached Files
File Type: ini BankSystem.ini (961 Bytes, 266 views)
File Type: sma Get Plugin or Get Source (Bank.sma - 507 views - 17.4 KB)

Last edited by Supremache; 04-15-2022 at 14:59. Reason: Edited New Updates v2.0
Supremache is offline