Raised This Month: $ Target: $400
 0% 

Changing w_hegrenade model


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-09-2009 , 14:49   Re: Changing w_hegrenade model
Reply With Quote #3

PHP Code:
public fw_SetModeliEntityszModel[] ) {
    if( !
pev_validiEntity ) )
        return 
FMRES_IGNORED;
    
    if( 
equaliszModel"w_hegrenade.mdl" ) ) {
        new 
szClassname32 ];
        
peviEntitypev_classnameszClassname31 );
        
        if( 
equalszClassname"grenade" ) ) {
            
engfuncEngFunc_SetModeliEntitymodel_waura_shield );
            
            return 
FMRES_SUPERCED;
        }
    }
    
    return 
FMRES_IGNORED;

__________________
xPaw 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 02:22.


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