_GET_TEXT_SUBSTRING_3
Returns length characters of text starting at position begin.
Signature
const char* _GET_TEXT_SUBSTRING_3(const char* text, int begin, int length); // 0x806862E5D266CF38 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | text | const char* |
| 2 | begin | int |
| 3 | length | int |
Facts
| Name | _GET_TEXT_SUBSTRING_3 |
|---|---|
| Hash | 0x806862E5D266CF38 |
| 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(0x806862E5D266CF38, -- _GET_TEXT_SUBSTRING_3
"text", -- const char* text
0, -- int begin
0, -- int length
Citizen.ResultAsString()
)
print(result)const result = Citizen.invokeNative("0x806862E5D266CF38", // _GET_TEXT_SUBSTRING_3
"text", // const char* text
0, // int begin
0, // int length
Citizen.resultAsString()
);
console.log(result)string result = Function.Call<string>((Hash)0x806862E5D266CF38, // _GET_TEXT_SUBSTRING_3
"text", // const char* text
0, // int begin
0 // int length
);Related HUD natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.