GUIDES
Guides & Tutorials

How to Set Up a FiveM Voice Chat System (pma-voice)

February 17, 2025 · 4 min read

Setting up a voice chat system in FiveM can significantly enhance the roleplay experience for your server. One of the most popular systems is pma-voice, which offers a reliable and customizable solution for in-game communication. In this guide, we will walk through the entire process of how to set up a FiveM voice chat system (pma-voice), ensuring that your server runs smoothly while providing players with a key component of immersive gameplay.

Prerequisites for Setting Up pma-voice

Before diving into the installation process, you need to ensure that you have the following prerequisites ready:

  • A running FiveM server: Ensure your server is operational and that you have access to its file system.
  • Basic knowledge of server management: Familiarity with modifying configurations and managing server resources will be beneficial.
  • Database access: You’ll need to connect pma-voice to a MySQL or MariaDB database to store voice chat data.

Step 1: Downloading pma-voice

To get started, you first need to download the pma-voice package:

  1. Visit the pma-voice GitHub repository to find the latest release.
  2. Clone or download the repository to your local machine. This will include all necessary files for the voice chat system.
  3. Extract the contents of the zipped file if you downloaded it.

Step 2: Installing pma-voice on Your Server

Once you’ve downloaded pma-voice, it’s time to install it on your server:

  1. Upload Files: Copy the entire pma-voice folder into your server’s resources directory, typically located at /resources/.
  2. Create the Resource Manifest: Ensure you have a file named fxmanifest.lua in the pma-voice folder. This file should define the resource. Here's a sample of what it may look like:
    fx_version 'cerulean'
    game 'gta5'
    
    client_script 'client/main.lua'
    server_script 'server/main.lua'
    
  3. Database Configuration: Open your database management tool (like phpMyAdmin) and create a new database named pma_voice. Import the SQL file provided with pma-voice to create necessary tables for voice data.

Step 3: Configuring server.cfg

To enable pma-voice, modify your server.cfg file located in the server root directory:

  1. Open server.cfg with a text editor.
  2. Add the following line at the end of the file:
    start pma-voice
    
  3. If you're using an ESX or QBCore framework, ensure that you also have any required dependencies set up within your server’s configuration.

Step 4: Client Configuration

Proper client settings are crucial for voice chat to function correctly:

  1. Navigate to the client folder within the pma-voice directory.
  2. Open config.lua and customize the settings according to your server's needs, such as:
    • Voice range (how far players can communicate)
    • Permissions for voice chat usage
  3. Save your changes after configuration.

Step 5: Troubleshooting Common Issues

After setup, you might encounter some issues. Here’s a quick checklist for troubleshooting:

  • No Sound: Ensure that your microphone permissions are enabled in both FiveM and your operating system settings. Check the config.lua for appropriate settings.
  • Connection Issues: Confirm that your database is correctly configured and that the server can connect to it.
  • Resource Not Starting: If pma-voice isn’t starting, ensure that its folder structure and fxmanifest.lua are correctly set up.

Enhancing Your Voice Chat Experience

To make the most out of pma-voice, consider integrating it with other features and scripts:

  • Pair it with ESX or QBCore functionalities for job-related voice channels.
  • Utilize UI designs that include visual indicators for voice communication.
  • Explore more scripts from our Fivemania scripts category to find compatible add-ons that enhance voice chat.

Frequently Asked Questions

What is pma-voice?

Pma-voice is a voice communication system created for FiveM servers that allows players to communicate in-game using their microphones.

Can I use pma-voice with ESX or QBCore?

Yes, pma-voice is compatible with both ESX and QBCore frameworks, allowing for seamless integration in roleplay situations.

Is a database required for pma-voice?

Yes, a MySQL or MariaDB database is required to store player voice chat data and manage communication.

How can I adjust the voice distance?

You can modify the voice distance by editing the config.lua file within the client folder of the pma-voice resource.

Where can I find more FiveM assets?

Explore our full range of FiveM assets for scripts, MLOs, vehicles, and more to enrich your server's experience.

#fivem#voice chat#pma-voice#guides#how-to

Keep reading