alt.Player.local.isTalking

Get if the player is currently using their voice.

Syntax

readonly isTalking: boolean;

Real World Example

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 ""