HUDClient

getFilenameForAudioConversation

GET_FILENAME_FOR_AUDIO_CONVERSATION0x7B5280EBA9840C72

The 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.

SignatureJavaScript
getFilenameForAudioConversation(labelName: string): string
SignatureLua
getFilenameForAudioConversation(labelName: string): string

Usage

JavaScript
const text = getFilenameForAudioConversation(labelName);
Lua
local text = getFilenameForAudioConversation(labelName)

Parameters

ParameterTypeJavaScriptLua
labelNamestringstringstring

Returns

string JavaScript string, Lua string

Notes

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

Open in the interactive natives reference