How to forbid a player to press ESC?
#4

Quote:
Originally Posted by TwinkiDaBoss
Посмотреть сообщение
Preety much you cant detect the escape button.
https://sampwiki.blast.hk/wiki/Keys

But what you can do is, when the player is afk, OnPlayerUpdate wont be called. You can simply fool around with that and see what you can come up with.

Simply:
1. Check if the OnPlayerUpdate is being called
2. If its not called for more than 5-10 seconds, then they are most likely afk.
I know this function, update > 3 seconds then player being afk but its not good for my cheat checker
Reply


Messages In This Thread
How to forbid a player to press ESC? - by SetPlayerNameTag - 10.06.2016, 10:31
Re: How to forbid a player to press ESC? - by TwinkiDaBoss - 10.06.2016, 10:38
Re: How to forbid a player to press ESC? - by jlalt - 10.06.2016, 10:51
Re: How to forbid a player to press ESC? - by SetPlayerNameTag - 10.06.2016, 10:54

Forum Jump:


Users browsing this thread: 2 Guest(s)