Garry's Mod Wiki

GetTimeoutInfo

GetTimeoutInfo

  boolean, number GetTimeoutInfo()

Description

Returns if the client is timing out, and time since last ping from the server. Similar to the server side Player:IsTimingOut.

Returns

1 boolean
Is timing out?
2 number
Get time since last pinged received.

Example

Output:
false 0.011438442269421

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 2
Generate Html 4
SaveChanges (1) 5
Render Body 0
Render Sidebar 7