IsPlaybackPaused

From NPC for VCMP 0.4 Servers
Revision as of 17:34, 29 October 2024 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function was added in v1.8 beta and will not work on previous versions.


Description:
This function tells whether any playback is in paused state.


Parameters:

NoParams


Return Values:
true, if playback is paused and false otherwise(playback is not running or running but not paused)

Important Note:
This function returns false when playback is not running

Example

if(IsPlaybackRunning())
{
     if(IsPlaybackPaused())
          print("The playback is paused\n");
}

Related Functions

The following functions may be helpful as they relate to this function in one way or another.