Is that possible to detect a player pressing ESC button ? - 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: Is that possible to detect a player pressing ESC button ? (
/showthread.php?tid=621328)
Is that possible to detect a player pressing ESC button ? -
NeXoR - 09.11.2016
Hey, is that possible to detect a player pressing the ESC button ? or any other button which is not defined under GetPlayerKeys ...
Using a plugin or so ?
Re: Is that possible to detect a player pressing ESC button ? -
GoldenLion - 09.11.2016
I don't think so, but you can detect if the player is AFK. Pretty much the same thing.
Re: Is that possible to detect a player pressing ESC button ? - Jelly23 - 09.11.2016
Quote:
Originally Posted by NeXoR
Hey, is that possible to detect a player pressing the ESC button ? or any other button which is not defined under GetPlayerKeys ...
Using a plugin or so ?
|
OnPlayerUpdate is not called when you are AFK, there you go.