17.02.2014, 09:08
Quote:
Don't increase the variable if they're AFK.
You can check if they're paused by setting a variable to 5 under OnPlayerUpdate and have the value decrease every 1 second. If the variable is ever three or below, they're AFK. That way you can stop increasing the time online variable. |