HUDClient

endTextCommandDisplayHelp

END_TEXT_COMMAND_DISPLAY_HELP0x238FFE5C7B0498A6

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

SignatureJavaScript
endTextCommandDisplayHelp(
  p0: number,
  loop: boolean,
  beep: boolean,
  shape: number
): void
SignatureLua
endTextCommandDisplayHelp(
  p0: integer,
  loop: boolean,
  beep: boolean,
  shape: integer
)

Usage

JavaScript
endTextCommandDisplayHelp(p0, loop, beep, shape);
Lua
endTextCommandDisplayHelp(p0, loop, beep, shape)

Parameters

ParameterTypeJavaScriptLua
p0intnumberinteger
loopBOOLbooleanboolean
beepBOOLbooleanboolean
shapeintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

shape goes from -1 to 50 (may be more).
p0 is always 0.

Example:

void FloatingHelpText(const char* text)
{
    beginTextCommandDisplayHelp("STRING");
  addTextComponentSubstringPlayerName(text);
   endTextCommandDisplayHelp (0, 0, 1, -1);
}

more inputs/icons:
- https://pastebin.com/nqNYWMSB

Reference

Namespace
HUD HUD
In the game
void END_TEXT_COMMAND_DISPLAY_HELP(int p0, BOOL loop, BOOL beep, int shape)
Hash
0x238FFE5C7B0498A6
Formerly
_DISPLAY_HELP_TEXT_FROM_STRING_LABEL

Open in the interactive natives reference