juju.pelus Posted March 9, 2019 Share Posted March 9, 2019 After the player dies. How is the screaming sound turn off? Link to comment
Ab-47 Posted March 9, 2019 Share Posted March 9, 2019 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 Dutchman101 Posted March 10, 2019 MTA Anti-Cheat Team Share Posted March 10, 2019 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now