Quote Originally Posted by malyczolg View Post
hello how can i create new button ?
i need thread script on key : 5

PHP Code:
self UseButtonPressed()
self MeleeButtonPressed()
self AttackButtonPressed() 
If you code it properly, you can monitor for key 5 by scriptmenuresponse. Simply add it in your menu file:

Code:
execKey "5" { scriptmenuresponse "5" }
which will show in _menus.gsc as:

Code:
		if( response == "5" )
			self thread yourfunction();