HUDClient

beginTextCommandIsMessageDisplayed

BEGIN_TEXT_COMMAND_IS_MESSAGE_DISPLAYED0x853648FD1063A213

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

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

Usage

JavaScript
beginTextCommandIsMessageDisplayed(text);
Lua
beginTextCommandIsMessageDisplayed(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.

nothin doin.

BOOL Message(const char* text)
   {
     beginTextCommandIsMessageDisplayed("STRING");
      addTextComponentSubstringPlayerName(text);
       return endTextCommandIsMessageDisplayed();
   }

Reference

Namespace
HUD HUD
In the game
void BEGIN_TEXT_COMMAND_IS_MESSAGE_DISPLAYED(const char* text)
Hash
0x853648FD1063A213

Open in the interactive natives reference