DCS func isServer

From DCS World Wiki - Hoggitworld.com

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