Garry's Mod Wiki

Revision Difference

permissions.EnableVoiceChat#546135

<function name="EnableVoiceChat" parent="permissions" type="libraryfunc">⤶ <description>⤶ Broadcasts player's microphone as if he pressed speak button by himself. The player will be prompted with a confirmation window. This is what used in TTT traitor voice channel.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="enable" type="boolean">Enable or disable voice activity. `true` will run `+voicerecord` command, anything else `-voicerecord`.</arg>⤶ </args>⤶ </function>