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-22 11:35:14 -06:00
parent 7e130bb464
commit 5e1b6471a5
2 changed files with 4 additions and 5 deletions

View File

@ -33,10 +33,6 @@ local rtChipLister = GetRenderTarget( RENDER_TARGET_NAME, SCREEN_SIZE, SCREEN_SI
local INFO_OFFSET_OWNER = 0
local INFO_OFFSET_CHIP = 0
local TOGGLE_DIST_SQR = TOGGLE_DIST ^ 2
local matChipLister = CreateMaterial( "cfc_chiplister_screen", "UnlitGeneric", {
["$basetexture"] = RENDER_TARGET_NAME,
["$model"] = 1,
} )
local IsValid = IsValid
local getPlayerByUID = Player

View File

@ -7,7 +7,10 @@ local function createChipListerClientConVar( name, default, save, userinfo, text
return convar
end
local matChipLister = Material( "!cfc_chiplister_screen" )
local matChipLister = CreateMaterial( "cfc_chiplister_screen", "UnlitGeneric", {
["$basetexture"] = RENDER_TARGET_NAME,
["$model"] = 1,
} )
local HUD_ENABLED = createChipListerClientConVar( "cfc_chiplister_hud_enabled", 0, true, false, "Whether or not to display the chip lister on your screen at all times.", 0, 1 )
local HUD_SCALE = createChipListerClientConVar( "cfc_chiplister_hud_scale", 0.2, true, false, "The size of the chip lister on your HUD, scaled by your screen width.", 0, 1 )