Posts: 883
Threads: 131
Joined: Mar 2011
Reputation:
0
Is it possible to detect the Esc key being pressed? So if the player hits escape while using a clickable textdraw it hides the TD instead of keeping on the screen and being un-selectable
Posts: 618
Threads: 31
Joined: Feb 2011
Reputation:
0
Yes that can be solved with 'INVALID_TEXT_DRAW'
its not usable with onplayerkeystatechange but it can be used at OnPlayerClickTextDraw.
There must be something on the wiki about it or on forum..just search for OnPlayerClickTextDraw instead of keystatechange