{"name":"BIS_fnc_getNetMode","title":"BIS fnc getNetMode","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_getNetMode","revid":327037,"updated":"2022-07-12T21:44:46Z","groups":["Multiplayer"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Returns the current net mode as a string.","syntaxes":[{"syntax":"call BIS_fnc_getNetMode","params":[],"returns":{"type":"String","type_expr":"String","description":"can be one of:\n- \"DedicatedServer\" - \"Server\" - \"HeadlessClient\" - \"Client\" - \"SinglePlayer\"","text":"String - can be one of:\n\n- \"DedicatedServer\"\n- \"Server\"\n- \"HeadlessClient\"\n- \"Client\"\n- \"SinglePlayer\""}}],"examples":[{"code":["private _netMode = call BIS_fnc_getNetMode;"]}]}