Warning: file_put_contents(/ff_6abe3c0131af6a95b964891b3f64a9e935ad574170afaba5.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
getPlayerChannel - OFPEC Scripting Command Reference | OFPEC The Editing Center

getPlayerChannel player

Operand types

player: Object

Type of returned value

Description

Returns channel number given player speaks on or -1 otherwise.

Correspondence between channel and number:

  • 0 - Global

  • 1 - Side

  • 2 - Command

  • 3 - Group

  • 4 - Vehicle

  • 5 - Direct

Used In

Arma3

Example

_channel = getPlayerChannel player;

Advertisement