16.10.2010, 18:55
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.
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.