Завантаження...

Prevent disable player pain audio c++ 1.2

Завантажити

1 321

This script prevent to disable player pain audio.

How work this script
Till version 1.2
Accesses and modifies memory address of disable player pain audio with a pointer.
The pointer doesn't work when player in interior or player equip some weapon.
The script will not work because can't get memory address of disable player pain audio by those.
It is thought to be more likely to occur in missions where character switches are performed at close range.
But one time be outside in unarmed, script will get the memory address and work.
Once the address got, script keep working till character switch.
May be should work most of situation except in mission.

Since 2.0
Add search by memory pattern to the address get process.
That will be able get the memory address even when player in interior and player equip some weapon.


Requirements
ScriptHookV
ScriptHookVdotNet

C++ version is only need ScriptHookV.

Installation
Copy "PreventDisablePlayerPainAudio.dll" to "scripts" folder.

When c++ version, copy "PreventDisablePlayerPainAudio_c++.asi" to your GTAV root folder.

Source code
GitHub

Source code of c++ version included in upload .zip archive file at here.

Changelog
c++ 1.2
Improved compatibility in Enhanced version.
Support Enhanced version 1.0.814.9.

c++ 1.1
Made more compatible for Enhanced.

c++ 1.0
Script rewritten to .asi plugin with c++ .
Improved stability.
Compatible GTA5 Enhanced version 1.0.812.8.
Include source code files.

3.2
Added slight wait in script what be reduce fps drop.

3.1
Added native "disable pain audio" to code just in case.

3.0
Improved address get process.
It made more compatible.
Script should work in many GTA5 versions.

2.2
Added GTA5 version 1.0.3095.0 to compatible version.

2.1
Added wait in failed to get address.

2.0
Bug in address get process fixed.
Removed .ini file.

1.4
Improved script speed in slow mode.
Corrected .ini file.

1.3
Added slow mode and .ini file.

1.2
Added GTA5 version 1.0.3028.0 to compatible version.

1.1
Improved script act in address get, may be reduced GTA5 crash.
Show Full Description

Перше завантаження: 25 Вересня 2023
Останнє оновлення 11 Травня 2025
Last Downloaded: 2 днів назад

All Versions

 c++ 1.2 (current)

72 завантажень , 64,0 кБ
11 Травня 2025

 3.2

269 завантажень , 3,0 кБ
24 Квітня 2024

 3.1

69 завантажень , 3,0 кБ
22 Квітня 2024

 3.0

152 завантажень , 3,0 кБ
30 Січня 2024

 2.2

111 завантажень , 4,0 кБ
16 Грудня 2023

 2.1

105 завантажень , 4,0 кБ
25 Листопада 2023

 2.0

125 завантажень , 4,0 кБ
10 Жовтня 2023

 1.2

127 завантажень , 3,0 кБ
07 Жовтня 2023

 1.1

88 завантажень , 3,0 кБ
29 Вересня 2023

38 коментаря