Garry's Mod Wiki

engine.GetDemoPlaybackTick

  number engine.GetDemoPlaybackTick()

Description

Current tick of currently loaded demo.

If not playing a demo, it will return amount of ticks since last demo playback.

Returns

1 number
The amount of ticks of currently loaded demo.