1
0
mirror of https://github.com/CFC-Servers/cfc_chip_lister.git synced 2025-03-04 03:03:14 -05:00
This commit is contained in:
legokidlogan 2022-08-28 14:10:34 -06:00
parent afa0504016
commit b9394a84e7

View File

@ -1,9 +1,4 @@
local listerPanel
local matChipLister = CreateMaterial( "cfc_chiplister_screen", "UnlitGeneric", {
["$basetexture"] = "cfc_chiplister_rt",
["$model"] = 1,
} )
local function createListerPanel()
if IsValid( listerPanel ) then
@ -27,6 +22,11 @@ local function createListerPanel()
end
CreateMaterial( "cfc_chiplister_screen", "UnlitGeneric", {
["$basetexture"] = "cfc_chiplister_rt",
["$model"] = 1,
} )
concommand.Add( "cfc_chiplister_open_hud", createListerPanel, nil, "Opens the Chip Lister as a HUD element." )
net.Receive( "CFC_ChipLister_OpenHUD", createListerPanel )