mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
Made footstep muting work for CS:GO. (#445)
This commit is contained in:
parent
c9582393da
commit
ad6256a1fc
@ -189,13 +189,11 @@ public void OnPluginStart()
|
|||||||
|
|
||||||
// cache
|
// cache
|
||||||
gEV_Type = GetEngineVersion();
|
gEV_Type = GetEngineVersion();
|
||||||
|
|
||||||
sv_disable_immunity_alpha = FindConVar("sv_disable_immunity_alpha");
|
sv_disable_immunity_alpha = FindConVar("sv_disable_immunity_alpha");
|
||||||
|
|
||||||
if(gEV_Type == Engine_CSS) // doesn't exist in CS:GO :/
|
sv_footsteps = FindConVar("sv_footsteps");
|
||||||
{
|
sv_footsteps.Flags &= ~(FCVAR_NOTIFY | FCVAR_REPLICATED);
|
||||||
sv_footsteps = FindConVar("sv_footsteps");
|
|
||||||
sv_footsteps.Flags &= ~(FCVAR_NOTIFY | FCVAR_REPLICATED);
|
|
||||||
}
|
|
||||||
|
|
||||||
// spectator list
|
// spectator list
|
||||||
RegConsoleCmd("sm_specs", Command_Specs, "Show a list of spectators.");
|
RegConsoleCmd("sm_specs", Command_Specs, "Show a list of spectators.");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user