Ambient Sounds not working

So a lot of people in this forum asked how to disable the ambient sounds. On my server there aren’t any ambient sounds, just the wind howling…

Does anyone know how to enable ambient sounds in the distance such as a construction site or horns in the distance?

I would appreciate any help

1 Like

im not to sure but i think that would be something to do with declaring ambient zones and requesting ambient audio banks

1 Like

Yes, do you know how to request the audio banks? :smiley: Thanks for your help

1 Like

Thats a list of ambient sounds and the fivem documentation should tell you how to use and declare it

1 Like

I’m new to scripting. I want to make, that these sounds play the whole time the player is on the server, outisde. Like horns in the far, but I don’t know how.

Do I have to make a script, where I have to specify every single sound, and play it every 5 minutes or so?

1 Like

its weird for GTA to not have ambient sounds natively playing in general as its game logic hmm im guessing you have checked your settings hearing sirens occasionally is like zones around the map natively unless your server already has a disable ambience script somewhere.

1 Like

Yes, but I hear it on other servers. Could the problem be, that there aren’t NPCs? Is there any way to play the sounds anyway?

Yes that could be an issue I’m not sure if it links to peds etc being around the map

the only thing i can say is you can try making certain objects and areas link to emitters so for example the radio object have a music radio emitter.

1 Like

emitters allow you to create sound with stuff like this

SetStaticEmitterEnabled(
	emitterName --[[ string ]], 
	toggle --[[ boolean ]]
)
1 Like