DCS func isServer

From DCS World Wiki - Hoggitworld.com
Revision as of 22:24, 22 April 2018 by Grimes (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Envrioment: 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
Related Functions: Control API: setPause, getPause, stopMission, exitProcess, isMultiplayer, isServer, getModelTime, getRealTime, getMissionOptions, getAvailableCoalitions, getAvailableSlots, getCurrentMission, getMissionName, getMissionFilename, getMissionResult, getUnitProperty, getUnitType, getUnitTypeAttribute, writeDebriefing, setUserCallbacks, makeScreenShot