Skip to content

Add onPlayerVoiceStart event text capture feature #703

@mherra

Description

@mherra

Is your feature request related to a problem? Please describe.
Currently, the onPlayerVoiceStart event in MTA:SA only triggers when a player starts speaking via voice chat, but there is no way to capture what the player actually says. This limits features like voice commands, voice-to-text interactions, or moderation based on spoken content.

Describe the solution you'd like
I would like the onPlayerVoiceStart event to also provide the text of what the player says, similar to a voice-to-text conversion.
For example, if a player says:
"Hello everyone"
The event would return:
"Hello everyone"

This would allow scripts to process, display, or filter voice messages in real-time.

Describe alternatives you've considered

Currently, players’ voice content cannot be read via any existing event.

A possible workaround would be external voice recognition, but native support in MTA:SA would be more reliable and performant.

Additional context

This feature could be used for voice commands, automatic text display in chat, or moderation tools.

Security and privacy should be considered; players should be aware that voice-to-text is enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions