isAmbientSpeechDisabled
IS_AMBIENT_SPEECH_DISABLED0x932C2D096A2C3FFFThe 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.
isAmbientSpeechDisabled(ped: Ped): booleanisAmbientSpeechDisabled(ped: Ped): booleanUsage
JavaScript
const result = isAmbientSpeechDisabled(ped);Lua
local result = isAmbientSpeechDisabled(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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