Garry's Mod Wiki

Garry's Mod Wiki

  number os.clock()

Description

Returns the approximate cpu time the application ran. See also SysTime

This function has different precision on Linux (1/100).

Returns

1 number
runtime

Example

Prints the amount of time since Garry's Mod has been open to the console.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...