Garry's Mod Wiki

Garry's Mod Wiki

  number, number engine.ServerFrameTime()

Description

Returns an estimate of the server's performance. Equivalent to calling FrameTime from the server, according to source code.

Returns

1 number
Frame time.
2 number
Server framerate standard deviation.

Example

Get the servers tickrate. Can be used to indicate lag.

print( "Server Tick: " .. ( 1 / engine.ServerFrameTime() ) )
Output:
Server Tick: 66.666668156783

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...