How to detect if player is in menu/tabbed ?
#4

Quote:
Originally Posted by Phil_Cutcliffe
Посмотреть сообщение
Ahhh I see. Any chance of an example?
Here's my AutoAFK detector which has been created as an include for my personal use a long time ago. However, I've just added it on GitHub now and you can use it in case if you want.

https://github.com/Lordzy/AutoAFK

You can use either the callbacks - OnPlayerPause and OnPlayerResume or IsPlayerPaused function which would return true if paused and false if not paused.

There might be better AFK detectors, I used this for my personal use before. It works well though.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)