There is actually functions for each action, just have to do a bit of searching. Here is one...
Code:if(self FragButtonPressed()) { DoWhatever(); }
Hello. im new with mw2 scripting etc. ive been trying to make a option in mod menu to bind something to key. i just don't know how to do that.
Ive been trying with:
self setclientDvar( "bind H +jump" );
setDvar( "bind H +jump" );
Neither of those ^ worked
If anyone knows how to do that, could you give me a working code for it. Thanks