GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME
Returns length characters of text starting at position, used to extract the speaker part of an audio conversation file name.
Signature
const char* GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME(const char* text, int position, int length); // 0x9D7E12EC6A1EE4E5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | text | const char* |
| 2 | position | int |
| 3 | length | int |
Facts
| 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.
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)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)string result = Function.Call<string>((Hash)0x9D7E12EC6A1EE4E5, // GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME
"text", // const char* text
0, // int position
0 // int length
);Related HUD natives
- GET_FILENAME_FOR_AUDIO_CONVERSATION
- GET_HUD_SCREEN_POSITION_FROM_WORLD_POSITION
- GET_STRING_FROM_HASH_KEY
- _GET_COLOR_FROM_NAME
- GET_LENGTH_OF_LITERAL_STRING
- GET_LENGTH_OF_LITERAL_STRING_IN_BYTES
- GET_NAMED_RENDERTARGET_RENDER_ID
- _GET_HUD_VISIBILITY_SLOT_STATE
- _GET_LABEL_TEXT_2
- _GET_TEXT_SUBSTRING_2
- _GET_TEXT_SUBSTRING_3
- _HUD_GET_INVENTORY_WHEEL_CURRENTLY_HIGHLIGHTED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.