Raised This Month: $51 Target: $400
 12% 

Help Required: TF2 Player Glow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheSpyHunter
Senior Member
Join Date: Jul 2009
Old 10-26-2011 , 07:39   Help Required: TF2 Player Glow
Reply With Quote #1

Hey Guys,

I need some help achieving the following -

Code:
public Action:Command_Glow(client, args)
{
 if(IsClientPlaying(client))
 {
 SetEntProp(client, Prop_Send, "m_bGlowEnabled", 1, 1);
 }
 return Plugin_Handled;
}
1. Is there a way of turning it on when the player is within eyesight of an admin?

2. Is there a way allowing only one player to see m_bGlowEnabled players?
Example I turn on the mode for a spy like predator mode and he can see all other players. But they cannot see the m_bGlowEnabled effect.

Would really appreciate some help.

Many Thanks
__________________

Last edited by TheSpyHunter; 10-26-2011 at 09:10.
TheSpyHunter is offline
TheSpyHunter
Senior Member
Join Date: Jul 2009
Old 10-28-2011 , 18:41   Re: Help Required: TF2 Player Glow
Reply With Quote #2

Had an idea...

Is there any way of attaching the glow effect to dropped halloween gifts?
__________________
TheSpyHunter is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 10-28-2011 , 22:57   Re: Help Required: TF2 Player Glow
Reply With Quote #3

Quote:
Originally Posted by TheSpyHunter View Post
Had an idea...

Is there any way of attaching the glow effect to dropped halloween gifts?
The entity doesn't exist on the server to set it, so that won't work.

But to answer your other questions, it's not possible. Everyone will see the player glow if you set that property. You could set the property if you are near to a player, however. That's possible.
__________________
pheadxdll is offline
thatguyyoulove
Member
Join Date: Nov 2010
Location: North Texas
Old 10-29-2011 , 00:52   Re: Help Required: TF2 Player Glow
Reply With Quote #4

Perhaps you could use something like Cheat Control (http://forums.alliedmods.net/showthread.php?p=600521) and then set it to only allow one player to turn on a certain wallhack type setting (like wireframe mode). I remember there were some special material properties for CS:S that would make only players show through walls, but I don't know if they exist in TF2. I know they were changed to require sv_cheats to activate though.

Not exactly what you were looking for, but similar.

Edit: Just realized you wanted it only for players who were in sight, not everywhere. Not really sure what you could do there.

Last edited by thatguyyoulove; 10-29-2011 at 00:53.
thatguyyoulove is offline
TheSpyHunter
Senior Member
Join Date: Jul 2009
Old 10-29-2011 , 05:31   Re: Help Required: TF2 Player Glow
Reply With Quote #5

Thank you for the replies.
__________________
TheSpyHunter 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 11:55.


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