---
name: "BIS_fnc_commsMenuToggleAvailability"
type: function
status: ok
groups: ["Communication Menu"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_commsMenuToggleAvailability
revid: 283019
updated: 2021-06-16T22:11:47Z
---

# BIS_fnc_commsMenuToggleAvailability

*Function · Communication Menu · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Enables or disables certain sections of the global communications menu.

## Syntax

*syntax inferred from the function header*

```sqf
[index, mode] call BIS_fnc_commsMenuToggleAvailability
```

**Parameters:**

- `index` — 0: (Scalar) or list of indices (Array of Scalars) or section name (String)
  "som" - SecOps section
  "wf" - Warfare section
- `mode` — 1: (Scalar)
  0 - disable
  1 - enable

**Returns:** Success flag (Boolean)

## Function header

The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.

```sqf
/*
File: fn_commsMenuToggleAvailability.sqf

Description:
Enables or disables certain sections of the global communications menu.

Parameter(s):
_this select 0: index (Scalar) or list of indices (Array of Scalars) or section name (String)
    "som" - SecOps section
    "wf" - Warfare section
_this select 1: mode (Scalar)
    0 - disable
    1 - enable

Returns:
Success flag (Boolean)
*/
```

<sub>Source: [BI Community Wiki — BIS fnc commsMenuToggleAvailability](https://community.bistudio.com/wiki/BIS_fnc_commsMenuToggleAvailability) (revision 283019).</sub>
