Raised This Month: $32 Target: $400
 8% 

50% Invisibility


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Russianeer
SourceMod Donor
Join Date: Feb 2011
Old 05-16-2011 , 20:21   50% Invisibility
Reply With Quote #1

Need some kind of render function to perform this. Tried many different things with
Code:
SetEntityRenderColor
and
Code:
SetEntityRenderMode
nothing seemed to work.

Are there any other options I can use?

Last edited by Russianeer; 05-16-2011 at 20:56.
Russianeer is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-16-2011 , 21:06   Re: 50% Invisibility
Reply With Quote #2

This works for me in L4D2:
Code:
SetEntityRenderMode(entity, RENDER_TRANSCOLOR);
SetEntityRenderColor(entity, 255, 255, 255, 128);
Where 128 is the opacity from 0-255.
__________________
Silvers 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 21:34.


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