FatalTerror Posted March 7, 2012 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 Paid developer. Twitter: @willia_am - http://www.williamdasilva.fr
Ludo Posted March 7, 2012 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.
X-SHADOW Posted March 7, 2012 Posted March 7, 2012 but you can Make a table with the key you want and then compleate you script My ingame nickname : Ops! -DeathMatch GameMode By Ops! : 5%
gokujems Posted March 7, 2012 Posted March 7, 2012 The problem now is to detect a "qwerty" keyboard and a "azerty" one.
Cadu12 Posted March 7, 2012 Posted March 7, 2012 https://wiki.multitheftauto.com/wiki/OnClientKey Ingame nick: Cadu12
drk Posted March 7, 2012 Posted March 7, 2012 @@Cadu12 As far as I know, onClientKey don't detect letters like "é", "á" etc EPT Team Server Development: 0% Learning C++ | C++ is amazing
Cadu12 Posted March 7, 2012 Posted March 7, 2012 Then you have to report on bug tracker. Ingame nick: Cadu12
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