Native referenceRedM

_GET_TEXT_SUBSTRING_2

0xD8402B858F4DDD88 HUD
FUNCTION SIGNATURE
const char* _GET_TEXT_SUBSTRING_2(`text` (const char*), `length` (int));

Description: Similar to 0x9D7E12EC6A1EE4E5(GET_TEXT_SUBSTRING) but starts at the beginning of the string

Property Value
Native Name _GET_TEXT_SUBSTRING_2
Hash 0xD8402B858F4DDD88
Return Type const char*
Build 1207
Parameters text (const char*), length (int)

Parameters

  • text (const char*)
  • length (int)

Usage

Lua (Direct):

local result = GetTextSubstring2(text, length)

Lua (Hash):

local result = Citizen.InvokeNative(0xD8402B858F4DDD88, text, length)

Back to HUD