setAmbientVoiceName
SET_AMBIENT_VOICE_NAME0x6C8065A3B780185BThe GTA V native SET_AMBIENT_VOICE_NAME of the AUDIO namespace, as LS:MP client scripts call it: the global function setAmbientVoiceName, in JavaScript and in Lua.
setAmbientVoiceName(ped: Ped, name: string): voidsetAmbientVoiceName(ped: Ped, name: string)Usage
JavaScript
setAmbientVoiceName(ped, name);Lua
setAmbientVoiceName(ped, name)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
name | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Audio List
https://gtaforums.com/topic/795622-audio-for-mods/
All found occurrences in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/FTeAj4yZ
Reference
- Namespace
- Audio AUDIO
- In the game
void SET_AMBIENT_VOICE_NAME(Ped ped, const char* name)- Hash
0x6C8065A3B780185B