Mathias Lui Posted July 18, 2016 Share Posted July 18, 2016 Hi, how can I check, if a player is currently in the chatbox? e.g. I made a tiny script where the mouse cursor is showing when pressing the m or ralt key, or I made a script where you can jump with the vehicle by pressing z. but all these things also happen when typing Z or M in the chatbox. And I don't want them to jump when they type Z Link to comment
denny199 Posted July 18, 2016 Share Posted July 18, 2016 https://wiki.multitheftauto.com/wiki/Is ... nputActive Link to comment
goodiewarrior Posted July 18, 2016 Share Posted July 18, 2016 if not isChatBoxInputActive then --... Link to comment
Mathias Lui Posted July 27, 2016 Author Share Posted July 27, 2016 https://wiki.multitheftauto.com/wiki/IsChatBoxInputActive if not isChatBoxInputActive then --... Thanks guys. After a bit I found it out myself and then I realized someone has answered. Thanks guuuys 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