source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[HL2MP] Fix hud_showtargetid doing nothing

Open speedvoltage opened this issue 9 months ago • 0 comments

Issue: The client console ConVar hud_showtargetid does... absolutely nothing. It is declared but never referenced elsewhere in the code, meaning that setting it to 0 has no effect on hiding the target ID when aiming at a player.

Fix: Implement the missing functionality by checking the value of hud_showtargetid and conditionally displaying or hiding the HUD target ID when the player aims at another player.

speedvoltage avatar Mar 14 '25 21:03 speedvoltage