Raised This Month: $ Target: $400
 0% 

Player's invisibility


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KamiN
Senior Member
Join Date: Jun 2011
Old 11-30-2011 , 16:10   Player's invisibility
Reply With Quote #1

Is there any other way to make invisible player than this one?

Code:
set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 0);
Becouse if in options u set "swoftware" renderer u can clearly see those "invisible" players.
KamiN is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 11-30-2011 , 16:34   Re: Player's invisibility
Reply With Quote #2

Quote:
Originally Posted by KamiN View Post
Is there any other way to make invisible player than this one?

Code:
set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 0);
Becouse if in options u set "swoftware" renderer u can clearly see those "invisible" players.


get new pc
dont use software
problem solved
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Menethil
Senior Member
Join Date: Aug 2011
Old 11-30-2011 , 16:53   Re: Player's invisibility
Reply With Quote #3

or block the software mode.
Menethil is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 11-30-2011 , 17:12   Re: Player's invisibility
Reply With Quote #4

Use set_entity_visibility() to solve that.
http://www.amxmodx.org/funcwiki.php?go=func&id=407
__________________
Полный похуизм.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-01-2011 , 04:46   Re: Player's invisibility
Reply With Quote #5

http://forums.alliedmods.net/showpos...43&postcount=5
Devil259 is offline
KamiN
Senior Member
Join Date: Jun 2011
Old 12-01-2011 , 07:50   Re: Player's invisibility
Reply With Quote #6

Quote:
Originally Posted by Flipper_SPb View Post
Use set_entity_visibility() to solve that.
http://www.amxmodx.org/funcwiki.php?go=func&id=407

Can u give an example how to make invisible ct's?

Code:
.........
case DAY_INVISIBILITY:
            {    
                if(IsPlayer(i) && is_user_alive(i))
                {    
                    switch(cs_get_user_team(i))
                    {
                        case CS_TEAM_T:
                        {
                          .......
                        }
                        
                        case CS_TEAM_CT:
                        {
                         ???
                        }
                    }
                }

....

            }

...........
And how to make them visible again if "case DAY_INVISIBILITY" is not active?
KamiN 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 08:34.


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