alt.Voice.activityInputEnabled
Used to check if the client is using Voice Activity
to speak over voice chat.
Returns a boolean
(true / false)
Declaration
alt.Voice.activityInputEnabled: boolean
Usage
const result = alt.Voice.activityInputEnabled;
Real World Example
const result = alt.Voice.activityInputEnabled;
console.log(`Voice activity is currently set to ${result}`);
These examples assume you have imported alt
from alt-client
.