16.10.2010, 19:03
Quote:
Hint: OnPlayerUpdate returns 0 if the player is in Escape/ Alt+Tab (minimized game) mode.
You can work something based on that. Maybe setting a variable on onplayerupdate... and a timer sets it to normal after it checks it's value. Or using unix time, if more then 2 seconds passed and the unix isn't updated then it's paused. |