SA-MP Forums Archive
ESC System. - 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 System. (/showthread.php?tid=631232)



ESC System. - NoamDerbyproo - 25.03.2017

hello guyz.
is there any way to know if the player pressed ESC in game ?
i am a programmer of a derby server and i would like to know if there is ANY why to know immidiatly ! if player pressed ESC !..

same on AIR BREAK. if some1 used even on the lowest level of air break thats will notice the admins


Re: ESC System. - X337 - 25.03.2017

No, there's no way to detect if a player pressed ESC. But there's a way to detect if a player is pausing the game using OnPlayerUpdate callback and a timer.
And for airbreak, there's some good anticheats out there like Nex-AC which pretty accurate to detect an airbreaker.