Thread: [Subplugin Submission] [ZP] Extra Item: Gas Mask
View Single Post
Author Message
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 02-29-2012 , 14:15   [ZP] Extra Item: Gas Mask
Reply With Quote #1


-= [ZP4.3] [ZP5.0] =-

Description:
This plugin add's a new item inside your Human Extra item Menu.
When a player on your server has it it removes any infection grenade that is near him.
In the latest update i removed every cvar so everything is set by default.

How to install:
To install this plugin you need to set "amxx" file inside "plugins" folder to get amxx file you need to compile sma file locally you can find tut here. After that you need to go to your configs and find your "plugins-zp.ini" file (Diffrent for ZP versions). Inside you need to add a line "zp50_gas_mask.amxx" or "zp43_gas_mask.amxx" remember diffrent for ZP4.3 and ZP5.0.

Credits:
Code:
AmineKyo - For testing and supporting me, this man is something special.
Excalibur.007 - For helping me use just engine and not fakemeta. 
micapat - Learned a lot from this person helping me with this code.
Y060N - For confirming message usage.
Changelog:
Code:
1.0 - First release.
1.1 - Fixed first error invalid player.
1.2 - Fixed long range.
1.3 - Remade the plugin.
1.4 - Forgot to check. Optimized.
1.5 - Fixed a new error. Added new color chat.
1.6 - New name new image.
1.7 - Code changed only engine usage. Bool changed to bits.
1.8 - Added cvars, added mask icon.
1.9 - Fixed ham spawn function.
2.0 - Removed PreThink. Added new cvar.
2.1 - Optimized.
2.2 - Zp50 version. Optimized.
3.0 - After a long time rewritten plugin.
v2.2
zp43_gas_mask => 1652 views
zp50_gas_mask => 909 views

v3.0 => Testing
Attached Files
File Type: sma Get Plugin or Get Source (zp43_gas_mask.sma - 3381 views - 3.3 KB)
File Type: sma Get Plugin or Get Source (zp50_gas_mask.sma - 3027 views - 3.5 KB)
__________________

Last edited by H.RED.ZONE; 07-25-2014 at 10:30.
H.RED.ZONE is offline