Garry's Mod Wiki

permissions.EnableVoiceChat

permissions.EnableVoiceChat

  permissions.EnableVoiceChat( boolean enable )

Description

Activates player's microphone as if he pressed the speak button himself. The player will be prompted with a confirmation window which grants permission temporarily/permanently(depending on checkbox state) for the connected server (revokable). This is used for TTT's traitor voice channel.

Arguments

1 boolean enable
Enable or disable voice activity. true will run +voicerecord command, anything else -voicerecord.

Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 3
Generate Html 1
SaveChanges (1) 19
Render Body 0
Render Sidebar 6