Garry's Mod Wiki

Player:IsTimingOut

  boolean Player:IsTimingOut()

Description

Returns true if the player is timing out (i.e. is losing connection), false otherwise.

A player is considered timing out when more than 4 seconds has elapsed since a network packet was received from given player.

Returns

1 boolean
isTimingOut