Skip to content
/SLASHPLAY

How to find laggy entities in GMod

Type think_limit 10 in the server console and a warning prints whenever an entity's think takes longer than 10 ms; 0 turns it off.

think_limit

Prints a warning when an entity's think takes longer than this many milliseconds; 0 is off.

think_limit <ms>

Examples

think_limit 10

Warn about thinks over 10 ms.

Arguments

msRequired
Threshold in milliseconds, 0 disables.

What it does

A simple way to catch slow entities or addons causing lag.

The game's own description: Maximum think time in milliseconds, warning is printed if this is exceeded.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to garrysmod/cfg/server.cfg. New to this? Start a GMod server first.

Your own
GMod server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.