deleteVoiceChannel
Server
Destroys a voice channel. The players who were in it stop hearing each other through it.
bool deleteVoiceChannel(element channel)
Parameters
| Name | Type | Description |
|---|---|---|
| channel | element | The channel, from createVoiceChannel. |
Returns
true if it was destroyed, false if it could not be.
Example
local radio = createVoiceChannel(0, 0)
addCommandHandler("closeradio", function()
deleteVoiceChannel(radio)
end)