Raised This Month: $51 Target: $400
 12% 

I want (Can not see the teammates's plugins)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lovealan188
Junior Member
Join Date: Jan 2011
Location: Hong Kong
Old 07-25-2011 , 01:28   I want (Can not see the teammates's plugins)
Reply With Quote #1

I want Can not see the teammates's plugins
help~~

Who can write...
lovealan188 is offline
Aykay
Senior Member
Join Date: Jul 2009
Location: Australia
Old 07-25-2011 , 02:16   Re: I want (Can not see the teammates's plugins)
Reply With Quote #2

https://forums.alliedmods.net/showpo...40&postcount=2

Search.

Don't double post, this is the wrong section, too.
__________________

Aykay is offline
Send a message via MSN to Aykay
lovealan188
Junior Member
Join Date: Jan 2011
Location: Hong Kong
Old 07-25-2011 , 05:23   Re: I want (Can not see the teammates's plugins)
Reply With Quote #3

But I do not want the command
lovealan188 is offline
lovealan188
Junior Member
Join Date: Jan 2011
Location: Hong Kong
Old 07-25-2011 , 05:23   Re: I want (Can not see the teammates's plugins)
Reply With Quote #4

AUTO..........
lovealan188 is offline
2reason2kill
Senior Member
Join Date: Feb 2011
Old 07-25-2011 , 07:49   Re: I want (Can not see the teammates's plugins)
Reply With Quote #5

Quote:
Originally Posted by Aykay View Post
https://forums.alliedmods.net/showpo...40&postcount=2

Search.

Don't double post, this is the wrong section, too.
2reason2kill is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-25-2011 , 10:18   Re: I want (Can not see the teammates's plugins)
Reply With Quote #6

PHP Code:
#include <amxmodx>
#include <cstrike>
#include <fakemeta>
#include <hamsandwich>

#pragma semicolon 1

// set your true/false default values here
new bool:g_bPlayerInvisible true;
new 
bool:g_bWaterInvisible true;

new 
bool:g_bWaterEntity[1386], bool:g_bWaterFound;

new 
g_iSpectatedId[33];

public 
plugin_init( )
{
    
register_plugin"Invis""1.4""SchlumPF");
    
    
register_forwardFM_PlayerPreThink"fwdPlayerPreThink_Pre");
    
register_forwardFM_AddToFullPack"fwdAddToFullPack_Post");
    
    
RegisterHamHam_Spawn"player""hamSpawnPlayer_Post");
}

public 
plugin_cfg( )
{
    
// find all water entitys to make AddToFullPack use less cpu
    
new ent engfuncEngFunc_FindEntityByString, -1"classname""func_water" );
    while( 
ent )
    {
        if( !
g_bWaterFound )
        {
            
g_bWaterFound true;
        }

        
g_bWaterEntity[ent] = true;
        
        
ent engfuncEngFunc_FindEntityByStringent"classname""func_water" );
    }
}

public 
fwdPlayerPreThink_Preplr )
{
    if( !
is_user_aliveplr ) )
    {
        
g_iSpectatedId[plr] = pevplrpev_iuser2 );
    }
}

public 
fwdAddToFullPack_Postes_handleeenthosthostflagsplayerpset )
{
    if( 
player )
    {
        if( 
g_bPlayerInvisible && host != ent )
        {
            if( 
ent != g_iSpectatedId[host] && cs_get_user_teamhost ) == cs_get_user_teament ) )
            {
                
set_eses_handleES_Origin, { 999999999.0999999999.0999999999.0 } );
                
set_eses_handleES_RenderModekRenderTransAlpha );
                
set_eses_handleES_RenderAmt);
            }
        }
    }
    else if( 
g_bWaterInvisible )
    {
        if( 
g_bWaterEntity[ent] )
        {
            
set_eses_handleES_EffectsEF_NODRAW );
        }
    }
}

public 
hamSpawnPlayer_Postplr )
{
    
g_iSpectatedId[plr] = 0;
}

public 
client_connectplr )
{
    
g_iSpectatedId[plr] = 0;

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 18:21.


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