Console commands for CS 1.6
Control / Settings
+forward Move forward
+back Move backward
+moveleft Strafe left
+moveright Strafe right
+movedown Move player down
+moveup Move player up
+left Turn left
+right Turn right
+jump Jump
+duck Crouch
+use Use item or weapon (ex.: "use weapon_hegrenade")
+attack Attack (shoot, slice with knife, throw grenades)
+attack2 Alternate fire / secondary weapon function
+reload Reload weapon
+klook Enable keyboard turning
+lookdown Look down
+lookup Look up
+speed Forces player to walk when "always run" is on, or forces player to run when "always run" is off.
+showscores Show player scores and ping
+strafe You can strafe in "these" directions using the turn keys.
bind Assigns a key to a command or alias
unbind Unbind a key
unbindall Remove all key bindings
alias For executing multiple tasks with one button press
slot1-10 Select weapon from group 1-10
cancelselect Cancel
changeteam Displays player team change menu
centerview Center player view
changeclass Displays player class change menu
messagemode Talk to all players
messagemode2 Talk to team players
radio1-3 First to third group of radio commands
toggleconsole Open/close console
chooseteam Choose team to play for
+showscores Show stats
drop Drop current weapon
nightvision Toggle night vision goggles
impulse 201 Draw logo
impulse 100 Toggle flashlight
invprev Switch to previous weapon
invnext Switch to next weapon
invlast Switch to last weapon
kill Die
buy Open buy menu
buyammo1 Buy ammo for primary weapon
buyammo2 Buy ammo for pistol
buyequip Buy additional equipment
+voicerecord Use voice communication
+commandmenu Show built-in VGUI menu
showbriefing Show map briefing
snapshot Take screenshot
screenshot Capture current screen image and save in game directory
cl_anglespeedkey Set angle change speed when turning
cl_backspeed Set player backward movement speed - number cannot exceed what is allowed on specific server
cl_forwardspeed Set player forward movement speed
cl_sidespeed Set player lateral movement speed
cl_movespeedkey Set movement speed
l_upspeed Vertical speed of player (ladders, etc.)
cl_yawspeed Set turning speed (cannot exceed server limit)
messagemode Send message to all other players on the server
messagemode2 Send message only to team players
say Send message to all other players on the server
say_team Send message only to team players
setinfo ah In hint mode, the player receives messages during the game (e.g., what to do to save a hostage)
setinfo dm Display brief information about the map after loading
setinfo ghosts Show ghosts in observer mode
setinfo _pw Enter password for admin rights under AMX
setinfo gui_menus Visual menu during purchase
setinfo vguimenu See above
con_color Text color (console)
sv_aim On / off auto-aim for optical sights (1/0)
cl_timeout Time after which inactive client will be kicked from server
cl_dynamiccrosshair On / off dynamic crosshair (when running and any movements) (1/0)
cl_lw All weapon effects and actions are calculated on the client side (2)
cl_lc Lag compensation on the server side (1)
rate Sets the client's flow rate
cl_cmdrate Number of packets per second from client to server
cl_updaterate Number of packets per second you will receive from the server
ex_interp Interpolation figure in seconds (lan - 0.01 / inet - 0.1)
Sound
hisound Enable sound quality mode: 1=22kHz, 0=11kHz
nosound Disable (1) or enable sound (0)
s_2dvolume Maximum 2D sound volume (0-1)
s_a3d Support A3D
sautomaxdistance Set distance for maximum volume
sautomindistance Set distance for minimum volume
s_buffersize Set buffer size in bytes
sdisablea3d Disable A3D
s_distance Generally, the higher the value, the closer everything is heard
s_eax Support EAX
senablea3d Enable A3D
s_geometry Geometric breakdown (only for A3D 2.0)
smaxdistance Maximum distance at which player can still hear sounds
smindistance Minimum distance at which player starts hearing sounds
s_numpolys Number of polygons processed in A3D
s_occfactor Material permeability, meaning how much material dampens sound (0-1)
s_refdelay Minimum distance between sources and the nearest reflection
s_verbwet Controls the "dryness" of sounds.
speak If certain keywords are specified in the parameter, you will hear them, e.g., speak hello
stopsound Stops playing the current sound
ambientfade Sets the distance at which embedded sounds in the map (e.g., music in csitaly) will be heard
ambient_level Sets volume for embedded sounds (see above)
sndmixahead Sets the amount of audio ahead, eliminates the "lag" effect for sound cards (0.1)
displaysoundlist Enable / disable showing all loaded sounds
play Play .wav file
volume Set game sound volume
bgmbuffer Set buffer size for audio disc (4096)
bgmvolume Enable / disable sound
Mouse
+mlook Allows raising the crosshair up and down
m_filter Allows enabling "smoothing" mouse movement (for ball mice).
m_forward Sets forward movement speed sensitivity multiplier
m_pitch Sets mouse sensitivity for up and down movement; negative values invert
m_side Sets mouse strafe speed (e.g., with +strafe command enabled)
m_yaw Sets mouse sensitivity for left and right movement
sensitivity Mouse sensitivity
zoomsensitivityratio Mouse sensitivity with zoom
lookspring Enables automatic view centering when "mook" is off
lookstrafe Enables offset mode when moving with "mlook" on
Appearance
adjust_crosshair Changes crosshair color
bottomcolor Sets the "bottom" color of the player model
drawradar Enables radar
hideradar Disables radar
force_centerview Forces player to look straight ahead
graphheight Sets the width of the r_netgraph
graphhigh Sets the maximum value shown by the graph
graphmedian See above
hud_centerid Shows player name in center (1) or bottom (0)
hud_deathnotice_time Sets the time in seconds during which frags will be displayed at the top of the screen
hud_fastswitch Fast (1) or slow weapon switching (i.e., whether you need to click shoot to switch weapons)
hudsaytexttime Sets the time in seconds during which messages remain on the screen
net_graph Shows FPS and some other parameters at value "3"
net_graphpos Determines the position of the info window on the screen
net_graphwidth Width of the window.
r_decals Maximum number of details visible on the map
r_drawviewmodel Shows (1) or hides (0) weapon model
r_netgraph Shows connection information (1) or network packet sending information (2)
r_shadows Player shadows
scr_centertime Sets how long server messages remain on the screen
scr_conspeed Speed of opening the console
scr_printspeed Speed of printing messages on the screen
sizedown Reduces resolution but increases FPS
sizeup Increases resolution but decreases FPS
topcolor Sets the "top" color for the player model
viewframe Enables wireframe mode (only for OpenGL)
cl_observercrosshair Enables crosshair in observer mode (free view and camera mode)
cl_showfps Shows frames per second
cl_shownet Shows network packet parameters
cl_slist Sets the number of servers visible when using the slist command
clsolidplayers Displays models in "solid" mode.
cl_waterdist Distance in water
cl_adaptive Shows time, % of lost packets, average lag, stream sending/receiving speed, and frames per second (FPS)
cl_himodels If 1 - enable high-quality player models, if 0 - disable (affects hit detection)
cl_messages Show server messages
cl_bob Sets how much the player's view bobs when running
cl_bobcycle Sets the frequency of the player's view bobbing while running
cl_bobup See above
cl_pitchdown Sets maximum downward viewing angle (89)
cl_pitchspeed Changes viewing angle speed (225)
cl_pitchup Sets maximum upward viewing angle (89)
cl_righthand Weapon in left / right hand.
clear Clear console screen
clearlist Clear server list
clientport Set the port the client will use to connect to the server
force_centerview Ensures player views straight ahead
vid_config_x Set horizontal screen resolution (800)
vidconfigy Set vertical screen resolution (600)
vid_d3d Direct3D support
vid_describemode Show video mode settings
vid_mode Set video mode
vidstretchby_2 Enable video stretching (for stretched resolutions)
viewsize Set visible size
cl_hidefrags Hide frags/deaths count for players (except you) in player table
cl_weather 1 toggle weather
Video
gl_playermip Sets the quality of player rendering (the higher the number, the faster the rendering, but quality is worse)
gl_picmip Sets the quality of rendering (the higher the number, the faster the rendering, but quality is worse)
glmaxsize Limits the maximum texture size, the smaller the value, the blurrier the textures
gltexturemode Sets rendering mode [type]: glnearestmipmapnearest, gllinearmipmapnearest (these two parameters refer to bilinear filtering) and glnearestmipmaplinear, gllinearmipmap_linear (these parameters refer to trilinear filtering)
gl_polyoffset Merging decals relative to the surface
gl_cull (1 - enables rendering mode for visible objects only, 0 - disables it (0 - gives less fps))
gl_dither Anti-aliasing mode
gamma Gamma
lightgamma Light gamma
brightness Brightness
gl_ztrick For 3DFx maps set to 1 for acceleration
gl_zmax Sets maximum Z-buffer size
gl_alphamin Visibility of transparent textures
gl_monolights At value 1 the map becomes bright everywhere
violence_ablood Show blood, flesh, etc.
violence_agibs Show blood, flesh, etc.
violence_hblood Show blood, flesh, etc.
violence_hgibs Show blood, flesh, etc.
r_drawentities At value 0 objects (including players) are not visible
r_dynamic Enables / disables dynamic lighting and flashlight
r_shadows Shadows of items and players
r_mmx Enables MMX support (Intel technology, later AMD)
r_decals Number of decals in the game
fastsprites Quality of smoke
max_shells Number of visible shells at the same time
max_smokepuffs Number of visible smoke puffs from bullets hitting walls
viddefault_mode Sets default video mode (screen resolution)
viddefault_mode
_win Sets windowed video mode by default (screen resolution)
windowedmouse Enables mouse in windowed mode
gl_overbright Maximum brightness mode
glrounddown Sets rounding amount (the higher the number, the faster the rendering, but quality is worse)
gl_smoothmodels Model smoothness mode
gl_spriteblend Sets player model detail level
Connection
allowupload Upload/Download details and models to/from the server (On/Off)
cmdlist Outputs list of all commands
cvarlist Outputs list of variables
connect Connect to a server by IP.
disconnect Disconnect from server
echo Outputs text to console
enableconsole Enable/disable console
exec Runs config file
fullinfo Shows user information
fullserverinfo Shows server information
getcertificate Gets certificate from WON
getsv Shows IP of each server and total number of servers
hideconsole Closes console
motd Message of the Day and motd.txt file on server
pingsv Pings server
quit Exit the game
reconnect Reconnect to current server
retry Attempts to reconnect to current server (makes four attempts)
serverinfo Shows server information
toggleconsole Opens or closes the console depending on its state
wait Short pause in script, bind, etc. (approximately = 1/20 - 1/25 second)
Server
maxplayers Maximum number of players on the server
mp_autokick Automatic kick players for killing hostages or teammates
mp_autoteambalance Enable(1) / disable(0) team balancing
mp_buytime Time access to the purchase menu
mp_c4timer This parameter's value is equal to the seconds that will pass after placing the bomb before it explodes
mp_decals Maximum number of detailed
mp_fadetoblack At value "1", the screen turns black when a player dies
mp_flashlight Enable(1) / disable(0) the ability to use the flashlight
mp_footsteps Enable(1) / disable(0) footsteps in the game
mp_forcechasecam Ability to only follow players on your team / free-fly around the map / lie dead
mp_forcecamera 0 - observe everyone, 1 - only your team, 2 - your team from first person
mp_freezetime Seconds for buying weapons, etc.
mp_timelimit Time after which the map changes; value 0 means it's off, so the map doesn't change
mp_roundtime Duration of one round
mp_freezetime This parameter's value is equal to the seconds given for purchasing weapons
mp_limitteams Number of players that must be in one team more than in the other for team balancing to occur (0 - off)
mp_friendlyfire Depending on this parameter, you can kill either your teammates (1) or not (0)
mp_hostagepenalty This parameter's value is equal to hostages that must be killed before a player is kicked from the server
mp_mapvoteratio This parameter's value is equal to the fraction of players (0,1 - 1) that must vote for a map change
mp_startmoney Parameter that sets the amount of money given at the start of the game
mp_tkpunish Parameter that sets whether teamkillers must die in the next round
hostname Server name
sv_restartround This parameter's value equals seconds after which the restart will happen
sv_cheats Enable/disable cheat mode
sv_password Password for joining the server
sv_maxspeed Default movement speed value (320)
sv_gravity Default gravity value (800)
kick Kick a player from the game (must enter player's name)
changelevel Switch map, keeping all players (must enter map name)
map Change map, kicking all players from the server (must enter map name)
rconpassword Password for remote server administration entered on the server. As a value <password>. Also entered on the client side for server management before commands (e.g., rconpassword <password> map de_dust)
pausable Value (1) allows pauses to be set, value (0) forbids
mp_logmessages Records log of chat messages
pushlatency To reduce lag, set this value to the inverse of your ping (-number) (does not work in 1.6)
sys_ticrate Sets the number of frames per second the server can compute
sv_minrate Sets the minimum rate value for the client
sv_maxrate Sets the maximum rate value for the client
svminupdaterate Sets the minimum clupdaterate value for the client
svmaxupdaterate Sets the maximum clupdaterate value for the client
addip Add IP to the banned list (if set to 0 minutes, it will be a permanent ban)
banid Bans by unique number
banid kick Kicks and bans by unique player number
cl_allowdownload Allow downloading or uploading maps and models from the server
cl_allowupload Allows uploading maps and models to the server
cldownloadingame Allows downloading models and maps during the game
Demos
appenddemo Records demo and adds it to the beginning of demo.dem
listdemo Shows demo information
playvol Volume of sound during demo playback (0-10)
record Starts recording the demo and saves it as filename.dem
setdemoinfo info Adds information about the demo, like title
startdemos demo1, demo2 ... Starts playing demos in the sequence specified as parameters, when the last one ends, it starts playing all demos again
demos Executes loop of recorded demos specified in startdemos
stop Stops recording the demo
stopdemo Stops playing the demo
swapdemo Changes the positions of segments in the demo
timedemo Plays the demo with maximum fps and shows average fps
playdemo Play demo .dem at normal speed
viewdemo Play demo .dem with speed control
startmovie name fps Takes n snapshots per second (bmp format)
endmovie Stop taking snapshots
dem_speed Speed of demo playback (1)
dem_jump Specifies the time in seconds to rewind the demo backwards (-) or forwards.
dem_pause Pause the demo
Microphone
voice_loopback What you hear in your headphones is how others hear you. Now adjust the optimal volume of your voice and the distance from your mouth to the microphone (1)
voice_scale x This command sets the volume of all people's voices, including your own
voice_overdrive N Reduces all sounds (shots, etc.) by N times when someone speaks. Optimal value between 1 and 2
voice_overdrivefadetime x.xxx Determines the time in seconds during which the surrounding sound suppression effect will last (see the previous command). Optimal 0.4
voice_maxgain x Smoothes the voice of speakers. Set between 1 and 5. Experiment online
voice_avggain x Averages the voice wave (removes noise). Set 0.5 - 0.1
voice_fadeouttime x.xxx Influences the fade time of your voice. Keep around 0.1
Miscellaneous
cmd name changes server name
crosshair Enable / disable crosshair
default_fov Sets default field of view in degrees (a smaller angle results in a smaller field)
discard Discard unused ammo
disconnect Disconnect from server
echo Outputs text to console - used to inform the player that the script or .cfg has been successfully loaded
exec Executes .cfg script
exit Closes game and exits to windows without confirmation
fullserverinfo Shows server information
info Shows player information
menuselect Selects item from menu
model Change current player model
name Change current player name
nosound Enable/disable sound
pause Pause
quit Exit to windows without confirmation
reconnect Reconnect to the current server
shortname Shows client’s short name
sizedown Decrease screen size and increase fps
sizeup Increase screen size and decrease fps
skin Set player model skin
spectator Set model skin
timerefresh Shows average fps in the player's surroundings
user Show model color, name, appearance for the specified player
+ip xxx.xxx.xxx.xxx Specify IP address
version Game version
developer Enables mode showing additional parameters on screen
listmaps List available maps for changing levels on the server
fps_max Maximum FPS number, with developer 1 it will exceed 100
fps_modem Maximum FPS number for the LANModem client
Download the program with the full set of codes Link description...