Raised This Month: $ Target: $400
 0% 

A dummy question about addtofullpack


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-12-2011 , 05:05   A dummy question about addtofullpack
Reply With Quote #1

Like title said, i want to glow some entities on addtofullpack forward. i want only that player who has that ability to see entities glowing. But i tried something like this but doesn't work

PS: code isn't indented but you know what i am talking about

PHP Code:
register_forwardFM_AddToFullPack"forward_AddToFullPackPost");
        
public 
forward_AddToFullPackPostes_handleeenthosthostflagsplayerpSet )
{
    if( !
player || !is_user_alivehost ) || !pev_valident ) )
    {
        return 
FMRES_IGNORED;
    }
     
    new 
szClassname30 ];
    
peventpev_classnameszClassnamecharsmaxszClassname ) );
        
        if( 
equalszClassname"hostage_entity" ) )
        {
               
set_eses_handleES_RenderFxkRenderFxGlowShell );
        
set_eses_handleES_RenderColor, { 127255} );
        
set_eses_handleES_RenderAmt13 );
         }

        return 
FMRES_IGNORED;

__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
 



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 14:31.


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