---
name: "getPlayerChannel"
type: command
status: ok
groups: ["Radio and Chat"]
arma3_since: "1.42"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getPlayerChannel
revid: 376827
updated: 2025-11-23T01:44:27Z
---

# getPlayerChannel

*Command · Radio and Chat · Arma 3 v1.42*

Locality: arguments **global**

## Description

Returns channel number for given player, **provided that player is SPEAKING**, otherwise -1. Having mic on is not enough, player has to make a sound. There are several limitations to this command:
- It does not work on dedicated server, the return is always -1, only client can detect other client talking.
- Prior to Arma 3 v2.01.146856 did not detect when someone talked on direct chat at all anywhere.
- The client on which command is executed has to able to receive transmission before the transmission channel can be detected. For example if a player is not in the same group as a speaker and the speaker speaks on Group Channel, the player cannot hear the speaker and therefore cannot detect what channel the speaker is on.
In short, this command mimics the speaking icon from the UI. Correspondence between channel and number:

| channel ID number correspondence |  |  |  |  |  |  |  |  |  |  |  |  |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N/A | Global | Side | Command | Group | Vehicle | Direct | Custom1 | .. | Custom10 | Arma 3 v2.22 Custom11 | .. | Custom50 |
| -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 15 | 26 | 65 |  |  |

## Syntax

```sqf
getPlayerChannel player
```

**Parameters:**

- `player`: [Object](../topics/Object.md)

**Returns:** [Number](../topics/Number.md) - channel ID

## Examples

### Example 1

```sqf
private _channelID = getPlayerChannel player;
```

## See also

[setCurrentChannel](../commands/setCurrentChannel.md) · [currentChannel](../commands/currentChannel.md) · [enableChannel](../commands/enableChannel.md) · [channelEnabled](../commands/channelEnabled.md) · [radioChannelCreate](../commands/radioChannelCreate.md) · [radioChannelInfo](../commands/radioChannelInfo.md)

<sub>Source: [BI Community Wiki — getPlayerChannel](https://community.bistudio.com/wiki/getPlayerChannel) (revision 376827).</sub>
