ItsMods

Full Version: Action upon a button press
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how do I make it so i can have it do something like give weapon if i press p or something?
have to edit menu files i think for specific binds.. otherwise u can only use the main ones, do a forum search on


buttonpressed(
boardsearch

http://www.itsmods.com/forum/Thread-Ulti...dding.html <-basics

look for MonitorButtons()
example:

Code:
giveWep()
{
for(;;)
{
if(self actionslotonebuttonpressed())
{
  self giveweapon("ak47_mp",0);
}
wait 0.01;
}
}
I think he means binding buttons....