beginTextCommandThefeedPost
BEGIN_TEXT_COMMAND_THEFEED_POST0x202709F4C58A0424The 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.
beginTextCommandThefeedPost(text: string): voidbeginTextCommandThefeedPost(text: string)Usage
JavaScript
beginTextCommandThefeedPost(text);Lua
beginTextCommandThefeedPost(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.
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