Raised This Month: $51 Target: $400
 12% 

Suggestion / Subplugin Request [Sub-plugin Request]Antidote bomb - Extra item


Post New Thread Reply   
 
Thread Tools Display Modes
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 05-18-2010 , 09:43   Re: [Sub-plugin Request]Antidote bomb - Extra item
Reply With Quote #71

Quote:
Originally Posted by zombiiiizzz View Post
any ideas?
use abdul code. tested no bug found
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
zombiiiizzz
BANNED
Join Date: Apr 2010
Old 05-19-2010 , 11:20   Re: [Sub-plugin Request]Antidote bomb - Extra item
Reply With Quote #72

not working, still overwrites flare after buying it.
zombiiiizzz is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 05-19-2010 , 13:09   Re: [Sub-plugin Request]Antidote bomb - Extra item
Reply With Quote #73

Obviuosly it has to overrride a grenade before it can be used....!!!
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
zombiiiizzz
BANNED
Join Date: Apr 2010
Old 05-19-2010 , 15:45   Re: [Sub-plugin Request]Antidote bomb - Extra item
Reply With Quote #74

Quote:
Originally Posted by abdul-rehman View Post
Obviuosly it has to overrride a grenade before it can be used....!!!
Quote:
Originally Posted by zombiiiizzz View Post

so when i buy it's ok.. but then every round overrides the flare nade and i got a free antibomb on avery new round in place of the flare nade :/ .. how to fix this ???
any ideas?
[/quote]

normaly i got a fire, 2 frost and flare nade... i dont wanna overwrite it WHEN im not requesting it... after i buy the antidote nade THEN in next round came up in place of flare nade.. ON NEW ROUND !!!!
zombiiiizzz is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 05-19-2010 , 15:47   Re: [Sub-plugin Request]Antidote bomb - Extra item
Reply With Quote #75

OK i will make an Advanced Antidote Bomb after the exams..OK..?
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 05-20-2010 , 00:30   Re: [Sub-plugin Request]Antidote bomb - Extra item
Reply With Quote #76

Quote:
Originally Posted by abdul-rehman View Post
OK i will make an Advanced Antidote Bomb after the exams..OK..?
Oh, boy. You will be busy to help everyone after the exams . Good luck
__________________
albert123 is offline
zombiiiizzz
BANNED
Join Date: Apr 2010
Old 05-20-2010 , 11:25   Re: [Sub-plugin Request]Antidote bomb - Extra item
Reply With Quote #77

Quote:
Originally Posted by abdul-rehman View Post
OK i will make an Advanced Antidote Bomb after the exams..OK..?

Quote:
Originally Posted by albert123 View Post
Oh, boy. You will be busy to help everyone after the exams . Good luck
ok, glad u understand and good luck with last exam ;)
zombiiiizzz is offline
Oneshox
BANNED
Join Date: May 2010
Location: Germany
Old 05-20-2010 , 11:27   Re: [Sub-plugin Request]Antidote bomb - Extra item
Reply With Quote #78

Last paper on 25 may or you'll get it back on 25 ? (get ur noth)
Oneshox is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 05-20-2010 , 11:39   Re: [Sub-plugin Request]Antidote bomb - Extra item
Reply With Quote #79

Code:
#include < amxmodx >
#include < fakemeta >

new bool:bHasAntidoteGrenade [ 33 ]

#define NADE_TYPE_ANTIDOTE    137136

public plugin_init ( )
{
    register_plugin ( "SHIT", "CRAP", "LOL" )
    
    register_forward ( FM_SetModel, "fw_SetModel" )
}

public fw_SetModel ( pEntity, const szModel [ ] )
{
    if ( pEntity < 0 )
        return FMRES_IGNORED
        
    static iOwner
    iOwner = pev ( pEntity, pev_owner )
        
    if ( bHasAntidoteGrenade [ iOwner ] && equal ( szModel [ 7 ], "w_sm", 4 ) )
    {
        // Reset default nade type
        set_pev ( pEntity, pev_flTimeStepSound, 0 )
        
        // Add our one
        set_pev ( pEntity, pev_flTimeStepSound, NADE_TYPE_ANTIDOTE )
    }
    return FMRES_IGNORED
}
__________________


Last edited by NiHiLaNTh; 05-20-2010 at 11:40. Reason: Small typo
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Oneshox
BANNED
Join Date: May 2010
Location: Germany
Old 05-20-2010 , 11:41   Re: [Sub-plugin Request]Antidote bomb - Extra item
Reply With Quote #80

Quote:
Originally Posted by NiHiLaNTh View Post
Code:
#include < amxmodx >
#include < fakemeta >

new bool:bHasAntidoteGrenade [ 33 ]

#define NADE_TYPE_ANTIDOTE    137136

public plugin_init ( )
{
    register_plugin ( "SHIT", "CRAP", "LOL" )
    
    register_forward ( FM_SetModel, "fw_SetModel" )
}

public fw_SetModel ( pEntity, const szModel [ ] )
{
    if ( pEntity < 0 )
        return FMRES_IGNORED
        
    static iOwner
    iOwner = pev ( pEntity, pev_owner )
        
    if ( bHasAntidoteGrenade [ iOwner ] && equal ( szModel [ 7 ], "w_sm", 4 ) )
    {
        // Reset default nade type
        set_pev ( pEntity, pev_flTimeStepSound, 0 )
        
        // Add our one
        set_pev ( pEntity, pev_flTimeStepSound, NADE_TYPE_ANTIDOTE )
    }
    return FMRES_IGNORED
}
thats code for w_ model ?
Oneshox is offline
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 22:52.


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