Jump to content

turn off sound


Gentlehero

Recommended Posts

1 hour ago, Gentlehero said:

how to disable the sound of reloading weapons by default someone help me?
local removedIDs = { 33, 4, 28, 21, 22, 23, 6, 7, 8, 29, 30, 17, 18, 26,
27, 52, 53, 5, 0, 1, 2, 12, 14, 15, 16, 11 }

setWorldSoundEnabled ( 5,  true)
for i, sound in pairs(removedIDs) do
	setWorldSoundEnabled(5, sound, false)
end

All gunsounds / reload sounds are disabled here except for M4 / AK, just remove the other ids if u want, im not sure what id the reload sound there is but yeah you'll find out if you try and edit it yourself.

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...