🧿 How to Enable X-Ray (WallHack) and Other Hidden Features in CS2 — Offline Only
💙 This guide is made only for offline mode — local lobbies and demo viewing. Here you’ll find safe methods to enable X-Ray for demos/spectator mode, plus helpful training commands: grenade trajectory, rethrow, bullet impacts, noclip, and more. These commands are not available in matchmaking or VAC-secured servers.
1️⃣ X-Ray in Demos and Spectator Mode
The safest and most legitimate X-Ray is in demos or spectator mode. It works without cheats and requires just one console command.
✅ Command: spec_show_xray 1 — enables X-Ray while watching a demo or match.
✅ Quick toggle: bind x "toggle spec_show_xray 0 1" — toggle on/off with X.
This kind of X-Ray lets you see players through walls during demo reviews — perfect for learning timing and rotations. It doesn’t work during live play.
2️⃣ Why “r_drawothermodels 2” No Longer Works
In CS:GO, many players used r_drawothermodels 2 together with sv_cheats 1 in offline mode. In CS2 this method is disabled or unstable — it no longer works properly. Instead, use the safe offline tools below.
3️⃣ How to Create an Offline Practice Lobby
1️⃣ Start a local match (Practice/with bots) and open the console.
2️⃣ Enable cheats: sv_cheats 1
3️⃣ Recommended setup:
• mp_warmup_pausetimer 1 — infinite warmup
• sv_infinite_ammo 1 — infinite grenades/ammo
• ammo_grenade_limit_total 5 — more grenades per slot
4️⃣ Useful “Hidden” Commands for Training
🎥 Grenade Trajectory and Camera
• Show grenade path: cl_grenadepreview 1
• Draw trajectory lines: sv_grenade_trajectory 1
• Duration of line display: sv_grenade_trajectory_time 10
• Rethrow the last grenade: sv_rethrow_last_grenade
• Handy binds:
bind h "toggle cl_grenadepreview 0 1"
bind j "sv_rethrow_last_grenade"
🔫 Shooting Analysis
• Show bullet impacts: sv_showimpacts 1 (and sv_showimpacts_time 10)
• Show hit markers on models (if supported): sv_showbullethits 1
🕊 Free Fly and Third-Person View
• Free camera: noclip
• Third-person mode (offline only): thirdperson, revert — firstperson
• Quick binds:
bind v "noclip"
bind m "thirdperson" / bind n "firstperson"
5️⃣ Ready-to-Use Training Commands
💻 Copy and paste this into your console:
sv_cheats 1;
mp_warmup_pausetimer 1;
sv_infinite_ammo 1;
ammo_grenade_limit_total 5;
cl_grenadepreview 1;
sv_grenade_trajectory 1;
sv_grenade_trajectory_time 10;
sv_showimpacts 1;
sv_showimpacts_time 8;
bind h "toggle cl_grenadepreview 0 1";
bind j "sv_rethrow_last_grenade";
bind v "noclip";
bind x "toggle spec_show_xray 0 1";
bind m "thirdperson";
bind n "firstperson";
6️⃣ Safety Tips
🔒 All these commands work only in offline/local games and demo viewing.
🚫 Don’t use them in matchmaking — that’s a violation and may lead to a ban.
🧠 For analyzing positions in live games, use spec_show_xray while spectating.
💡 Earn Skins Faster — with BestSkins
While training and improving your utility lineups, you can also earn “bullets” in BestSkins and exchange them for real skins through a safe Steam trade. Play mini-games, complete tasks, and take quizzes — all in one app.





