fairyoggy Posted July 5, 2019 Share Posted July 5, 2019 bindKey("enter", "down", function() playSoundFrontEnd(1) end) I have a window with 1 edit. When player press "enter" then sound is played - everything works as it should BUT when player click on edit and try to press enter the sound is not played. How to fix it? Link to comment
Z4Zy Posted July 5, 2019 Share Posted July 5, 2019 Your problem may resolve with guiSetInputMode function. set bind mode to "allow_binds" when click on your edit box. 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now