_GET_TEXT_SUBSTRING_3
_GET_BOUNTY* - _GET_CHARACTER*
Hash
0x806862E5D266CF38Runtime name
GetTextSubstring_3NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207
Signature
const char* _GET_TEXT_SUBSTRING_3(const char* text, int begin, int length);Parameters
| Name | Type | Description |
|---|---|---|
text | const char* | — |
begin | int | — |
length | int | — |
Returns const char*
Description
_GET_BOUNTY* - _GET_CHARACTER*
Example: HUD::_0x806862E5D266CF38(&string1, 0, HUD::GET_LENGTH_OF_LITERAL_STRING(&string1) - HUD::GET_LENGTH_OF_LITERAL_STRING("_DUALWIELD"))
Usage
local retval = GetTextSubstring_3(text, begin, length)
-- always works, by hash
local retval = Citizen.InvokeNative(0x806862E5D266CF38, text, begin, length, Citizen.ResultAsString())JavaScript and C#
const retval = GetTextSubstring_3(text, begin, length);
// by hash
const retval = Citizen.invokeNative('0x806862E5D266CF38', text, begin, length, Citizen.returnResultAnyway(), Citizen.resultAsString());string retval = Function.Call<string>((Hash)0x806862E5D266CF38, text, begin, length);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.