Native referenceRedMclient

_GET_TEXT_SUBSTRING_3

0x806862E5D266CF38 HUD
FUNCTION SIGNATURE
Any _GET_TEXT_SUBSTRING_3(char* text, int begin, int length);
Property Value
Native Name _GET_TEXT_SUBSTRING_3
Hash 0x806862E5D266CF38
Return Type Any
Build 1207
API Set client
Parameters text (char*), begin (int), length (int)

Description: Example: HUD::_0x806862E5D266CF38(&string1, 0, HUD::GET_LENGTH_OF_LITERAL_STRING(&string1) - HUD::GET_LENGTH_OF_LITERAL_STRING("_DUALWIELD"))

Usage

Lua (Direct):

local result = GetTextSubstring3(text, begin, length)

Lua (Hash):

local result = Citizen.InvokeNative(0x806862E5D266CF38, text, begin, length)
Back to HUD