03.02.2014, 15:24
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.