FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: HUDAPI set: clientGame: gta5editImprove

GET_FILENAME_FOR_AUDIO_CONVERSATION

0x7B5280EBA9840C72
0x95C4B5AD
// GetFilenameForAudioConversation
char* GET_FILENAME_FOR_AUDIO_CONVERSATION(char* labelName);
Parameters:
  • labelName:

    The label name for which the audio conversation filename is requested.

Returns:

Returns the filename associated with the provided labelName.

Gets a localized string literal from a label name. This is used to get the filename of the audio conversation associated with the provided label name.

Old name: _GET_LABEL_TEXT

Examples:

  • Lua
  • JavaScript
  • C#
-- Get the vehicle in which the player is currently seated
local vehicle = GetVehiclePedIsIn(PlayerPedId(), false)

-- Get the model of the vehicle
local model = GetEntityModel(vehicle)

-- Get the display name of the vehicle model
local displayName = GetDisplayNameFromVehicleModel(model)

-- Get the label text for the audio conversation associated with the display name
local label = GetFilenameForAudioConversation(displayName)

-- Print the label text
print(label)
Privacy
•
Cookie Policy
•
Cookie Settings
FLASH_MINIMAP_DISPLAY_WITH_COLOR(int hudColorIndex)
FLASH_WANTED_DISPLAY(BOOL p0)
FORCE_CLOSE_REPORTUGC_MENU()
FORCE_CLOSE_TEXT_INPUT_BOX()
FORCE_SONAR_BLIPS_THIS_FRAME()
_GET_AI_BLIP(Ped ped)
_GET_AI_BLIP_2(Ped ped)
GET_BLIP_ALPHA(Blip blip)
GET_BLIP_COLOUR(Blip blip)
GET_BLIP_COORDS(Blip blip)
GET_BLIP_FROM_ENTITY(Entity entity)
GET_BLIP_HUD_COLOUR(Blip blip)
GET_BLIP_INFO_ID_COORD(Blip blip)
GET_BLIP_INFO_ID_DISPLAY(Blip blip)
GET_BLIP_INFO_ID_ENTITY_INDEX(Blip blip)
GET_BLIP_INFO_ID_PICKUP_INDEX(Blip blip)
GET_BLIP_INFO_ID_TYPE(Blip blip)
_GET_BLIP_ROTATION(Blip blip)
GET_BLIP_SPRITE(Blip blip)
_GET_CLOSEST_BLIP_OF_TYPE(int blipSprite)
GET_CURRENT_FRONTEND_MENU_VERSION()
GET_CURRENT_WEBPAGE_ID()
GET_CURRENT_WEBSITE_ID()
GET_DEFAULT_SCRIPT_RENDERTARGET_RENDER_ID()
GET_FILENAME_FOR_AUDIO_CONVERSATION(char* labelName)
GET_FIRST_BLIP_INFO_ID(int blipSprite)
GET_GLOBAL_ACTIONSCRIPT_FLAG(int flagIndex)
GET_HUD_COLOUR(int hudColorIndex, int* r, int* g, int* b, int* a)
GET_HUD_COMPONENT_POSITION(int id)
GET_HUD_SCREEN_POSITION_FROM_WORLD_POSITION(float worldX, float worldY, float worldZ, float* screenX, float* screenY)
GET_LENGTH_OF_LITERAL_STRING(char* string)
GET_LENGTH_OF_LITERAL_STRING_IN_BYTES(char* string)
GET_LENGTH_OF_STRING_WITH_THIS_TEXT_LABEL(char* gxt)
GET_MAIN_PLAYER_BLIP_ID()
GET_MENU_PED_BOOL_STAT(Hash p0, Any* p1)