We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce641a3 commit 9fff012Copy full SHA for 9fff012
1 file changed
src/Modules/Invisible.cs
@@ -112,19 +112,6 @@ public static void OnTick()
112
113
pawn.ShadowStrength = alpha < 128f ? 1.0f : 0.0f;
114
Utilities.SetStateChanged(pawn!, "CBaseModelEntity", "m_flShadowStrength");
115
-
116
- foreach (var weapon in pawn.WeaponServices!.MyWeapons)
117
- {
118
- weapon.Value!.ShadowStrength = alpha < 128f ? 1.0f : 0.0f;
119
- Utilities.SetStateChanged(weapon.Value!, "CBaseModelEntity", "m_flShadowStrength");
120
121
- if (alpha < 128f)
122
123
- weapon.Value!.Render = Color.FromArgb((int)alpha, pawn.Render);
124
- Utilities.SetStateChanged(weapon.Value!, "CBaseModelEntity", "m_clrRender");
125
- _entities.Add(weapon.Value!);
126
- }
127
128
}
129
130
0 commit comments