Quote:
Originally Posted by Lux
I think this is what that gamemode toggles in l4d2 to disable glows,
PHP Code:
m_bSurvivorGlowEnabled (offset 16384) (type integer) (bits 1) (Unsigned)
i'v not tested but just a guess from a name.
For l4d1 only thing i can think of is using sendproxy perplayer entprop version i don't remember which github fork it is on, to set everyone to see everyone else on different teams or
If infected are going to be disabled for CS gamemode
PHP Code:
SetEntPropFloat(client, Prop_Send, "m_itTimer", 9999999.0, 1);
doing that everytime they respawn, altho this does blur the screen abit out of ideas for l4d1 sorry.
|
I have used the "m_bSurvivorGlowEnabled" but it has not worked for me, maybe I'm doing it wrong, but I just did a test.
PHP Code:
public void OnPluginStart()
{
RegAdminCmd("sm_glow", ToggleSurvivorGlow, ADMFLAG_ROOT, "Toggles the survivor glow");
}
public Action ToggleSurvivorGlow(int client, int args)
{
for (new i = 1; i <= MAXPLAYERS; i++)
{
SetEntProp(i, Prop_Send, "m_bSurvivorGlowEnabled", 0);
SetEntProp(i, Prop_Send, "m_glowColorOverride", 0);
}
}
So I need more help, hopefully someone can help me with this removal of the glow.