Counter-Strike: Global Offensive

544 ratings
CS:GO NUMPAD Keys Binded to Buy Scripts
By DrZotro
This script binds the NUMPAD keys to buy scripts so you can make quick purchases at the beginning of each round; this will allow you to keep up and rush with the best of them.
The bind script
All of the primary weapon buy scripts will also attempt to purchase armor if the funds are available.

First, locate your autoexec.cfg in this folder: Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg

Copy and paste the following text into the autoexec.cfg and then save.
// Num | / | * | - //
// Lock | DECOY | SMOKE | FLASH //
// 7 | 8 | 9 | + //
//-------------|-------------|-------------| HE //
// 4 | 5 | 6 | INCEND //
// 1 | 2 | 3 | Enter //
//-------------|-------------|-------------| DEFUSE //
// 0 | . | RESCUE //
// DEAGLE | P90 | KIT //

// Aliases (Abbreviations for weapon combinations)
alias "m4a1/ak47" "buy m4a1;buy ak47"
alias "aug/sg556" "buy aug;buy sg556"
alias "galilar/famas" "buy galilar;buy famas"
alias "g3sg1/scar20" "buy g3sg1;buy scar20"
alias "vesthelm/vest" "buy vesthelm;buy vest"
alias "incgrenade/molotov" "buy incgrenade;buy molotov"

// Key bindings (Aliases are used here)
bind "KP_HOME" "buy ssg08; vesthelm/vest"
bind "KP_UPARROW" "buy awp; vesthelm/vest"
bind "KP_PGUP" "g3sg1/scar20; vesthelm/vest"

bind "KP_LEFTARROW" "galilar/famas; vesthelm/vest"
bind "KP_5" "m4a1/ak47; vesthelm/vest"
bind "KP_RIGHTARROW" "aug/sg556; vesthelm/vest"

bind "KP_END" "buy nova; vesthelm/vest"
bind "KP_DOWNARROW" "buy xm1014; vesthelm/vest"
bind "KP_PGDN" "buy mp7; vesthelm/vest"

bind "KP_INS" "buy deagle"
bind "KP_DEL" "buy p90; vesthelm/vest"

bind "KP_SLASH" "buy decoy"
bind "KP_MULTIPLY" "buy smokegrenade"
bind "KP_MINUS" "buy flashbang"
bind "KP_PLUS" "buy hegrenade; incgrenade/molotov"
bind "KP_ENTER" "vesthelm/vest; buy defuser"

// Debug
echo +++ autoexec.cfg executed successfully +++
Q. My autoexec.cfg is missing. How do I create a new one?
Originally posted by Batman:
. . . Here is a tutorial on how to do it

Q. I have created/edited the autoexec.cfg file in \Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg but it still doesn't work. What am I missing?
Open the console in-game with ~ and execute the following command: exec autoexec.cfg

Q. The decoy bind does not work. Is there something else that I can try?
Originally posted by Zani:
I made it work by binding - and then it respond as my slash button weired but working now :)
bind "-" "buy decoy"

Q. Where is gun X? Where is gun Y? I would like to create my own binds. Can someone please help me?
Bind generators: &
Additional literature: (it is a bit dated)

Q. Why would someone want to use keys binded to buy scripts in the first place?
Speed and efficiency
ie. I want to buy a shotgun, deagle, armor, and a flashbang at the start of the next round.
  • Using the buy menu: b, 2, 1, b, 1, 4, b, 8, 2, b, 8, 4 = 12 buttons pressed.
  • Using NUMPAD binds: 1, 0, - = 3 buttons pressed.
< >
UberTander [Always ok] Jul 20 @ 4:31pm 
can someone post a all redy don "autoexe" file with the bindings already done ? ( link plz )
CatnamedMittens Jul 6 @ 7:06pm 
Doesn't seem to work at all, I created an autoexec in my csgo/cfg folder.
I even added "+exec autoconfig.cfg" in the console, put exec autoexec.cfg in my config.cfg file and nothing :/
So, if i want to edit this, i have to change the alias and bindings as well?
Richards Jun 16 @ 4:44am 
I cant bind zeus -.-
q3MOP Apr 28 @ 12:14pm 
i can make a bind for the HE grenade? Cause ive try it but dosen't work..
Mr President Apr 21 @ 3:55am 
use this if you want to make binds auto-magically
✪Taren Apr 2 @ 10:34pm 
after saving the config, alias can't save inside, then it failed everytime i try. i tried copy and paste, i tried handtype it but ended up same
Platinum Mar 30 @ 8:05am 
TJ Mar 25 @ 11:45pm 
Paradox Mar 24 @ 1:59pm 
you cant use KP_SLASH!