MiscClientBlocked

displayOnscreenKeyboard

DISPLAY_ONSCREEN_KEYBOARD0x00DC833F2568DBF6

The GTA V native DISPLAY_ONSCREEN_KEYBOARD of the MISC namespace, as LS:MP client scripts call it: the global function displayOnscreenKeyboard, in JavaScript and in Lua.

SignatureJavaScript
displayOnscreenKeyboard(
  p0: number,
  windowTitle: string,
  p2: string,
  defaultText: string,
  defaultConcat1: string,
  defaultConcat2: string,
  defaultConcat3: string,
  maxInputLength: number
): void
SignatureLua
displayOnscreenKeyboard(
  p0: integer,
  windowTitle: string,
  p2: string,
  defaultText: string,
  defaultConcat1: string,
  defaultConcat2: string,
  defaultConcat3: string,
  maxInputLength: integer
)
✕
Blocked for scripts: Shared menus and input

LS:MP manages the shared frontend, text-entry dialog and input layout. Use the LS:MP page and input APIs for resource UI.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Misc MISC
In the game
void DISPLAY_ONSCREEN_KEYBOARD(int p0, const char* windowTitle, const char* p2, const char* defaultText, const char* defaultConcat1, const char* defaultConcat2, const char* defaultConcat3, int maxInputLength)
Hash
0x00DC833F2568DBF6

Open in the interactive natives reference