The console is a powerful command-line interface built into the GoldSrc engine. It lets you modify settings, script actions, and diagnose issues in real time.
bind "F12" "toggleconsole" in console or autoexec.cfg.| Category | Examples |
|---|---|
| Graphics / HUD | cl_showfps 1, cl_drawhud 0, r_drawviewmodel 0, gl_clear 0 |
| Network / Rates | rate 25000, cl_cmdrate 101, cl_updaterate 101, ex_interp 0.01, net_graph 3 |
| Binds / Scripts | bind "MWHEELUP" "+jump", bind "F1" "buy ak47;buy defuser", alias "+bhop" "+jump;wait;-jump;wait" |
| Crosshair / Viewmodel | cl_crosshairscale 2100, cl_crosshaircolor 5, cl_minmodels 1 |
| Server Admin (if host) | sv_cheats 1, mp_restartgame 1, kick "name", changelevel de_dust2 |
| Debug / Info | Displays ping, loss, FPS, entity info, error messages, cmdrate/updaterate. |
sv_cheats exploits) can crash clients or get you banned on protected servers (VAC, server plugins).Use it responsibly. Most competitive servers block sv_cheats commands. The console is a tool—master it, don't abuse it.