Jump to content

how to close scream sound


Recommended Posts

I'm not entirely sure but try this:

setPedVoice(thePed, "PED_TYPE_DISABLED")

As voices are embedded into GTA files, I wouldn't have thought you could "remove" or turn them off without modifying the files, but changing it to something silent which I guess ^ that does should work. If not, you could have a look through all the other voices that are available to use. https://wiki.multitheftauto.com/wiki/Ped_voices

Sorry if I couldn't help, I've not worked on ped voices before. Goodluck

Link to comment
  • MTA Anti-Cheat Team

You can disable it with the function Ab-47 mentioned. 

An example to disable player's own voice:

addEventHandler("onClientResourceStart", resourceRoot,
    function()
        setPedVoice(localPlayer, "PED_TYPE_DISABLED", "")
    end
)

 

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