Raised This Month: $ Target: $400
 0% 

[Cs:Go] Problems with invisibility


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diversity
AlliedModders Donor
Join Date: Jan 2018
Location: Constanta, Romania
Old 06-02-2019 , 16:27   [Cs:Go] Problems with invisibility
Reply With Quote #1

Code:
if(IsClientNotMoving(Buttonsd) && !IsClientInAir(client, Flags)) {
                    if(b_isClientInv[client] == false) {
                        b_isClientInv[client] = true;
                        PrintToChat(client, "variabila b_isClientInv este acum: %d", b_isClientInv[client]);

                        for(new ids = 0; ids < 2; ids++) {
                            SetEntityRenderMode(client, RENDER_NONE);
                            SetEntityRenderColor(client, 255, 255, 255, 0);
                            PrintToChat(client, "Am setat invizibilitate de: %d", ids);
                        }
                        
                    }
                }
                if(IsMoveButtonsPressed(Buttonsd)) {
                    if(b_isClientInv[client] == true) {
                        b_isClientInv[client] = false;
                        PrintToChat(client, "variabila b_isClientInv este acum: %d", b_isClientInv[client]);
                        SetEntityRenderMode(client, RENDER_NORMAL);
                        SetEntityRenderColor(client, 255, 255, 255, 255);
                    }
                }
i maked that in OnPlayerRunCmd() and its not working.
Diversity is offline
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 06-03-2019 , 07:51   Re: [Cs:Go] Problems with invisibility
Reply With Quote #2

sv_disable_immunity_alpha 1

In commandline?
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<
andi67 is offline
Diversity
AlliedModders Donor
Join Date: Jan 2018
Location: Constanta, Romania
Old 06-03-2019 , 11:14   Re: [Cs:Go] Problems with invisibility
Reply With Quote #3

Quote:
Originally Posted by andi67 View Post
sv_disable_immunity_alpha 1

In commandline?
Thanks
Diversity 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 07:48.


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