HUDClient

endTextCommandThefeedPostMessagetextTu

END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_TU0x1E6611149DB3DB6B

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
txdNamestringstringstring
textureNamestringstringstring
flashBOOLbooleanboolean
iconTypeintnumberinteger
senderstringstringstring
subjectstringstringstring
durationfloatnumbernumber

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.

NOTE: 'duration' is a multiplier, so 1.0 is normal, 2.0 is twice as long (very slow), and 0.5 is half as long.

Example, only occurrence in the scripts:

v_8 = endTextCommandThefeedPostMessagetextTu("CHAR_SOCIAL_CLUB", "CHAR_SOCIAL_CLUB", 0, 0, &v_9, "", a_5);

Reference

Namespace
HUD HUD
In the game
int END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_TU(const char* txdName, const char* textureName, BOOL flash, int iconType, const char* sender, const char* subject, float duration)
Hash
0x1E6611149DB3DB6B
Formerly
_SET_NOTIFICATION_MESSAGE_4

Open in the interactive natives reference