AudioClient

isAmbientSpeechPlaying

IS_AMBIENT_SPEECH_PLAYING0x9072C8B49907BFAD

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Audio AUDIO
In the game
BOOL IS_AMBIENT_SPEECH_PLAYING(Ped ped)
Hash
0x9072C8B49907BFAD

Open in the interactive natives reference