SourceOP
Keybind Question - Printable Version

+- SourceOP (http://forums.sourceop.com)
+-- Forum: SourceOP Plugin (http://forums.sourceop.com/SourceOP-Plugin-forum)
+--- Forum: General Chat (http://forums.sourceop.com/General-Chat-forum)
+--- Thread: Keybind Question (/Keybind-Question-thread)



Keybind Question - N0body - Oct 29, 2008

Can you bind a key to do the same thing as another key?

I want to bind my X key to fire, while still having my mouse1 key still able to fire.

Any suggestions?


Keybind Question - avy - Oct 29, 2008

yes

bind mouse1 +attack
bind x +attack

I believe


Keybind Question - Drunken F00l - Oct 29, 2008

Ya, type the "bind x" command into the console. See my wiki page for info on how to enable console:
http://www.sourceop.com/wiki/Enabling_Console


Keybind Question - N0body - Oct 29, 2008

Yeah, I already had the console enabled.

Can't be an admin without it...

And for some reason it wasn't working last night but I just tried it now and binding X to fire still allows me to fire using mouse1.

Very strange, thanks though Smile


Keybind Question - Drunken F00l - Oct 29, 2008

Ya, sorry, I didn't look at who was asking.

You can have as many keys bound to whatever (even the same thing) as you want. It doesn't look at and see "+attack is for mouse1" it does it the other way around which is why you can have the same command on different keys.