1
0
Fork 0
forked from Simnation/Main
Main/resources/[voice]/pma-voice/docs/client-setters/setVoiceProperty.md

17 lines
440 B
Markdown
Raw Normal View History

2025-06-30 19:26:56 +02:00
## setVoiceProperty | SetMumbleProperty | SetTokoProperty
## Description
Sets the voice property, currently the only use is to enable/disable radios and radio clicks.
## Parameters
* **property**: The property to set
* **value**: The value to set the property to
```lua
-- Enable the radio
exports['pma-voice']:setVoiceProperty('radioEnabled', true)
-- Disable radio clicks
exports['pma-voice']:setVoiceProperty('micClicks', false)
```