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: 60ms

DB GetPage 42
Generate Html 3
SaveChanges (1) 7
Render Body 0
Render Sidebar 6