Detecting ESC Key while Selecting Textdraws
#12

Quote:
Originally Posted by InfiniTy.
Посмотреть сообщение
Sorry.. i read it wrong.


I read your post before editing it and we both said the same thing in different ways.

Quote:
Originally Posted by ||123||
Посмотреть сообщение
So how do I get it working. Can you please give me an example script. From what I understood from you, I'll have to use OnPlayerClickTextdraw under OnPlayerclickplayertextdraw in order to get it working?
My above post contains an example. OnPlayerClickPlayerTextDraw will be called if the textdraw is A, you do the code and you call CancelSelectTextDraw function. That will call OnPlayerClickTextDraw callback with clickedid as INVALID_TEXT_DRAW. Then you check if the clickedid is equal to INVALID_TEXT_DRAW and that's when a player presses ESC with the textdraws. So you hide all the per-player textdraws you want.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)