Thread: keyName2()?
View Single Post
  #5  
Old 02-05-2014, 10:51 AM
100Zero100 100Zero100 is offline
Registered User
Join Date: Jul 2006
Posts: 31
100Zero100 is on a distinguished road
Quote:
Originally Posted by Tim_Rocks View Post
Why not just do this?
PHP Code:
function keyPressed(keycodekeyscancode) {
  
player.chat keycode ", " key ", " scancode;

In my proposed scenario, I'd want to build a full QWERTY keyboard on-screen WITHOUT the need for the player to press down all of the keys on their keyboard.

If you read my second post, I specifically complained that the keycode/key translation obtained from onKeyPressed() is not compatible with the keycode/key translation of getKeyCode()/keyName2()
__________________
Hi. I'm NaS!
Reply With Quote