Garry's Mod Wiki

engine.ServerFrameTime

engine.ServerFrameTime

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

Example

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

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

Special Pages


Wikis

?

Render Time: 110ms

DB GetPage 27
Generate Html 3
SaveChanges (1) 71
Render Body 0
Render Sidebar 7