{"name":"BIS_fnc_getNetMode","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns the current net mode as a string.","syntaxes":[{"syntax":"call BIS_fnc_getNetMode","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"String","types":["String"],"description":"can be one of: - \"DedicatedServer\" - \"Server\" - \"HeadlessClient\" - \"Client\" - \"SinglePlayer\"","text":"String - can be one of:\n- \"DedicatedServer\"\n- \"Server\"\n- \"HeadlessClient\"\n- \"Client\"\n- \"SinglePlayer\""}}],"examples":[{"text":"```sqf\nprivate _netMode = call BIS_fnc_getNetMode;\n```","code":["private _netMode = call BIS_fnc_getNetMode;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Multiplayer","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}