ItsMods
Action upon a button press - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: Action upon a button press (/Thread-Action-upon-a-button-press.html)



Action upon a button press - cervantes - 07-19-2011

how do I make it so i can have it do something like give weapon if i press p or something?


RE: Action upon a button press - koil - 07-19-2011

have to edit menu files i think for specific binds.. otherwise u can only use the main ones, do a forum search on


buttonpressed(


RE: Action upon a button press - d0h! - 07-19-2011

boardsearch

http://www.itsmods.com/forum/Thread-Ultimate-Black-Ops-Modding.html <-basics

look for MonitorButtons()


RE: Action upon a button press - Tomsen1410 - 07-19-2011

example:

Code:
giveWep() { for(;;) { if(self actionslotonebuttonpressed()) { self giveweapon("ak47_mp",0); } wait 0.01; } }



RE: Action upon a button press - Scripts18 - 07-19-2011

I think he means binding buttons....