FatalTerror Posted March 7, 2012 Share Posted March 7, 2012 Hi, I want know how i can do for get the letter of what the user has press. Per example, when he press the touch 'e', it show a the screen the letter 'e'. That isn't a problem, i can do it with bindKey. BUT NOW If i write 'é'... how i can get this caracter? Thanks, FataLTerror Link to comment
Ludo Posted March 7, 2012 Share Posted March 7, 2012 Hi,I want know how i can do for get the letter of what the user has press. Per example, when he press the touch 'e', it show a the screen the letter 'e'. That isn't a problem, i can do it with bindKey. BUT NOW If i write 'é'... how i can get this caracter? Thanks, FataLTerror I guess you can' t, because the list of bindable keys is at this page: https://wiki.multitheftauto.com/wiki/Key_names, and as you can see, the key 'é' isn' t there. Link to comment
X-SHADOW Posted March 7, 2012 Share Posted March 7, 2012 but you can Make a table with the key you want and then compleate you script Link to comment
gokujems Posted March 7, 2012 Share Posted March 7, 2012 The problem now is to detect a "qwerty" keyboard and a "azerty" one. Link to comment
Cadu12 Posted March 7, 2012 Share Posted March 7, 2012 https://wiki.multitheftauto.com/wiki/OnClientKey Link to comment
drk Posted March 7, 2012 Share Posted March 7, 2012 @@Cadu12 As far as I know, onClientKey don't detect letters like "é", "á" etc Link to comment
Cadu12 Posted March 7, 2012 Share Posted March 7, 2012 Then you have to report on bug tracker. 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