Garry's Mod Wiki

GM:Tick

  GM:Tick()

Description

Called every game tick. engine.TickCount is guaranteed to be different between each call.

Server side, this is similar to GM:Think (See that page for details).

The default tickrate is 66.6666 (15 millisecond intervals). It can be changed via the -tickrate command line option.
See engine.TickInterval for a function to retrieve this data at runtime.

This hook WILL NOT run if the server is empty, unless you set the ConVar sv_hibernate_think to 1