Scripts/resources/[voice]/pma-voice/docs/client-setters/setVoiceProperty.md

17 lines
440 B
Markdown
Raw Normal View History

2024-12-29 20:02:57 +00: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)
```