beginTextCommandIsMessageDisplayed
BEGIN_TEXT_COMMAND_IS_MESSAGE_DISPLAYED0x853648FD1063A213The 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.
beginTextCommandIsMessageDisplayed(text: string): voidbeginTextCommandIsMessageDisplayed(text: string)Usage
JavaScript
beginTextCommandIsMessageDisplayed(text);Lua
beginTextCommandIsMessageDisplayed(text)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
text | string | string | string |
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