Posts: 3,351
Threads: 780
Joined: Jan 2010
Can someone explain me why if i click a textdraw, or i open a clickable texdraws list, if i press EC the textdraws doesn't hide? Is very annoying. Any tip to fix it?
Posts: 3,351
Threads: 780
Joined: Jan 2010
The problem is i NEED to hide those textdraws when i press Esc key. I have a textdraw shop where you can select weapons and if i press Esc the textdraws stays..and this is ugly.
Posts: 104
Threads: 6
Joined: May 2013
Reputation:
0
OnPlayerKeyState and find name for ES key. If there is no name for that key, then you cannot close them with ES key.
Posts: 3,351
Threads: 780
Joined: Jan 2010
I don't wanna use mSelection. About the cancel button, i already made it. But what if player wrongly press ESC or he thinks ESC key can disable shop? They have to open it again and click the cancel button i made, to hide textdraws. This is why is a bit annoying.
Posts: 3,351
Threads: 780
Joined: Jan 2010
The problem is, HOW i can detect if ESC key is pressed?
Posts: 3,351
Threads: 780
Joined: Jan 2010
Emh, as i know you can't detect ESC key from OnPlayerKeyStateChange.