Play time randomly goes up when player goes afk
#4

Quote:
Originally Posted by KyleSmith
Посмотреть сообщение
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.
Is that just afk, or tabbed out?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)