SA-MP Forums Archive
ESC On click playertext - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ESC On click playertext (/showthread.php?tid=546792)



ESC On click playertext - GuyYahood1 - 17.11.2014

Hello,

When I presses on ESC and SelectPlayerText is able (PlayerText), this is not hide the PlayerText.
How can I hide the PlayerTextDraw if player press ECS ?

thank you,
sorry on my bad English.


Re: ESC On click playertext - denNorske - 17.11.2014

OnPlayerUpdate is not called when the player is in the esc menu-

So basically, set up a variable and a timer, and when the timer exceeds an amount of time, you can hide the textdraw, because then you are sure the player is in the esc menu :P