Raised This Month: $2 Target: $400
 0% 

player invisibility


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jugule
Member
Join Date: Apr 2020
Old 06-12-2020 , 18:15   player invisibility
Reply With Quote #1

Hi, I'm trying to use a function to make a player invisible, this function worked, but now it suddenly doesn't work. How do you think I could make an invisible player?
The function at the moment is:
SetEntityRenderMode (client, RENDER_TRANSCOLOR);
SetEntityRenderColor (client, 255, 255, 255, 0);

I also tried sv_disable_immunity_alpha "1".

Last edited by jugule; 06-12-2020 at 18:17.
jugule is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 06-13-2020 , 04:30   Re: player invisibility
Reply With Quote #2

PHP Code:
SetEntityRenderMode(clientRENDER_NONE); 
__________________
Ilusion9 is offline
jugule
Member
Join Date: Apr 2020
Old 06-13-2020 , 07:03   Re: player invisibility
Reply With Quote #3

Quote:
Originally Posted by Ilusion9 View Post
PHP Code:
SetEntityRenderMode(clientRENDER_NONE); 
not working
jugule is offline
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 06-13-2020 , 07:10   Re: player invisibility
Reply With Quote #4

sv_disable_immunity_alpha 1 (sm_cvar sv_disable_immunity_alpha) check if you test the code
PHP Code:
SetEntityRenderMode(clientRENDER_TRANSCOLOR);
SetEntityRenderColor(client2552552550); 
Kellan123 is offline
jugule
Member
Join Date: Apr 2020
Old 06-13-2020 , 07:34   Re: player invisibility
Reply With Quote #5

Quote:
Originally Posted by Kellan123 View Post
sv_disable_immunity_alpha 1 (sm_cvar sv_disable_immunity_alpha) check if you test the code
PHP Code:
SetEntityRenderMode(clientRENDER_TRANSCOLOR);
SetEntityRenderColor(client2552552550); 
I also tried sv_disable_immunity_alpha 1.
jugule is offline
Reply


Thread Tools
Display Modes

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 06:16.


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