1
0
Fork 0
forked from Simnation/Main
Main/resources/[voice]/pma-voice/docs/client-setters/setCallChannel.md
2025-06-30 19:26:56 +02:00

483 B

setCallChannel | addPlayerToCall | SetCallChannel

Description

Sets the local players call channel.

Parameters

  • callChannel: the call channel to join
-- Joins call channel 1
exports['pma-voice']:setCallChannel(1)

-- This will remove them from the call channel
exports['pma-voice']:setCallChannel(0)

addPlayerToCall is provided as a 'easier to read' version of setCallChannel.

-- Joins call channel 1
exports['pma-voice']:addPlayerToCall(1)