Raised This Month: $ Target: $400
 0% 

check grenade owner


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 01-08-2011 , 07:42   check grenade owner
Reply With Quote #1

Is it possible to get the grenade owner in FM_SetModel forward so it will set specific world model only if the owner is in specific team.
PHP Code:
public forward_model(entity,const model[])
{
    if(!
pev_valid(entity))
    {
        return 
FMRES_IGNORED;
    }
    
    if ( 
model] == 'm' && model] == 'w' && model] == '_' && model] == 'h')
    {
                
engfunc(EngFunc_SetModel,entity,model_nade_world);
                
fm_set_trail(entity,255,255,255,255);
                return 
FMRES_SUPERCEDE;
    }

SpeeDeeR 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:13.


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