Garry's Mod Wiki

engine.IsPlayingDemo

boolean engine.IsPlayingDemo()

Description

Returns true if we're currently playing a demo.

You will notice that there's no server-side version of this. That's because there is no server when playing a demo. Demos are both recorded and played back purely clientside.

Returns

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

Page Links


Special Pages


Wikis

?

Render Time: 60ms

DB GetPage 5
Generate Html 2
SaveChanges (1) 27
Render Body 0
Render Sidebar 19