Pausing feature.
#6

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.
Reply


Messages In This Thread
Pausing feature. - by OldDirtyBastard - 16.10.2010, 18:20
Re: Pausing feature. - by dillo1000 - 16.10.2010, 18:44
Re: Pausing feature. - by Scenario - 16.10.2010, 18:50
Re: Pausing feature. - by MadeMan - 16.10.2010, 18:54
Re: Pausing feature. - by Austin - 16.10.2010, 18:54
Re: Pausing feature. - by cmg4life - 16.10.2010, 18:55
Re: Pausing feature. - by Austin - 16.10.2010, 19:03
Re: Pausing feature. - by Finn - 16.10.2010, 19:15
Re: Pausing feature. - by cmg4life - 16.10.2010, 19:19
Re: Pausing feature. - by OldDirtyBastard - 16.10.2010, 19:29

Forum Jump:


Users browsing this thread: 1 Guest(s)