{"hash":"0xD8402B858F4DDD88","ns":"HUD","name":"_GET_TEXT_SUBSTRING_2","slug":"_GET_TEXT_SUBSTRING_2","official":false,"named":true,"luaName":"GetTextSubstring_2","game":"rdr3","apiset":"client","returnType":"const char*","params":[{"name":"text","type":"const char*"},{"name":"length","type":"int"}],"summary":"Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string _GET_FILE* - _GET_FRAME*","descriptions":[{"source":"alloc8or","format":"text","body":"Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string\n_GET_FILE* - _GET_FRAME*"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/HUD/_GET_TEXT_SUBSTRING_2","markdownUrl":"https://natives.borderlinerp.com/natives/HUD/_GET_TEXT_SUBSTRING_2.md","snippets":{"lua":"local retval = GetTextSubstring_2(text, length)","luaInvoke":"local retval = Citizen.InvokeNative(0xD8402B858F4DDD88, text, length, Citizen.ResultAsString())","js":"const retval = GetTextSubstring_2(text, length);","jsInvoke":"const retval = Citizen.invokeNative('0xD8402B858F4DDD88', text, length, Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0xD8402B858F4DDD88, text, length);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}