Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Choose the survivor weapon 2.0 [10/06/13]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 04-12-2009 , 12:05   [ZP] Choose the survivor weapon 2.0 [10/06/13]
Reply With Quote #1

[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)
Attached Thumbnails
Click image for larger version

Name:	cws.JPG
Views:	9146
Size:	73.2 KB
ID:	126537  
Attached Files
File Type: sma Get Plugin or Get Source (zp_cws42-43.sma - 4489 views - 4.5 KB)
File Type: sma Get Plugin or Get Source (zp_cws50.sma - 3544 views - 4.3 KB)
File Type: cfg zp_cws_weapons.cfg (387 Bytes, 3006 views)
__________________

Last edited by alan_el_more; 10-30-2013 at 07:29. Reason: Updated plugin
alan_el_more is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode