Thread: [Suggestion / Subplugin Request] [Request] Mine destroy punisher
View Single Post
artos
Senior Member
Join Date: Mar 2010
Old 04-25-2010 , 10:52   Re: [Request] Mine destroy punisher
Reply With Quote #49

Ok, here you go.

Code:
[ZP] ExtraItem: Laser Mine 2.6 [Final]

Author: SandStriker
Version: 2.3.1

Editors: Shidla / QuZ / DJ_WEST
Version: 2.6 Final
Language: English and Russian

Requirements:

PHP Code:
:<amxmodx><fakemeta><hamsandwich><xs><zombieplague
Description: This plugin allows the player to set lasermine on the wall. You can buy lasermine through chat command (/lm), extra items menu or via console (buy_lasermine). Lasermine costs 2 ammopacks (defined by cvar) Lasermines are disabled in nemesis and survivor round. Binds: +setlaser - Sets lasermine on wall +dellaser - Puts back lasermine in your inventory If u want enable buying lasermines on survivor/nemesis round, change code here:
PHP Code:
if( !get_pcvar_numg_LENABLE ) || zp_is_nemesis_round() || zp_is_survivor_round() || !zp_has_round_started()) 
Cvars: All cvars can be found in zp_ltm_cvars_ap.cfg file. All cvars can be changed as you like. If u want change cost in extra item menu, edit this line: new const LMCost = 2 This is the price in extra item menu, the real price is defined by this "zp_ltm_cost" CFG file: zp_ltm_cvars_ap.cfg - "addons\amxmodx\configs" Changelog:
Quote:
12/10/2009 - v2.3.2: First public release 09/04/2010 - v2.4: Added multilanguage support; added lasermine as extra item; added new model; added new explosion sprite; lasermines won't dissapeard after round end (fixed); changed laser color; added cvar for turning on/off ff destroying laser mines. 24/04/2010 - v2.5: Added compatibility with "Snark Infector" and "Barnacle" 25/04/2010 - v2.6: Added compatibility with "Weapon Physics" (causes terrible bugs); added some constants
Your Shidla[SGC]
It will look like here:

[ZP] ExtraItem: Laser Mine 2.6 [Final]

Author: SandStriker
Version: 2.3.1

Editors: Shidla / QuZ / DJ_WEST
Version: 2.6 Final
Language: English and Russian

Requirements:

PHP Code:
:
<
amxmodx>
<
fakemeta>
<
hamsandwich>
<
xs>
<
zombieplague
Description:

This plugin allows the player to set lasermine on the wall.
You can buy lasermine through chat command (/lm), extra items menu or via console (buy_lasermine).

Lasermine costs 2 ammopacks (defined by cvar)

Lasermines are disabled in nemesis and survivor round.

Binds:

+setlaser - Sets lasermine on wall
+dellaser - Puts back lasermine in your inventory

If u want enable buying lasermines on survivor/nemesis round, change code here:

PHP Code:
if( !get_pcvar_numg_LENABLE ) || zp_is_nemesis_round() || zp_is_survivor_round() || !zp_has_round_started()) 
Cvars:
All cvars can be found in zp_ltm_cvars_ap.cfg file. All cvars can be changed as you like.

If u want change cost in extra item menu, edit this line:
new const LMCost = 2
This is the price in extra item menu, the real price is defined by this "zp_ltm_cost"

CFG file:
zp_ltm_cvars_ap.cfg - "addons\amxmodx\configs"

Changelog:

Quote:
12/10/2009 - v2.3.2: First public release
09/04/2010 - v2.4: Added multilanguage support; added lasermine as extra item; added new model; added new explosion sprite; lasermines won't dissapeard after round end (fixed); changed laser color; added cvar for turning on/off ff destroying laser mines.
24/04/2010 - v2.5: Added compatibility with "Snark Infector" and "Barnacle"
25/04/2010 - v2.6: Added compatibility with "Weapon Physics" (causes terrible bugs); added some constants
Your Shidla[SGC]

Last edited by artos; 04-25-2010 at 10:59.
artos is offline
Send a message via Skype™ to artos