HUDClient

beginTextCommandDisplayText

BEGIN_TEXT_COMMAND_DISPLAY_TEXT0x25FBB336DF1804CB

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

SignatureJavaScript
beginTextCommandDisplayText(text: string): void
SignatureLua
beginTextCommandDisplayText(text: string)

Usage

JavaScript
beginTextCommandDisplayText(text);
Lua
beginTextCommandDisplayText(text)

Parameters

ParameterTypeJavaScriptLua
textstringstringstring

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.

The following were found in the decompiled script files:
STRING, TWOSTRINGS, NUMBER, PERCENTAGE, FO_TWO_NUM, ESMINDOLLA, ESDOLLA, MTPHPER_XPNO, AHD_DIST, CMOD_STAT_0, CMOD_STAT_1, CMOD_STAT_2, CMOD_STAT_3, DFLT_MNU_OPT, F3A_TRAFDEST, ES_HELP_SOC3

ESDOLLA - cash
ESMINDOLLA - cash (negative)

Reference

Namespace
HUD HUD
In the game
void BEGIN_TEXT_COMMAND_DISPLAY_TEXT(const char* text)
Hash
0x25FBB336DF1804CB
Formerly
_SET_TEXT_ENTRY

Open in the interactive natives reference