alt.Player.local.isTalking

Get if the player is currently using their voice.

Syntax

readonly isTalking: boolean;

Example Usage

alt.everyTick(() => {
    if (alt.Player.local.isTalking) {
        alt.log('You are currently talking!');
    }
});

alt.Player.local can also be a player instance from server

results matching ""

    No results matching ""