RedM Natives

SET_AMBIENT_VOICE_NAME

Hash0x6C8065A3B780185B
Runtime nameSetAmbientVoiceName
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x6C8065A3B780185B

Signature

void SET_AMBIENT_VOICE_NAME(Ped ped, const char* name);

Parameters

NameTypeDescription
pedPed—
nameconst char*—

Returns void

Usage

Lua
SetAmbientVoiceName(ped, name)

-- always works, by hash
Citizen.InvokeNative(0x6C8065A3B780185B, ped, name)
JavaScript and C#
JavaScript
SetAmbientVoiceName(ped, name);

// by hash
Citizen.invokeNative('0x6C8065A3B780185B', ped, name);
C#
Function.Call((Hash)0x6C8065A3B780185B, ped, name);

Sources

alloc8or RDR3 NativeDB

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