Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Binding commands - A Tutorial for Counter-Strike: Source

How to make key shortcuts for certain commands

1. Open CS:S. 2. Check if you have console enabled, if you do skip to step 5, if not carry on to step 3. 3. If you know how to enable it then do it, if not carry on to step 4. 4. Open the options tab in CS:S home-page and check the Keyboard tab is selected. Press the button "Advanced" and tick the box for "Enable Developer Console". 5. Open up console and use this format for a CONSOLE COMMAND SHORTCUT: bind (Enter key here) (Command here) e.g bind k kill That would be to bind a key to kill yourself by typing kill in console. If you want a CHAT BIND which says something in the in-game chat then use this: bind (KEY) "say (Text here)" e.g bind 1 "say Nice shot!!" to say nice shot whenever you press one. 6. If you ever want to remove just ONE key shortcut and not all of them type unbind "Key you used" and it gets rid of it. e.g unbind 1 would get rid of that earlier chat bind. If you want to UNBIND ALL OF THEM type in console unbindall. Alternatively, open 'config.cfg' in your 'cfg' folder and add/remove/change the binds there, either way, after doing that, you may want to turn your 'config.cfg' to read-only. Do NOT copy this please. Write your own, it doesn't take ages. Thanks again.
  • Joan1_ avatar
    Joan1_ Joined 11y ago
    Offline
    300 points Ranked 59,686th
    6 medals 1 rare
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    • 4 years a member Medal icon
    11y
    i need a bind for record demos hep me plz :P something like that EG: **BIND F1 = record Demo1.dem **
    wolF
    URL to post:
  • Devieus avatar
    Devieus username pic Joined 11y ago
    Moderator
    ONLINE
    109,045 points Ranked 29th
    79 medals 8 legendary 17 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 2017 Top Contributor Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    11y
    The way you described to remove a bind does not work, and is in fact something I use regularly; what it does is check what is bound to that key.
    One could also skip step 1 by modifying the config.cfg file, this effectively skips steps 2, 3, and 4 as well.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
    URL to post:
  • Fibbs avatar
    Fibbs username pic Joined 14y ago
    Offline
    32,199 points Ranked 169th
    25 medals 1 rare
    • 6 years a member Medal icon
    • Prefaber of the Month, June 2012 Medal icon
    • MiPper of the Month, June 2012 Medal icon
    • Prefaber of the Month, March 2013 Medal icon
    • Texturer of the Month, July 2014 Medal icon
    • Became a Studio Leader Medal icon
    11y
    You can use unbind key instead of bind, e.g. unbind k. Also step 3 is redundant. Also it may help to separate the bind commands so that you can read them easier. Try using a code block or a heading or something.
    URL to post:
  • robin avatar
    robin Joined 15y ago
    Hibernating
    16,210 points Ranked 449th
    38 medals 4 legendary 10 rare
    • Submitted 100 Maps Medal icon
    • 10 years a member Medal icon
    • Became a Ripe Supporter Medal icon
    • Submitted 50 Maps Medal icon
    • 6 years a member Medal icon
    • Achieved Super Moderator clearance Medal icon
    11y
    Its fine ^^
    Senior Moderator avatar
    Mantra
    Senior Moderator
    URL to post:
  • darkreapa avatar
    darkreapa Joined 11y ago
    Offline
    11y
    Ok will do sorry
    Bananite
    URL to post:
  • robin avatar
    robin Joined 15y ago
    Hibernating
    16,210 points Ranked 449th
    38 medals 4 legendary 10 rare
    • Submitted 100 Maps Medal icon
    • 10 years a member Medal icon
    • Became a Ripe Supporter Medal icon
    • Submitted 50 Maps Medal icon
    • 6 years a member Medal icon
    • Achieved Super Moderator clearance Medal icon
    11y
    Install binds? bind is a verb. How to bind key shortcuts to certain commands would be a popper title.
    Senior Moderator avatar
    Mantra
    Senior Moderator
    URL to post: