This is not a new plugin, thus I did not post in the new plugin submission section. This is:
amx_bank --> converted to work with ammo packs --> added bank upgrades
Conversion and Bank Upgrades, add by Emp`
defines:
max_limits = maximum ammo packs bank can hold
max_inttime = how many rounds until you gain interest
max_interest = interest rates
AUTO_DEP = number of ammo packs needed (for lvl 2) in order for ammo packs to be auto matically deposited.
Cost Limit = cost for each upgrade
Limit = Amount of levels
Feel free to make more levels/ take away some leves, but DO NOT edit 3 levels for Auto_deposit.
Auto_deposit =
lvl 1 = nothing
lvl 2 = deposit every X(default 50)
lvl 3 = deposit on disconect (and map change)
In game commands:
/bank
bank_menu
maxwit
maxdep
Quote:
#define MAX_LIMITS 5
new Limit[MAX_LIMITS] = { 1000, 2000, 3000, 4000, 5000 }
new CostLimit[MAX_LIMITS-1] = { 500, 1000, 1500, 2000 };
#define MAX_INTTIME 5
new IntTime[MAX_INTTIME] = { 30, 20, 15, 10, 5 }
new CostIntTime[MAX_INTTIME-1] = { 1000, 1500, 3000, 5000 };
#define MAX_INTERESTS 5
new Float:Interest[MAX_INTERESTS] = { 0.01, 0.05, 0.1, 0.15, 0.2 }
new CostInterest[MAX_INTERESTS-1] = { 100, 500, 1000, 2000 };
#define MAX_AUTODEP 3
new CostAutoDep[MAX_AUTODEP-1] = { 100, 1000 };
#define AUTO_DEP 50 //with the first level, they will deposit if they go over this much
|
Get the most updated version
HERE
__________________