The Lab
AUDIO native

SET_AMBIENT_VOICE_NAME

returns void2 paramsbuild 1207

Sets the ambient voice used by ped to name.

Signature

C
void SET_AMBIENT_VOICE_NAME(Ped ped, const char* name); // 0x6C8065A3B780185B b1207

Parameters

#NameType
1pedPed
2nameconst char*

Facts

Facts about SET_AMBIENT_VOICE_NAME
Name
SET_AMBIENT_VOICE_NAME
Hash
0x6C8065A3B780185B
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x6C8065A3B780185B, -- SET_AMBIENT_VOICE_NAME
  PlayerPedId(), -- Ped ped
  "text" -- const char* name
)
JavaScript
Citizen.invokeNative("0x6C8065A3B780185B", // SET_AMBIENT_VOICE_NAME
  PlayerPedId(), // Ped ped
  "text" // const char* name
);
C#
Function.Call((Hash)0x6C8065A3B780185B, // SET_AMBIENT_VOICE_NAME
  API.PlayerPedId(), // Ped ped
  "text" // const char* name
);
All AUDIO natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.