Skip to content
/SLASHPLAY

How to hide names when aiming at players in CS2

Type hud_showtargetid 0 in your game console to hide the name that appears when your crosshair is over a player.

hud_showtargetid

Toggles the name shown when your crosshair is over another player.

hud_showtargetid <0|1>

Examples

hud_showtargetid 0

Hide target names.

Values

ValueWhat it does
0 Off
1 On

Arguments

0|1Required
1 shows names, 0 hides them.

What it does

Shows the name of the player you aim at. Turning it off removes the name text from the middle of the screen.

The game's own description: Enables display of target names

Use it in your game

Type it in your own game console: turn on the developer console in the game's settings, then press the key under Esc. To keep it, put the line in game/csgo/cfg/autoexec.cfg.

Your own
CS2 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.