what will be the SHIFT key called in OnPlayerKeyStateChange
#7

Quote:
Originally Posted by ******
Посмотреть сообщение
To elabolrate on what Pottus said: you can't detect a specific keyboard key. "shift", "space", "e" etc are not sent to the server, only the functions that they may or may not trigger. For example, I always map "jump" to "right-mouse", so when your server receives "KEY_JUMP" you have no way of knowing what physical input the user used, only what action they performed. They jumped - they didn't press "space".
I wonder why they yet didn't implement a detection for all keys.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)