Jump to content

CS:GO Config

JohnKovac

Am I stupid orr what?? This is a CS:GO config that is meant to allow the user to use the keystrokes "f,g,x,v" to do 2 different things. One just by pressing the button and the other whilst holding the alt key and the key. What am I doing wrong?

 

alias defA "bind f use flashbang"
alias defB "bind g use smokegrenade"
alias defC "bind x use hegrenade"
alias defD "bind v use molotov; use incgrenade"

alias keyA "bind f keyAA"
alias keyB "bind g keyBB" 
alias keyC "bind x keyCC"
alias keyD "bind v keyDD"

alias keyAA "buy flashbang"
alias keyBB "buy smokegrenade"
alias keyCC "buy hegrenade"
alias keyDD "buy molotov; incgrenade"

alias +keybinder "keyA; keyB; keyC; keyD"
alias -keybinder "defA; defB; defC; defD"

bind alt +keybinder

 

Link to comment
Share on other sites

Link to post
Share on other sites

Does it work with other keys other than alt?

Code seems fine

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, deXxterlab97 said:

Does it work with other keys other than alt?

Code seems fine

Nope, it just buys without using the keybinder.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, JohnKovac said:

Nope, it just buys without using the keybinder.

Have you tried switching alt to ctrl for example?

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, deXxterlab97 said:

Have you tried switching alt to ctrl for example?

Doesn't work. I bought something while not pressing the button and whilst holding it.

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, JohnKovac said:

Doesn't work. I bought something while not pressing the button and whilst holding it.

try this maybe?

bind "f" "use flashbang" 
alias +defa "bind f buy flashbang"
alias -defa "undbind f; bind f use flashbang"
bind ctrl +defa

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, deXxterlab97 said:

try this maybe?


bind "f" "use flashbang" 
alias +defa "bind f buy flashbang"
alias -defa "undbind f; bind f use flashbang"
bind ctrl +defa

 

the buy portion works but not the use.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, JohnKovac said:

the buy portion works but not the use.

if so i don't know what to do 

(try reddit or steamcommunity)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×