alt.Voice.muteInput

Used to check if the local client has voice muted.

If you want to mute another player use player.nonSpatialVolume to change their volume.

Returns a boolean (true / false)

Declaration

alt.Voice.muteInput: boolean

Usage

const result = alt.Voice.muteInput;

Real World Example

const result = alt.Voice.muteInput;
console.log(`Voice Input is muted? ${result}`);

These examples assume you have imported alt from alt-client.

results matching ""

    No results matching ""