Garry's Mod Wiki

engine.GetDemoPlaybackTimeScale

  number engine.GetDemoPlaybackTimeScale()

Description

Returns time scale of demo playback.

If not during demo playback, returns 1.

Returns

1 number
The time scale of demo playback, value of demo_timescale console variable.