AudioClient

isAmbientSpeechDisabled

IS_AMBIENT_SPEECH_DISABLED0x932C2D096A2C3FFF

The GTA V native IS_AMBIENT_SPEECH_DISABLED of the AUDIO namespace, as LS:MP client scripts call it: the global function isAmbientSpeechDisabled, in JavaScript and in Lua.

SignatureJavaScript
isAmbientSpeechDisabled(ped: Ped): boolean
SignatureLua
isAmbientSpeechDisabled(ped: Ped): boolean

Usage

JavaScript
const result = isAmbientSpeechDisabled(ped);
Lua
local result = isAmbientSpeechDisabled(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Common in the scripts:

isAmbientSpeechDisabled(playerPedId());

Reference

Namespace
Audio AUDIO
In the game
BOOL IS_AMBIENT_SPEECH_DISABLED(Ped ped)
Hash
0x932C2D096A2C3FFF

Open in the interactive natives reference