fix silly mistake (convars not created clientside)
This commit is contained in:
parent
f95f6bac74
commit
cb528ad9a8
@ -1,4 +1,15 @@
|
||||
|
||||
local MAX_SFX = 3
|
||||
|
||||
CreateConVar("cl_tinnitus", 1, {FCVAR_ARCHIVE, FCVAR_USERINFO}, "Tinnitus setting", 0, MAX_SFX)
|
||||
CreateConVar("cl_tinnitus_override", 0, {FCVAR_ARCHIVE, FCVAR_USERINFO}, "Override server-side tinnitus setting", 0, 1)
|
||||
CreateConVar("cl_tinnitus_custom", "", {FCVAR_ARCHIVE, FCVAR_USERINFO}, "Custom tinnitus sound file (31 character limit)")
|
||||
CreateConVar("cl_tinnitus_custom_dsp", 0, {FCVAR_ARCHIVE, FCVAR_USERINFO}, "Enable or disable DSP on custom sound file", 0, 1)
|
||||
|
||||
CreateConVar("sv_tinnitus", 1, {FCVAR_ARCHIVE, FCVAR_REPLICATED}, "Tinnitus setting", 0, MAX_SFX)
|
||||
CreateConVar("sv_tinnitus_custom", "", {FCVAR_ARCHIVE, FCVAR_REPLICATED}, "Custom tinnitus sound file")
|
||||
CreateConVar("sv_tinnitus_custom_dsp", 0, {FCVAR_ARCHIVE, FCVAR_REPLICATED}, "Enable or disable DSP on custom sound file", 0, 1)
|
||||
|
||||
function tinnitus_panel(CPanel)
|
||||
CPanel:AddControl("Header", {Description = "Don't like the server's tinnitus setting? Enable the override and choose what you want here."})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user