23.04.2010, 01:23
Quote:
|
Originally Posted by ScottCFR
Just OnPlayerKeyAction then put a print function and see what it says the key is then make your own function with that
|
1) The key change callback is actually OnPlayerKeyStateChange.
2) OnPlayerKeyStateChange doesn't record the ESC key.
OnPlayerUpdate stops calling if a player tabs out, a way would be to set a timer every time that OnPlayerUpdate is called and then if it's not repeated - then use your code to SetPlayerName.
