Difference between revisions of "DCS func setPause"
From DCS World Wiki - Hoggitworld.com
(No difference)
|
Latest revision as of 00:48, 21 April 2018
(No difference)
|
Environment: | Server | ||
Function: | setPause | Added with: 2.5.0 | |
Member Of: | DCS | ||
Syntax: | DCS.setPause(bool action ) | ||
Description: | Pauses/resumes the simulation. Server-side only.
| ||
Return Value: | |||
Return Example: | |||
Examples: | This example pauses the server
DCS.setPause(true) This would resume the server DCS.setPause(false) | ||
Related Functions: | Control API: setPause, getPause, stopMission, exitProcess, isMultiplayer, isServer, getModelTime, getRealTime, getMissionOptions, getAvailableCoalitions, getAvailableSlots, getCurrentMission, getMissionName, getMissionFilename, getMissionResult, getUnitProperty, getUnitType, getUnitTypeAttribute, writeDebriefing, setUserCallbacks, reloadUserScripts, makeScreenShot | ||
Notes: |