Raised This Month: $ Target: $400
 0% 

Block HE nade explosion


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Javivi
AlliedModders Donor
Join Date: Dec 2008
Old 07-30-2010 , 10:23   Re: Block HE nade explosion
Reply With Quote #8

Um, its not working... when i try to throw a nade... SVC_BAD

PHP Code:
public fw_NadeThink(iEntity)
{
    if (!
pev_valid(iEntity))
    {
        return 
FMRES_IGNORED
    
}

    new 
szModel[25]
    
pev(iEntitypev_modelszModel24)

    if (
equali(szModel"models/w_hegrenade.mdl"))
    {
        new 
Float:fDmgTime
        pev
(iEntitypev_dmgtimefDmgTime)

        if (
fDmgTime <= get_gametime() && fDmgTime != 0.0)
        {
            
client_print0print_chat"HI" )
            
//func_nade_explode(iEntity)
            
return FMRES_SUPERCEDE
        
}
    }
    return 
FMRES_IGNORED

__________________
Javivi is offline
 



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:10.


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