RedM Natives

IS_AMBIENT_SPEECH_PLAYING

Hash0x9072C8B49907BFAD
Runtime nameIsAmbientSpeechPlaying
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9072C8B49907BFAD

Signature

BOOL IS_AMBIENT_SPEECH_PLAYING(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = IsAmbientSpeechPlaying(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x9072C8B49907BFAD, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsAmbientSpeechPlaying(ped);

// by hash
const retval = Citizen.invokeNative('0x9072C8B49907BFAD', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x9072C8B49907BFAD, ped);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.