Raised This Month: $32 Target: $400
 8% 

[ZP] Extra Item : MP5 Nade Launcher ( Updated !!)


Post New Thread Reply   
 
Thread Tools Display Modes
Clear
Senior Member
Join Date: Feb 2009
Location: Lithuanian
Old 07-27-2009 , 10:58   Re: [ZP] Extra Item : MP5 Navy Grenade Launcher
Reply With Quote #11

hei is it available to drop wis wepon if not plz make it
__________________
Clear is offline
Send a message via Skype™ to Clear
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 07-27-2009 , 11:03   Re: [ZP] Extra Item : MP5 Navy Grenade Launcher
Reply With Quote #12

What do you mean ??
1) You mean when buy MP5 , drop primary weapon you're holding.
2) Or you can drop weapon MP5 . >> Already ??
__________________
5c0r-|3i0 is offline
denwer
Member
Join Date: Apr 2009
Location: Poland
Old 07-27-2009 , 11:05   Re: [ZP] Extra Item : MP5 Navy Grenade Launcher
Reply With Quote #13

Quote:
Originally Posted by 5c0r-|3i0 View Post
@denwer: That's my intention to make it disable next round . Not a bug
Can you make secound version where MP5 is enabled on next round?
denwer is offline
Clear
Senior Member
Join Date: Feb 2009
Location: Lithuanian
Old 07-27-2009 , 11:06   Re: [ZP] Extra Item : MP5 Navy Grenade Launcher
Reply With Quote #14

just drop wis wepon then take it just get wis wepon like jetpack minigun and more and why i cant download amxx file gey eror failed compile
__________________

Last edited by Clear; 07-27-2009 at 11:08.
Clear is offline
Send a message via Skype™ to Clear
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 07-27-2009 , 11:14   Re: [ZP] Extra Item : MP5 Navy Grenade Launcher
Reply With Quote #15

@denwer: It's possible by making a cvar
@Clear:
1) That will take a lot of work . Let me think about it .
2) Compile it locally in on your computer
5c0r-|3i0 is offline
Clear
Senior Member
Join Date: Feb 2009
Location: Lithuanian
Old 07-27-2009 , 11:16   Re: [ZP] Extra Item : MP5 Navy Grenade Launcher
Reply With Quote #16

i will try later i will find more plugin can remake it to zobmie plugue
__________________
Clear is offline
Send a message via Skype™ to Clear
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 07-27-2009 , 15:06   Re: [ZP] Extra Item : MP5 Navy Grenade Launcher
Reply With Quote #17

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <engine>
#include <cstrike>
#include <fun>
#include <zombieplague>
#include <hamsandwich> 


You need to learn more dude...
PHP Code:
public forward_playerprethink(id)
{
    if(
is_user_alive(id) && !zp_get_user_zombie(id) && get_user_weapon(id) == CSW_MP5NAVY)
    {
        if (
entity_get_int(idEV_INT_button) & IN_ATTACK2)
        {
            
launch_nade(id)
            return 
FMRES_IGNORED
        
}
    }
    return 
FMRES_IGNORED

Use FM_CmdStart

PHP Code:
#define TE_BEAMFOLLOW 22 
TE_BEAMFOLLOW is already defined in message_const.inc

// ---------

The zp_extra_item_selected looks like shit, use this

PHP Code:
public zp_extra_item_selected(playeritemid)
{
    if (
itemid == g_hegren)
    {
        if(!
g_mp5[player])
        {
            
client_print(playerprint_chat"[ZP] First you need a MP5 Grenade Launcher")
            
zp_set_user_ammo_packs(playerzp_get_user_ammo_packs(player)+COST)
            
            return;
        }
        
        
ammo_hud(player,0);
        
g_ammo[player] += 2
        client_print
(player,print_chat,"[ZP] You bought 2 grenade");
        
ammo_hud(player,1);
    }
    
    if(
itemid == g_mp5navy)
    {    
        if(
g_mp5[player] && user_has_weapon(playerCSW_MP5NAVY))
        {
            
client_print(playerprint_chat"[ZP] You already have a MP5 Grenade Launcher")
            
zp_set_user_ammo_packs(playerzp_get_user_ammo_packs(player)+MP5COST)
            
            return;
        }
        
        
give_item(player,"weapon_mp5navy")
        
client_print(player,print_chat,"[ZP] You bought a MP5 Navy Nade Launcher")
        
client_print(player,print_chat,"[ZP] Buy grenade only when you're out of grenade.")
        
cs_set_user_bpammo(player,CSW_MP5NAVY,200)
        
g_mp5[player] = true
        g_ammo
[player] = 2
        ammo_hud
(player,1)
    }
    

You need to start the Plugin from "0", its the best option.

PD: Maybe i will create this from 0, using Ham and FM only.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross

Last edited by meTaLiCroSS; 07-27-2009 at 18:49.
meTaLiCroSS is offline
Old 07-27-2009, 20:32
5c0r-|3i0
This message has been deleted by 5c0r-|3i0.
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 07-28-2009 , 02:51   Re: [ZP] Extra Item : MP5 Navy Grenade Launcher
Reply With Quote #18

Beta version released, redownload it .
__________________
5c0r-|3i0 is offline
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 07-28-2009 , 03:14   Re: [ZP] Extra Item : MP5 Navy Grenade Launcher
Reply With Quote #19

If i find a new Mp5 model, i will tell you
__________________
albert123 is offline
Clear
Senior Member
Join Date: Feb 2009
Location: Lithuanian
Old 07-28-2009 , 12:32   Re: [ZP] Extra Item : MP5 Navy Grenade Launcher
Reply With Quote #20

hey can you add cvar with no damage for you (player with wis gun) and make when is new round the wepon will not remove
add p model and w because wis wepon droped looks like normal mp5
and is posible add wis wepon for surviver

sory for bad english
__________________
Clear is offline
Send a message via Skype™ to Clear
Reply



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 00:02.


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