Garry's Mod Wiki

system.UpTime

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.

Special Pages


Wikis

?

Render Time: 49ms

DB GetPage 32
Generate Html 1
SaveChanges (1) 7
Render Body 0
Render Sidebar 7