Raised This Month: $ Target: $400
 0% 

[Solved] Addtofullpack + ES_RenderMode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-12-2009 , 09:58   [Solved] Addtofullpack + ES_RenderMode
Reply With Quote #1

PHP Code:
public fwd_AddToFullPack_postes_handleeenthosthostflagsplayerpset ) {
    if( 
player ) {
        if(
g_bPlrSolid[host]) {
            
set_eses_handleES_SolidSOLID_NOT );
            
set_eses_handleES_RenderModekRenderTransAlpha );
            
set_eses_handleES_RenderAmt100 );
            
            if( 
get_user_flags(host) & ADMIN_LEVEL_C ) {
                
set_eses_handleES_RenderModekRenderFxGlowShell );
                
set_eses_handleES_RenderColor, {13900} );
            }
            else if( !(
get_user_flags(host) & ADMIN_LEVEL_C ) && host == g_iBestClimber ) {
                
set_eses_handleES_RenderModekRenderFxGlowShell );
                
set_eses_handleES_RenderColor, {1551400} );
            }
        }
    }

like you see i'm trying to do admin transpert + set it glow, but its not working.

btw who can give me an example howto use format(); ?
__________________

Last edited by xPaw; 01-12-2009 at 11:01.
xPaw is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 01-12-2009 , 10:59   Re: Addtofullpack + ES_RenderMode
Reply With Quote #2

you have to check if it a ent valid

1 <= ent <= 32

host= ent to see other ent

ent= the other ent.

Well sorry my poor english
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 01-12-2009 , 11:18   Re: [Solved] Addtofullpack + ES_RenderMode
Reply With Quote #3

PHP Code:
else if( host == g_iBestClimber 
is enough.

PHP Code:
new Buffer192 ], xPaw32 ];
copyxPaw31"else" );
formatBuffersizeof Buffer 1"text or something %s"xPaw ); 
__________________

anakin_cstrike is offline
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 01:47.


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