Mute Player Pain Sounds 3.2

.Net


Description


Mute Player Pain Sounds

This script prevents the disabling of player pain audio.


How this script works
Till version 1.2
The script accesses and modifies the memory address responsible for disabling player pain audio using a pointer.
However, the pointer doesn't function correctly when the player is indoors or equipped with a weapon. In these situations, the script cannot retrieve the memory address and will not work. This issue is more likely to occur in missions involving close-range character switching.
Once the player is outdoors and unarmed, the script can obtain the memory address and begin working. After acquiring the address, the script continues to function until a character switch occurs. It's expected to work in most situations except during missions.
Since version 2.0
The script incorporates a memory pattern search for address retrieval. This enhancement enables it to obtain the memory address even when the player is indoors or carrying a weapon.

Requirements ScriptHookV ScriptHookVdotNet

Installation Copy "PreventDisablePlayerPainAudio.dll" to the "scripts" folder.
Changelog 3.2 Added a slight wait within the script to reduce FPS drops.
3.1 Included the native function "disable pain audio" in the code as a precaution.
3.0 Improved the address retrieval process, making it more compatible and functional across various GTA5 versions.
2.2 Added compatibility with GTA5 version 1.0.3095.0.
2.1 Implemented a wait function when the address retrieval fails.
2.0 Fixed a bug in the address retrieval process and removed the .ini file.
1.4 Enhanced script speed in slow mode and corrected the .ini file.
1.3 Introduced slow mode and an .ini file.
1.2 Added compatibility with GTA5 version 1.0.3028.0.
1.1 Improved script behavior during address retrieval, potentially reducing GTA5 crashes.
First Upload: November 11, 2024 Last Updated: November 11, 2024


0 Comments