slight adjustments

This commit is contained in:
edshot99 2024-12-27 02:29:20 -06:00
parent d48f474929
commit 494ea4c5c4
2 changed files with 5 additions and 5 deletions

View File

@ -21,12 +21,12 @@ hook.Add("NetworkIDValidated", "edshot_aad_NetworkIDValidated", function(name, s
end
if badGroup then
RunConsoleCommand("say", "[System Message] Steam ID '" .. steamID .. "' is being family shared from '" .. ownerID32 .. "' and has been automatically placed in Mega Noob.")
RunConsoleCommand("say", "'" .. steamID .. "' is being family shared from '" .. ownerID32 .. "' and has been automatically placed in Mega Noob.")
else
RunConsoleCommand("ulx", "asay", "[System Message] Steam ID '" .. steamID .. "' is being family shared from '" .. ownerID32 .. "', but owner is not Mega Noob.")
RunConsoleCommand("ulx", "asay", "'" .. steamID .. "' is being family shared from '" .. ownerID32 .. "', but owner is not Mega Noob.")
end
else
RunConsoleCommand("ulx", "asay", "[System Message] Steam ID '" .. steamID .. "' is being family shared from '" .. ownerID32 .. "', but owner is not in any ULX group.")
RunConsoleCommand("ulx", "asay", "'" .. steamID .. "' is being family shared from '" .. ownerID32 .. "', but owner has not joined the server before or played 2+ hours.")
end
end
end)

View File

@ -1,4 +1,4 @@
local MAX_SFX = 3
CreateConVar("cl_tinnitus", 1, {FCVAR_ARCHIVE, FCVAR_USERINFO}, "Tinnitus setting", 0, MAX_SFX)
@ -34,5 +34,5 @@ function tinnitus_panel(CPanel)
end
hook.Add("PopulateToolMenu", "edshot_custom_tinnitus_panel", function()
spawnmenu.AddToolMenuOption("Options", "Tinnitus", "edshot_custom_tinnitus_panel", "Settings", "", "", tinnitus_panel)
spawnmenu.AddToolMenuOption("Options", "Player", "edshot_custom_tinnitus_panel", "Tinnitus", "", "", tinnitus_panel)
end)