New Member
10-08-2022
, 14:45
Re: Bank System Nvault/SQL Support
#71
Quote:
Originally Posted by
Supremache
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
Installation top
To install the plugin:
Download the zip file..
Put BankSystem.ini in cstrike/addons/amxmodx/confings
Open addons/amxmodx/configs/plugins.ini and add at the end of this file BankSystem.amxx
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
Code:
#define get_cash(%1) cs_get_user_money(%1)
#define set_cash(%1,%2) cs_set_user_money(%1, %2)
To change it to Ammo Packs, replace the rows with this:
Code:
#define get_cash(%1) zp_get_user_ammo_packs(%1)
#define set_cash(%1,%2) zp_set_user_ammo_packs(%1, %2)
Also, add the natives you use in both rows:
Code:
native zp_get_user_ammo_packs(id)
native zp_set_user_ammo_packs(id, amount)
Or include file:
Code:
#include <zombieplague>
ChangeLog top V 1.0 ( September, 05,2020 ):
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 ):
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 ):
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.
pls
can you help me cromchat not found
how do i add cromchat
https://ibb.co/vPW7hKR