HUDClient

endTextCommandThefeedPostMessagetext

END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT0x1CCD9A37359072CF

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

SignatureJavaScript
endTextCommandThefeedPostMessagetext(
  txdName: string,
  textureName: string,
  flash: boolean,
  iconType: number,
  sender: string,
  subject: string
): number
SignatureLua
endTextCommandThefeedPostMessagetext(
  txdName: string,
  textureName: string,
  flash: boolean,
  iconType: integer,
  sender: string,
  subject: string
): integer

Usage

JavaScript
const result = endTextCommandThefeedPostMessagetext(
  txdName, textureName, flash, iconType, sender, subject
);
Lua
local result = endTextCommandThefeedPostMessagetext(
    txdName, textureName, flash, iconType, sender, subject
)

Parameters

ParameterTypeJavaScriptLua
txdNamestringstringstring
textureNamestringstringstring
flashBOOLbooleanboolean
iconTypeintnumberinteger
senderstringstringstring
subjectstringstringstring

Returns

int JavaScript number, Lua integer

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This function can show pictures of every texture that can be requested by requestStreamedTextureDict.

List of picNames: https://pastebin.com/XdpJVbHz

flash is a bool for fading in.
iconTypes:
1 : Chat Box
2 : Email
3 : Add Friend Request
4 : Nothing
5 : Nothing
6 : Nothing
7 : Right Jumping Arrow
8 : RP Icon
9 : $ Icon

"sender" is the very top header. This can be any old string.
"subject" is the header under the sender.

Reference

Namespace
HUD HUD
In the game
int END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT(const char* txdName, const char* textureName, BOOL flash, int iconType, const char* sender, const char* subject)
Hash
0x1CCD9A37359072CF
Formerly
_SET_NOTIFICATION_MESSAGE

Open in the interactive natives reference