[ZP] Choose the survivor weapon 2.0
[Zombie Plague 4.2/4.3 & 5.* compatibility]
Description:
When you are a survivor, this plugin will show you a menu
where you can choose the primary weapon or random weapon
Cvar:
zp_cws_enable- Enables/disables the plugin.
Commands:
zp_cws_add_weapon <Weapon Name> <weapon_*> - Add weapon
- <
Weapon Name> Ex: "Ak-47", "Glock 18", "Gold Ak-47" (If you have custom weapons available for survivor)
- <
weapon_*> See weapon_* constants
here
Ex: zp_cws_add_weapon "Dual MP5 Navy" weapon_mp5navy
Don't forget to put quotes in Weapon Name
IMPORTANT !
If you add a wrong weapon_* or you add only one weapon, the plugin doesn't work
Check server console to check which are wrong
Installation:
- Compile sma
- Put compiled plugin into \cstrike\addons\amxmodx\plugins
- Put zp_cws_weapons.cfg into \cstrike\addons\amxmodx\configs
- If you want change weapons, open zp_cws_weapons.cfg
Changelog:
HTML Code:
1.6 - First Version
1.6.1 - Optimized Code (Thanks Nextra :D)
1.7 - Fixed some errors and now survivor have unlimited clip
2.0 - Fully rewritten code. Now it's more optimized, clean and customizable
- Removed secondary weapon
- ML deleted
Bugs or Suggestions:
Post it in this thread or send me PM
To do:
- Remove weapons by another command like zp_cws_remove_weapon
Notes:
-If you use
Zombie Plague 5.*, download
zp_cws50.sma, if you use
Zombie Plague 4.2 or 4.3, download
zp_cws42-43.sma
-Added weapons will appears in the next round
-Default weapons: M249, Ak-47, M3, XM1014, Deagle
Servers running this plugin
V1.6: +100 downloads
V1.6.1: +140 downloads
V1.7: +8300 downloads
Enjoy my plugin and my english without translator (I hope it's fine)