Attack2 bind question in CS GO

counter-strike-global-offensive

I'm trying to use the next bind:

bind "h" "+attack2;-attack2;+attack;-attack" 

it's supposed to be the same as pressing right mouse button and then the left one… but it just does nothing. Why?

I tried all variations already with no luck. I also tested both, autoexec (config_default actually) and a separate cfg file 🙁 please advise.

I also noticed this line in the config_default:

bind "MOUSE1" "+attack"

so…. there is no need to use "-attack" or what?

Best Answer

Yes, there is not need to do -attack or -attack2 it is automatically called by Source.

You'd probably want just bind "h" "+attack;+attack2"

After binding you can do host_writeconfig to save your binds, place it in the autoexec.cfg or other CFG files in the directory.