View Full Version : How to Bind a Key


[FU2]InYourEye
I get asked quite a bit how to bind a key in counter strike source. I'm sure there are a couple ways to do, but here's how bound "a" to the admin command.

Locate your config.cfg file. For me it was here:

C:\Program Files\Valve\Steam\SteamApps\accountname\counter-strike source\cstrike\cfg

("accountname" is a substitute for the real name of my account)

Open the config.cfg file. Here's how the first lines look in mine:


unbindall
bind "TAB" "+showscores"
bind "ENTER" "+use"
bind "ESCAPE" "cancelselect"
bind "'" "+moveup"
bind "+" "sizeup"
bind "-" "sizedown"
bind "/" "+movedown"
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind ";" "+mlook"
bind "=" "sizeup"
bind "\" "+speed"
bind "`" "toggleconsole"
bind "a" "admin"
bind "c" "radio3"


Notice the second to last entry, bind "a" "admin". I just typed that line in and was all set. You can bind the admin command to any key, just make sure you're not already using that key for something else. You can change any of your other key binds in this file as well.

MartinX
If I bind key for ADMIN MENU will this work in CS? lets say I wanna bind "p" when in CSS i press "p" will the menu come up?

[FU2]InYourEye
It should be formatted like this:

bind "p" "admin"

I don't know if it will work in regular CS...don't even have it installed.

Mr.
If I understand you right, you're asking if you bind the key in Source will it also be bound in 1.6? Then the answer is no. The two games exec different cfg files so that the binds made in one game are exclusive to that game.

Dumtard
you also can us the ingame console.

type bind a admin

MartinX
or u can typ in concole "admin" go back to game window and menu will be there for you.


thx for help guys.

Forum Partners: MPAA | Tomb Raider