Garry's Mod Wiki

engine.GetDemoPlaybackTotalTicks

  number engine.GetDemoPlaybackTotalTicks()

Description

Returns total amount of ticks of currently loaded demo.

If not playing a demo, returns 0 or the value of last played demo.

Returns

1 number
Total amount of ticks of currently loaded demo.