Raised This Month: $ Target: $400
 0% 

[REQ] CSS Knife Invisibility


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
liquid321
Junior Member
Join Date: Apr 2006
Old 10-22-2013 , 21:50   [REQ] CSS Knife Invisibility
Reply With Quote #1

Hello,

I am looking for a plugin that makes a player transparent (not completely invisible) when they have their knife equipped. when they switch their weapon to something other then a knife, they should go go fully visible.

Any help would be greatly appreciated.

Thank you
liquid321 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 10-23-2013 , 16:09   Re: [REQ] CSS Knife Invisibility
Reply With Quote #2

See if this works... I'm not somewhere where I can test this, so test first before putting in production

Set color and transparency with this CVar:

"sm_kt_values" "R G B A"

example: "sm_kt_values" "255 200 255 100"
This would make them slightly purple and semi transparent. Or leave the first three at 255 to only adjust the transparency.
Attached Files
File Type: sp Get Plugin or Get Source (knife_transparent.sp - 213 views - 2.9 KB)
__________________
View my Plugins | Donate
TnTSCS is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 10-23-2013 , 20:46   Re: [REQ] CSS Knife Invisibility
Reply With Quote #3

Quote:
Originally Posted by TnTSCS View Post
See if this works... I'm not somewhere where I can test this, so test first before putting in production

Set color and transparency with this CVar:

"sm_kt_values" "R G B A"

example: "sm_kt_values" "255 200 255 100"
This would make them slightly purple and semi transparent. Or leave the first three at 255 to only adjust the transparency.
Don't forget to also set the transparency of the knife itself! I remember people being really freaked out at twenty hovering knives floating around the map.
__________________
databomb is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 10-23-2013 , 21:28   Re: [REQ] CSS Knife Invisibility
Reply With Quote #4

I was thinking about that, but it wasn't what was requested...

Quote:
Originally Posted by liquid321 View Post
... looking for a plugin that makes a player transparent ...
I am a creature of not reading into things and taking them at face value I think maybe that's my way of teaching people to be thorough in what they request.
__________________
View my Plugins | Donate

Last edited by TnTSCS; 10-23-2013 at 21:28.
TnTSCS 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 12:49.


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