View Single Post
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 09-20-2008 , 12:38   Re: Zombie Plague Mod 4.06
#1795

ZP EXTRA ITEM : M4 + M203 weapon

Description :

This is again one new Extra item for Humans, and it is very very poverful weapon. You can purchase this weapon through extra items menu and it will cost very expensive to You 30 ammo packs.
This plugin supply a sort of special weapon: M4A1 with M203 grenade launcher.
The M203 can launch 2 type of grenades: He-grenade & Gas-grenade.
He-grenade can hurt players spang with blast damage & Gas-grenade hurt player who touch the "gas".

You can always change weapon cost if You want it.
PHP Code:
#define M4_M203_COST 30 
Cvars :

Code:
    ZP_SpawnMode 0|1|2 
//"0" means superweapon never spawn but can been buy by client command, (admin still can give it to any player by admin command)
//"1" means auto, superweapon will auto spawn in general maps(DE|CS|AS|ES)
//"2" means superweapon will auto spawn in all type of maps
        
    ZP_M4StripMode 0
//"0" means only strip superweapon(still keep default m4a1) 
//"1" means strip the holder's superweapon & default m4a1

    ZP_M4Price 12000    
//m4 + m203's price, include all type of grenades with max amount

    ZP_MaxAmount_TE 5    
//max amount of terrorists can holded m4 with m203

    ZP_MaxAmount_CT 5    
//max amount of cts can holded m4 with m203

    ZP_GrenadeTK 0    
//40mm hegrenade team kill,"0" is secundum server's rule, "1" is TK in any case

    ZP_GrenadeRT 3.0
//grenade reload time

    ZP_HeGrenadeMD 250
//40mm he grenade max damage

    ZP_HeGrenadeDR 500
//40mm he grenade damage radius

    ZP_HeGrenadeMC 2
//40mm he grenade's max amount can been carried

    ZP_HeGrenadePR 500
//40mm he grenade's price

    ZP_GasGrenadeMD 350
//40mm gas grenade max damage

    ZP_GasGrenadeDR 235    
//40mm gas grenade damage radius

    ZP_GasGrenadeMC 2
//40mm gas grenade's max amount can been carried

    ZP_GasGrenadePR 500
//40mm gas grenade's price
NOTE THIS : You can buy this weapon only 5 weapons per Team that means
Code:
ZP_MaxAmount_TE 5    
//max amount of terrorists can holded m4 with m203

    ZP_MaxAmount_CT 5    
//max amount of cts can holded m4 with m203
But of course You can change it.

One more thing if You want to buy this weapon as others buy money then You need to uncomment this line :
PHP Code:
//register_clcmd("say /buyswm4", "hook_clcmd_buyswm4") 
Admin Commands :
PHP Code:
Admin Commands : ( with admin level_a)

1.Give or strip player's superweapon :

        amx_zp_m4 <#id | name> <give | strip>

{<#playerindex|name(can be partial)> <g(means give M4A1/W M203)|s(means strip target'
s superweapon if he has>}")


2.Change superweapon mode :

        amx_zp_set <0 | 1 | 2>

    "
0" means stop SW mode(also strip all sw)

    "
1" means start it by CVAR(ZP_SpawnMode)'s setting

    "
2" means start anywise 
And of course Credits :
Code:
        Credits :
        
        CZ*Ryu         - For his M4 with M203 mod
        VEN & more     - For helping CZ*Ryu create this mod.

Model maker:    Ankalar, CJ, TinSoldier, S7ok3, Dirtball, Pr0d!gy, Ritual, Rob O, Jennifer!!,
        SureShot, Nightshade, Sas.stu, -X-, Vunsata
P.S Models are included in this pack.

When You test it please give me a feedback.
Attached Files
File Type: rar zp_m4_m203 v0.1.rar (2.01 MB, 6729 views)
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline