summaryrefslogtreecommitdiff
path: root/gamemode/cl_hud/draw_blockhud.lua
blob: 9aa499431b0912889b9468831c3cd1f40272d9ec (plain)
1
2
3
4
5
6
7
8
9
local Blocks = {}

function GM:AddBlockCHud(Str)
	if (!table.HasValue(Blocks,Str)) then table.insert(Blocks,Str) end
end

hook.Add( "HUDShouldDraw", "ShouldDraw", function( name )
	if (table.HasValue(Blocks,name)) then return false end 
end)