29.04.2016, 17:36
OnPlayerUpdate won't get called when the player is paused (either tabbed / paused). There are also includes released which helps to know whether a player is paused or not. Try searching for - "OnPlayerPause".
EDIT : I'm confused whether you're asking to detect if player is pressing TAB button or in case if player's pausing the game. Be more descriptive.
EDIT : I'm confused whether you're asking to detect if player is pressing TAB button or in case if player's pausing the game. Be more descriptive.