How do I detect when a player is paused?
#11

Quote:
Originally Posted by Y_Less
View Post
I have to say, I've only just come up with that and as you say - accurate detection can be hard, the simplest solution is often the best.

Edit: Just be careful with players already viewing a dialog.
I've tested it on live servers and the best way is with OnPlayerUpdate + a timer to check.
Just remember when it doesn't get called naturally, I believe most the times are in class selection, while the player is dead and while they are spectating which can all be easily checked.
Reply


Messages In This Thread
How do I detect when a player is paused? - by 2KY - 01.11.2012, 16:08
Re: How do I detect when a player is paused? - by newbienoob - 01.11.2012, 16:09
Re: How do I detect when a player is paused? - by 2KY - 01.11.2012, 16:13
Re: How do I detect when a player is paused? - by newbienoob - 01.11.2012, 16:17
Re: How do I detect when a player is paused? - by 2KY - 01.11.2012, 16:20
Re: How do I detect when a player is paused? - by Jarnu - 01.11.2012, 16:21
Re: How do I detect when a player is paused? - by jamesmercer1947 - 01.11.2012, 16:27
Re: How do I detect when a player is paused? - by ryansheilds - 01.11.2012, 16:37
Re: How do I detect when a player is paused? - by 2KY - 01.11.2012, 19:49
Re: How do I detect when a player is paused? - by [FAT]Klabauter[LST] - 03.11.2012, 02:57
Re: How do I detect when a player is paused? - by cessil - 03.11.2012, 05:53

Forum Jump:


Users browsing this thread: 1 Guest(s)