I know there's alot, this is specially made for Zombie Plague 5.0
Features:- Auto-Save & Auto-Load
- Bank limit & block starting ammo packs
- Supports nVault & SQLx
- Donate function
- Bank Help that uses MOTD
- Supports pruning in days(1.2.0 and above)
CVars:- zp_bank_auto_save "1" - Server will auto save when client disconnect and map changes
- zp_bank_auto_load "1" - Server will auto load when client has a valid STEAM ID
- zp_bank_limit "1000" - Limits the maximum amount of ammo packs in one bank storage
- zp_bank_block_start "1" - Blocks starting ammo packs
- zp_bank_advertise_interval "60.0" - Every X seconds for bank help chat.
Commands:- /withdraw, withdraw
Code:
/withdraw 100
/withdraw all
- /deposit, deposit
Code:
/deposit 100
/deposit all
- /donate, donate
Code:
/donate 100 NoobBeggar
- /bank
- /bankhelp
Admin Commands(Console):[*]bank_reset <days>
Changelog:- 1.0.0 - Initial release
- 1.1.0 - ML Support
- 1.1.5 - CVars to enable auto save and auto load
- 1.2.0 - Added pruning function
- Updated translations in addons folder & added spanish
Language added in ML:
Changing MOTD text
At source file, search(Ctrl+F)
then you should see this
PHP Code:
len += format(msg[len], SIZE - len, "<html><body>")
len += format(msg[len], SIZE - len, "<p>[BANK COMMANDS]<br/>")
len += format(msg[len], SIZE - len, "------------------------------------------------------------------------</p>")
len += format(msg[len], SIZE - len, "/withdraw <amount> or /withdraw all<br/>")
len += format(msg[len], SIZE - len, "- Withdraws an amount of ammo packs from the bank storage</p>")
len += format(msg[len], SIZE - len, "------------------------------------------------------------------------</p>")
len += format(msg[len], SIZE - len, "/deposit <amount> or /deposit all</p>")
len += format(msg[len], SIZE - len, "------------------------------------------------------------------------</p>")
len += format(msg[len], SIZE - len, "- Deposits an amount of ammo packs to the bank storage</p>")
len += format(msg[len], SIZE - len, "- Checks your bank status</p>")
len += format(msg[len], SIZE - len, "------------------------------------------------------------------------</p>")
len += format(msg[len], SIZE - len, "/donate <amount> <player's name> </p>")
len += format(msg[len], SIZE - len, "- Donates an amount of ammo packs to the specified player</p>")
len += format(msg[len], SIZE - len, "------------------------------------------------------------------------</p>")
len += format(msg[len], SIZE - len, "Note: Commands can be entered without ^"/^" infront.</p>")
len += format(msg[len], SIZE - len, "</body></html>")
show_motd(player, msg, "Bank Help")
Edit this to the text you want.
Notes:- SQLx isn't fully tested but nVault is.
- For /donate, you do not have to type the whole name. It's similar to amx_slap/slay. Donating to bots is disabled.
- Addition ammo packs are returned if you deposited and the bank is more than 1000. Also applies to donating.
Want to contribute?
This bank needs more translations. CLICK
HERE TO POST YOUR TRANSLATIONS HERE.