Garry's Mod Wiki

Revision Difference

GM:Tick#564728

<function name="Tick" parent="GM" type="hook"> <description>Called every server tick. Serverside, this is similar to <page>GM:Think</page>. ⤶ The default tickrate is `66.6666` (16 millisecond intervals), but can be changed via the `-tickrate` command line option. ⤶ See <page>engine.TickInterval</page> for a function to retrieve this data at runtime.⤶ <note>This hook **WILL NOT** run if the server is empty, unless you set the <page>ConVar</page> `sv_hibernate_think` to 1</note></description> <realm>Shared</realm> </function>