Garry's Mod Wiki

system.UpTime

number system.UpTime()

Description

Returns the amount of seconds since the Steam user last moved their mouse.

This is a direct binding to ISteamUtils->GetSecondsSinceComputerActive, and is most likely related to Steam's automatic "Away" online status.

This function does not work on Dedicated Servers and will instead return no value.

Returns

1 number
The amount of seconds since the Steam user last moved their mouse.

Page Links


Special Pages


Wikis

?

Render Time: 119ms

DB GetPage 8
Generate Html 1
SaveChanges (1) 98
Render Body 0
Render Sidebar 8