Jump to content

How to disable ambient wind sound


AfterAll14

Recommended Posts

You have to go inside an interior and then leave it to disable that sound which is already playing.

Quote

Note: This function does not affect sounds which are already playing, such as the wind sound that can only be stopped by entering an interior.

 

  • Confused 1
Link to comment

What I do in my server is I run set the camera interior to 1 then I disable the sounds then a start a  timer to set it it back after 2 seconds.

Camera.interior = 1
setAmbientSoundEnabled("general", false)
setAmbientSoundEnabled("gunfire", false)
setWorldSoundEnabled(0, 0, false)
setWorldSoundEnabled(0, 29, false)
setWorldSoundEnabled(0, 30, false)
Timer(function() Camera.interior = 0 end, 2000, 1)

This works as a workaround, I don't currently know a better working solution, if you find it please let me know :)

Edited by Tails
  • Thanks 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...