Description :--
This plugin introduces a Bank in Counter-Strike.
This Bank provides facilities like a Savings Account(A/C as it will be used later) and a Loan A/C.
Using this plugin, a player can deposit n% (Adjusted in CVars | Default 25%) of the money he has in
his savings A/C and can withdraw it later.
Think of a situation where you need some money but don't have any. Using this plugin, a player can
take a Loan of $n (Also Adjustible | Default $7500). Once a player takes a loan, interest begins
to apply. The default interest rate is 2% per 5 minutes which can be adjusted in CVars.
When the interest applies, the user who took the loan gets a warning message to pay the loan.
If he ignores these messages for n times(Adjustible | Default 3), he gets punished in various ways.
How he will be punished can also be adjusted in CVars.
CVars :--
Spoiler
cs_bank_interest_rate | Determines the interest rate (in percent) applied on loan | Default 2
cs_bank_interest_time | Determines after how much time (in minutes) interest applies | Default 5
cs_bank_save_perc | Determines what percent of money a user can deposit in savings A/C | Default 25
cs_bank_loan_amt | Determines how much loan a player gets from bank | Default $7500
cs_bank_warnings | How much warnings a player gets before he could be punished | Default 3
cs_bank_punish_mode | Punishment mode of the bank Can Take Vaules [1/2/3/4] | Default 1
cs_bank_savings_interest | Interest Rate Allowed on Savings | Default 1
cs_bank_withdraw_limit | Limit of money which can be withdrew at a time | Default 60%
cs_bank_punish_mode
Spoiler
1.) Strip his weapons and set his money to 0
2.) Reduce his health to 1 HP
3.) Kill him and reduce a frag
4.) Disconnect him
Client-Side Commands :--
say /bank - Opens Bank's Main Menu
say /loan - Opens Bank's Loan A/C Menu
say /savings - Opens Your Savings A/C
Credits :-- Jhob94 - Idea For Plugin Security Flick3rR - Idea For Possible Code Optimization + Suggestion for using new menus Changelog
Spoiler
Code:
/* Changelog :--
* =================================================================================================
* v1.3 :-
* Using new menu style.
* Added Feature, Withdraw Limit
* =================================================================================================
* v1.2 :-
* Added performance issue. public plugin_end(){...}
* =================================================================================================
* v1.1 :-
* Implemented Idea Of Jhob95 and FlicK3r (Code improvement + optimization)
* Added Feature : Interest On Savings
* =================================================================================================
* v1.0 :-
* Initial Release
* =================================================================================================
*/