AudioClient

disablePedPainAudio

DISABLE_PED_PAIN_AUDIO0xA9A41C1E940FB0E8

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

SignatureJavaScript
disablePedPainAudio(ped: Ped, toggle: boolean): void
SignatureLua
disablePedPainAudio(ped: Ped, toggle: boolean)

Usage

JavaScript
disablePedPainAudio(ped, toggle);
Lua
disablePedPainAudio(ped, toggle)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean

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

Open in the interactive natives reference