CS2 & CS:GO spec_show_xray Command

CS:GO & CS2 Compatible
spec_show_xray <0 / 1>

This command enables (1) and disables (0) x-ray in demos and overwatch (i.e. when you are spectating), showing the outlines of players through walls.

Argument Information

The syntax for this command is as follows:
Name Description
0 / 1

Set to 0 to disable x-ray when spectating. Set to 1 to enable x-ray when spectating.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
No
Client or Server Command
Client
Default Value
1
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
Ad

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

spec_show_xray 0
1/1 arguments filled
0 / 1

spec_show_xray Examples

spec_show_xray 0

This command disables x-ray (default setting).

spec_show_xray 1

This command enables x-ray.