Posts: 449
Threads: 125
Joined: Apr 2013
Reputation:
0
How can i detect when a player presses "ESC" and he is in td selection? My textdraws are playertextdraws and as far as i read from the samp wiki you can't detect whenever someone presses ESC for playertextdraws selection.
Posts: 1,266
Threads: 6
Joined: Oct 2014
https://sampwiki.blast.hk/wiki/OnPlayerClickPlayerTextDraw
When a player presses ESC to cancel selecting a textdraw, OnPlayerClickTextDraw is called with a textdraw ID of 'INVALID_TEXT_DRAW'. OnPlayerClickPlayerTextDraw won't be called also.