getFilenameForAudioConversation
GET_FILENAME_FOR_AUDIO_CONVERSATION0x7B5280EBA9840C72The GTA V native GET_FILENAME_FOR_AUDIO_CONVERSATION of the HUD namespace, as LS:MP client scripts call it: the global function getFilenameForAudioConversation, in JavaScript and in Lua.
getFilenameForAudioConversation(labelName: string): stringgetFilenameForAudioConversation(labelName: string): stringUsage
JavaScript
const text = getFilenameForAudioConversation(labelName);Lua
local text = getFilenameForAudioConversation(labelName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
labelName | string | string | string |
Returns
string JavaScript string, Lua stringNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Gets a localized string literal from a label name. Can be used for output of e.g. getLiveryName. To check if a GXT label can be localized with this, doesTextLabelExist can be used.
Reference
- Namespace
- HUD HUD
- In the game
const char* GET_FILENAME_FOR_AUDIO_CONVERSATION(const char* labelName)- Hash
0x7B5280EBA9840C72- Formerly
_GET_LABEL_TEXT