22.04.2010, 23:23
How to make the such:
When press on ESC it is written from above NICK that is in ESC?
When press on ESC it is written from above NICK that is in ESC?
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
|
Originally Posted by FreddoX [BINMAN
]
Quote:
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. |
Originally Posted by russooooo
Quote:
|
Originally Posted by FreddoX [BINMAN
]
Quote:
Take a look at this: http://forum.sa-mp.com/index.php?topic=78166.0 |