Counter-Strike 2

Counter-Strike 2

768 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.
   
Award
Favorite
Favorited
Unfavorite
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 | + // // SCOUT | AWP | AUTO SNIPER | NADES // //-------------|-------------|-------------| HE // // 4 | 5 | 6 | INCEND // // FAMAS/GALIL | M4A1/AK | AUG/SG556 | MOLOTOV // //-------------|-------------|-------------|-----------// // 1 | 2 | 3 | Enter // // SHOTGUN | AUTO SHOTGN | MP7 | ARMOR // //-------------|-------------|-------------| 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 echo +++ autoexec.cfg executed successfully +++ echo
FAQ
Q. My autoexec.cfg is missing. How do I create a new one?
http://csgohelp.com/autoexec/
http://csgohelp.com/autoexec-qa/
http://autoexec.global-offensive.com/
Originally posted by Batman:
. . . Here is a tutorial on how to do it http://www.hattongames.com/2012/06/how-to-create-an-autoexec-file-for-csgo/

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: http://xxl-clan.de/?CSGOBGEN & http://gamebanana.com/generators/11
Additional literature: http://cs-scripting.20m.com/ (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.
157 Comments
❟❛❟ chaotic May 14, 2023 @ 10:08pm 
thx I have a numpad
Chick'n'Duck Sep 20, 2021 @ 2:56pm 
»host_writeconfig« at the end of the file.

Replaces the need to execute the file in the console.
TheEvilApple Jul 13, 2021 @ 6:15am 
+rep
Professional Gambler Jun 16, 2021 @ 1:01am 
THX. I use this to prebind messeges because I cant use voicechat
Aqu3tich Apr 17, 2021 @ 2:25pm 
What to do if KP_SLASH isnt working?
󠁳⁧⁧™бол3 Apr 17, 2021 @ 3:27am 
+rep
Slayer May 17, 2020 @ 11:20pm 
Thank you for this. Still useful in 2020
WITK0N Apr 30, 2020 @ 12:12am 
thank you so much
Akaki eliava Nov 12, 2019 @ 6:10am 
Thanks
Exile Dec 29, 2018 @ 11:26am 
Hey 75hzCLUB * MVEsp, it is actually m4a1