Page cover

๐Ÿ’พX_HUD_IngameVoice

๐ŸŒŸ Overview

X_HUD_IngameVoiceUtils is designed to elevate the voice chat experience on your FiveM server. It provides a modern UI for voice controls, warnings for disconnected voice chat, and visual indicators for voice range settings. The system features a WebGL glass effect, making it visually appealing and highly customizable.


โœจ Features

  • Stylish Voice Mute Indicator: Modern glass effect with customizable positioning, animations, and styling.

  • Voice Warning System: Full-screen warning when voice chat is disconnected.

  • Voice Range Control: Visual indicators for voice range settings with marker support.

  • WebGL Glass Effect: Beautiful blur effect behind UI elements for a polished look.

  • Highly Configurable: Every aspect of the UI can be customized to match your serverโ€™s style.

  • Responsive Design: Automatically adjusts to different screen sizes for a consistent experience.

  • Multi-language Support: Easy to translate with pre-configured options.

  • Framework Integration: Works seamlessly with ESX, QB-Core, and standalone setups.


๐Ÿ› ๏ธ Installation

Step-by-Step Guide

  1. Download the Resource:

  2. Extract the Folder:

    • Extract the downloaded folder to your FiveM server's resources directory.

  3. Update server.cfg:

    • Add the following line to your server.cfg file to ensure the resource starts automatically:ensure X_HUD_IngameVoiceUtils

  4. Configure the Settings:

    • Edit configuration/config.lua to configure server-side settings.

    • Edit configuration/config.js to customize the UI appearance and behavior.

    • Edit configuration/translation.lua to add or modify language translations.

  5. Restart Your Server:

    • Restart your server to apply the changes and load the new resource.


๐Ÿ’ฌ Usage

Player Commands

  • Mute/Unmute Microphone: Use the configured key (default: M) to toggle mute/unmute.

  • Change Talk Range: Use the configured key (default: Z) to cycle through available talk ranges.

Server Exports

The resource provides the following server exports for additional control:

  • MutePlayer(playerId): Mute a specific player.

  • UnmutePlayer(playerId): Unmute a specific player.

  • ToggleMutePlayer(playerId): Toggle the mute state for a specific player.


โš™๏ธ Configuration

Server-side Configuration (config.lua)

UI Configuration (config.js)


๐ŸŒ Translations

The script supports multiple languages. You can add or modify translations in the configuration/translation.lua file.

Example Translation Entry


๐Ÿ”„ Requirements

  • FiveM Server: Ensure you have a running FiveM server.

  • pma-voice: This resource requires pma-voice for voice chat functionality.

Last updated