Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Extra Item : Strip Bomb


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 05-26-2010 , 16:52   Re: [ZP] Extra Item : Strip Bomb
Reply With Quote #1

1-
Change this:
PHP Code:
    if(pev(entitypev_flTimeStepSound) == NADE_TYPE_STRIPBOMB)
        
stripbomb_explode(entity)
 
    return 
HAM_SUPERCEDE 
To this:
PHP Code:
    if(pev(entitypev_flTimeStepSound) == NADE_TYPE_STRIPBOMB)
    {
        
stripbomb_explode(entity)
        return 
HAM_SUPERCEDE
    
}
    return 
HAM_IGNORED 
Because this is a mistake which sniffer did in his plugin and if you wont fix it then you will experience problems with HE grenades
Read the following if you can understand it:
Basically returning Ham_supercede will cause hamsandwich to prevent other nades from exploding so we only want it to happen when we are exploding the strip bomb
And in the end of the function it is necessary to return Ham_ignored so that if the nade is of different type then hamsandwich will led it explode.
Hope you understand my concept..
2-
If Fry! sees this he will kill you
Bcoz you completely cheated his posting style...!!
3-
The idea of the plugin is cool
__________________

My Plugins For ZP

Inactive due to College and Studies

Last edited by abdul-rehman; 05-26-2010 at 16:54.
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
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 15:25.


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