Little problem with detecting if a player is paused
#2

That's not how it works. OnPlayerUpdate just isn't called at all, when a player is alt-tabbed. The only way you can detect if a player is alt-tabbed is to see if OnPlayerUpdate is NOT being called (for example, you could use a timer to get the tick count of the server, and an older version, if the older version isn't somewhat equal to what the check is, then they're alt-tabbed).
Reply


Messages In This Thread
Little problem with detecting if a player is paused - by chaosnz - 05.06.2010, 07:00
Re: Little problem with detecting if a player is paused - by Calgon - 05.06.2010, 07:03
Re: Little problem with detecting if a player is paused - by cmg4life - 16.06.2010, 09:00
Re: Little problem with detecting if a player is paused - by ev0lution - 16.06.2010, 09:06

Forum Jump:


Users browsing this thread: 1 Guest(s)