HUDClient

beginTextCommandThefeedPost

BEGIN_TEXT_COMMAND_THEFEED_POST0x202709F4C58A0424

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

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

Usage

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

Declares the entry type of a notification, for example "STRING".

int ShowNotification(char *text)
{
  beginTextCommandThefeedPost("STRING");
  addTextComponentSubstringPlayerName(text);
  return endTextCommandThefeedPostTicker(1, 1);
}

Reference

Namespace
HUD HUD
In the game
void BEGIN_TEXT_COMMAND_THEFEED_POST(const char* text)
Hash
0x202709F4C58A0424
Formerly
_SET_NOTIFICATION_TEXT_ENTRY

Open in the interactive natives reference