[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.
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.