CSGOLuckGuides

hud_showtargetid

Shows the name of the player you aim at.

Verified for current CS2 versionVariableHUDUpdated
hud_showtargetid 1

Examples

hud_showtargetid 1

How to use it

  1. Turn on the console under Settings, Game, Enable Developer Console.
  2. Press the key under Esc to open it.
  3. Type hud_showtargetid followed by a value and press Enter.
  4. To keep the setting, add the same line to your autoexec.cfg.

FAQ

Does hud_showtargetid need sv_cheats?

No. hud_showtargetid is not cheat-protected in CS2's command list, so you can use it in any game.

What is the default value of hud_showtargetid?

The default is 1 (true). To reset it, type hud_showtargetid 1 in the console.

More hud commands

Revision history

Related guides