engine.GetDemoPlaybackTotalTicks

From Garry's Mod
Jump to: navigation, search
 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

number

Total amount of ticks of currently loaded demo.
Personal tools
Navigation