Garry's Mod Wiki

engine.IsRecordingDemo

  boolean engine.IsRecordingDemo()

Description

Returns true if the game is currently recording a demo file (.dem) using gm_demo

Returns

1 boolean
Whether the game is currently recording a demo or not.