Difference between revisions of "DCS func isServer"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCS_server_funcs |fName= isServer |vNum= 2.5.0 |par1= DCS |par2= |par3= |par4= |desc= Returns whether or not the game is running...")
 
(No difference)

Latest revision as of 22:24, 22 April 2018


Environment: Server
Function: isServer Added with: 2.5.0
Member Of: DCS
Syntax: boolean DCS.isServer( )
Description: Returns whether or not the game is running as a server or is in the single player mode.


Return Value: boolean
Return Example: true
Examples:
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: