The Lab
HUD native

GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME

returns const char*3 paramsbuild 1207

Returns length characters of text starting at position, used to extract the speaker part of an audio conversation file name.

Signature

C
const char* GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME(const char* text, int position, int length); // 0x9D7E12EC6A1EE4E5 b1207

Parameters

#NameType
1textconst char*
2positionint
3lengthint

Facts

Facts about GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME
Name
GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME
Hash
0x9D7E12EC6A1EE4E5
Namespace
Returns
const char*
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x9D7E12EC6A1EE4E5, -- GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME
  "text", -- const char* text
  0, -- int position
  0, -- int length
  Citizen.ResultAsString()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x9D7E12EC6A1EE4E5", // GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME
  "text", // const char* text
  0, // int position
  0, // int length
  Citizen.resultAsString()
);
console.log(result)
C#
string result = Function.Call<string>((Hash)0x9D7E12EC6A1EE4E5, // GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME
  "text", // const char* text
  0, // int position
  0 // int length
);
All HUD natives

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