JeViCo Posted January 31, 2018 Posted January 31, 2018 Hello everyone! I have a DX chat, but it have some bugs. It happens when i'm typing any letter and remove text at the same time. How can i temporary disable any key while Backspace is pressed? I need a condition of binding to any letter or sth like that
Moderators IIYAMA Posted January 31, 2018 Moderators Posted January 31, 2018 Your condition: https://wiki.multitheftauto.com/wiki/GetKeyState 1 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
JeViCo Posted January 31, 2018 Author Posted January 31, 2018 12 minutes ago, IIYAMA said: Your condition: https://wiki.multitheftauto.com/wiki/GetKeyState yes, it's close but problem still exists. When player opens chat, he/she can type any letter. Is it possible with GetKeyState ?
Moderators IIYAMA Posted January 31, 2018 Moderators Posted January 31, 2018 If you are talking about a dx chat, then yes. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
JeViCo Posted January 31, 2018 Author Posted January 31, 2018 2 minutes ago, IIYAMA said: If you are talking about a dx chat, then yes. Thank you for reply! I've just figured it out with this function It works! 1
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