27 lines
773 BLFS
Lua
Executable File
27 lines
773 BLFS
Lua
Executable File
Hook.Add("roundStart", "No highlight on item", function()
|
|
AttemptGUI()
|
|
end)
|
|
Hook.Add("stop", "Reenable highlight on item", function()
|
|
EnableItemHighlight()
|
|
end)
|
|
function AttemptGUI()
|
|
Timer.Wait(function()
|
|
if (GUI != nil) then
|
|
print("GUI.GUI.DisableItemHighlights = true")
|
|
GUI.GUI.DisableItemHighlights = true
|
|
else
|
|
print("NoItemHighlight AttemptLevel")
|
|
AttemptLevel()
|
|
end
|
|
end, 35)
|
|
end
|
|
function EnableItemHighlight()
|
|
if (GUI != nil) then
|
|
print("GUI.GUI.DisableItemHighlights = false")
|
|
GUI.GUI.DisableItemHighlights = false
|
|
else
|
|
print("NoItemHighlight AttemptLevel")
|
|
AttemptLevel()
|
|
end
|
|
end
|