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

It's simple - OnPlayerUpdate callback don't get called when the player is paused. So you could calculate whether player is AFK or not by running a timer and checking if OnPlayerUpdate was called or not at that interval and declare whether the player was AFK or not.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)