disablePedPainAudio
DISABLE_PED_PAIN_AUDIO0xA9A41C1E940FB0E8The GTA V native DISABLE_PED_PAIN_AUDIO of the AUDIO namespace, as LS:MP client scripts call it: the global function disablePedPainAudio, in JavaScript and in Lua.
disablePedPainAudio(ped: Ped, toggle: boolean): voiddisablePedPainAudio(ped: Ped, toggle: boolean)Usage
JavaScript
disablePedPainAudio(ped, toggle);Lua
disablePedPainAudio(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Audio AUDIO
- In the game
void DISABLE_PED_PAIN_AUDIO(Ped ped, BOOL toggle)- Hash
0xA9A41C1E940FB0E8