system.AppTime

From Garry's Mod
Jump to: navigation, search
 system.AppTime( )

Description

Returns the total uptime of the current application as reported by Steam.

This will return a similar value to SysTime.

NOTE

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

Returns

number

Seconds of game uptime as an integer.
Personal tools
Navigation