- Joined
- Oct 11, 2024
- Messages
- 175
- Reaction score
- 5,177
- Points
- 93
Remove unwanted background sounds in FiveM, including vehicle noises, horns, and ambient sounds. Perfect for servers without NPCs. Follow this simple guide to mute in-game background sounds via client.lua.
Detailed Guide: How to Turn Off In-Game Background Sounds in FiveM
Why Disable Background Sounds?
In some FiveM servers, especially roleplay or custom servers without NPCs, default GTA V sounds such as car horns, ambient street noises, and pickup truck sounds can be annoying. This guide provides a simple script to mute these background sounds.How to Disable Background Sounds in FiveM
Step 1: Copy the Code
Paste the following script into client.lua:
Code:
CreateThread(function()
StartAudioScene("CHARACTER_CHANGE_IN_SKY_SCENE");
SetAudioFlag("PoliceScannerDisabled",true);
end)
Step 2: Add the Code to Your Client Script
- Navigate to your FiveM server’s client-side resources.
- Open or create a client.lua file inside a suitable resource folder.
- Paste the above script into client.lua.
Step 3: Restart Your Server
Once you have saved the script, restart your FiveM server.- If you are using qb-core or ESX, ensure that the script is correctly added to your resource list.
Last edited by a moderator: