HUDClient

addTextComponentSubstringKeyboardDisplay

ADD_TEXT_COMPONENT_SUBSTRING_KEYBOARD_DISPLAY0x5F68520888E69014

The GTA V native ADD_TEXT_COMPONENT_SUBSTRING_KEYBOARD_DISPLAY of the HUD namespace, as LS:MP client scripts call it: the global function addTextComponentSubstringKeyboardDisplay, in JavaScript and in Lua.

SignatureJavaScript
addTextComponentSubstringKeyboardDisplay(string: string): void
SignatureLua
addTextComponentSubstringKeyboardDisplay(string: string)

Usage

JavaScript
addTextComponentSubstringKeyboardDisplay(string);
Lua
addTextComponentSubstringKeyboardDisplay(string)

Parameters

ParameterTypeJavaScriptLua
stringstringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void ADD_TEXT_COMPONENT_SUBSTRING_KEYBOARD_DISPLAY(const char* string)
Hash
0x5F68520888E69014
Formerly
_ADD_TEXT_COMPONENT_STRING3 _ADD_TEXT_COMPONENT_SCALEFORM

Open in the interactive natives reference